const nock = require('nock');

nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/search.json')
  .query({"query":"migratedusername"})
  .once().reply(200, {"users":[],"next_page":null,"previous_page":null,"count":0}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:28 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'Set-Cookie',
  '__cfduid=da54f817fa2efda27a9acae53474b342d1597873168; expires=Fri, 18-Sep-20 21:39:28 GMT; path=/; domain=.d3v-grouparoo.zendesk.com; HttpOnly; SameSite=Lax',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=10, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '699',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"0d9fec644c8d2302fdce202e8be00f94"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-6drl2',
  'X-Request-Id',
  '5c570704ec2c9654-SJC',
  'X-Runtime',
  '0.231961',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c570704ec2c9654-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42b70e00009654bab58200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Set-Cookie',
  '__cfruid=118d57ed22b65e505661e3d425adb9eb6213d848-1597873168; path=/; domain=.d3v-grouparoo.zendesk.com; HttpOnly; Secure; SameSite=None',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c570704ec2c9654-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/search.json')
  .query({"query":"migrateduser%40bleonard.com"})
  .once().reply(200, {"users":[],"next_page":null,"previous_page":null,"count":0}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:28 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=10, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '698',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"0d9fec644c8d2302fdce202e8be00f94"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-mgkzn',
  'X-Request-Id',
  '5c570706ed8c9654-SJC',
  'X-Runtime',
  '0.176631',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c570706ed8c9654-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42b84c00009654bab6c200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c570706ed8c9654-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/search.json')
  .query({"external_id":"testuser123"})
  .once().reply(200, {"users":[],"next_page":null,"previous_page":null,"count":0}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:28 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=10, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '697',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"0d9fec644c8d2302fdce202e8be00f94"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-8s2bh',
  'X-Request-Id',
  '5c5707085e699654-SJC',
  'X-Runtime',
  '0.187374',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c5707085e699654-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42b93600009654bab74200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c5707085e699654-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/search.json')
  .query({"external_id":"testuser456"})
  .once().reply(200, {"users":[],"next_page":null,"previous_page":null,"count":0}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:29 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=10, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '696',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"0d9fec644c8d2302fdce202e8be00f94"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-b42x6',
  'X-Request-Id',
  '5c570709ef579654-SJC',
  'X-Runtime',
  '0.218797',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c570709ef579654-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42ba2e00009654bab7d200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c570709ef579654-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/search.json')
  .query({"external_id":"testuser789"})
  .once().reply(200, {"users":[],"next_page":null,"previous_page":null,"count":0}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:29 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=10, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '695',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"0d9fec644c8d2302fdce202e8be00f94"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-8kvkt',
  'X-Request-Id',
  '5c57070b983d9654-SJC',
  'X-Runtime',
  '0.171781',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c57070b983d9654-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42bb4000009654bab82200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c57070b983d9654-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/search.json')
  .query({"external_id":"testuser123"})
  .once().reply(200, {"users":[],"next_page":null,"previous_page":null,"count":0}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:29 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=10, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '694',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"0d9fec644c8d2302fdce202e8be00f94"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-5f8dl',
  'X-Request-Id',
  '5c57070d09439654-SJC',
  'X-Runtime',
  '0.219032',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c57070d09439654-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42bc2500009654bab90200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c57070d09439654-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/search.json')
  .query({"external_id":"testuser123"})
  .once().reply(200, {"users":[],"next_page":null,"previous_page":null,"count":0}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:29 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'Set-Cookie',
  '__cfduid=d5b2481e42bfc89b097d22c66aa3d44911597873169; expires=Fri, 18-Sep-20 21:39:29 GMT; path=/; domain=.d3v-grouparoo.zendesk.com; HttpOnly; SameSite=Lax',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=10, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '693',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"0d9fec644c8d2302fdce202e8be00f94"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-rm7s7',
  'X-Request-Id',
  '5c57070f2d6c6dac-SJC',
  'X-Runtime',
  '0.153095',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c57070f2d6c6dac-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42bd7500006dac17304200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Set-Cookie',
  '__cfruid=d9d4f29a4976c231efa2cba9caf1c84d1d9f06c0-1597873169; path=/; domain=.d3v-grouparoo.zendesk.com; HttpOnly; Secure; SameSite=None',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c57070f2d6c6dac-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .post('/api/v2/users/create_or_update.json', {"user":{"verified":true,"email":"brian@bleonard.com","external_id":"testuser123","name":"Brian","tags":[]}})
  .once().reply(201, {"user":{"id":402152559751,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751.json","name":"Brian","email":"brian@bleonard.com","created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:30Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser123","tags":[],"alias":null,"active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:30 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Content-Length',
  '1018',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Location',
  'https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751.json',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '692',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"120dcc501da0525fcab3c8e487779ead"',
  'Cache-Control',
  'max-age=0, private, must-revalidate',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-bl5tq',
  'X-Request-Id',
  '5c5707107df56dac-SJC',
  'X-Runtime',
  '0.444326',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c5707107df56dac-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42be4c00006dac1730e200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c5707107df56dac-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/search.json')
  .query({"external_id":"testuser123"})
  .once().reply(200, {"users":[{"id":402152559751,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751.json","name":"Brian","email":"brian@bleonard.com","created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:30Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser123","tags":[],"alias":null,"active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}],"next_page":null,"previous_page":null,"count":1}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:30 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=10, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '691',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"a11d344803aac3d7a324719eca2514f0"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-nvp44',
  'X-Request-Id',
  '5c5707139d939654-SJC',
  'X-Runtime',
  '0.221124',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c5707139d939654-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42c04000009654babab200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c5707139d939654-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/402152559751.json')
  .once().reply(200, {"user":{"id":402152559751,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751.json","name":"Brian","email":"brian@bleonard.com","created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:30Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser123","tags":[],"alias":null,"active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:31 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=5, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '690',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"120dcc501da0525fcab3c8e487779ead"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-kwjxj',
  'X-Request-Id',
  '5c5707157f1d9654-SJC',
  'X-Runtime',
  '0.230643',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c5707157f1d9654-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42c16a00009654babb2200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c5707157f1d9654-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/search.json')
  .query({"external_id":"testuser123"})
  .once().reply(200, {"users":[{"id":402152559751,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751.json","name":"Brian","email":"brian@bleonard.com","created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:30Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser123","tags":[],"alias":null,"active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}],"next_page":null,"previous_page":null,"count":1}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:31 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'Set-Cookie',
  '__cfduid=d19ecbab9af513a755444974b4df9db181597873171; expires=Fri, 18-Sep-20 21:39:31 GMT; path=/; domain=.d3v-grouparoo.zendesk.com; HttpOnly; SameSite=Lax',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=10, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '689',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"a11d344803aac3d7a324719eca2514f0"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-mcr9n',
  'X-Request-Id',
  '5c570717ada7938e-SJC',
  'X-Runtime',
  '0.200592',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c570717ada7938e-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42c2c70000938ef42ce200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Set-Cookie',
  '__cfruid=71f654d23d31d9637c9d5fd92c725a8fb19cb9d0-1597873171; path=/; domain=.d3v-grouparoo.zendesk.com; HttpOnly; Secure; SameSite=None',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c570717ada7938e-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .put('/api/v2/users/402152559751.json', {"user":{"verified":true,"email":"brian@bleonard.com","external_id":"testuser123","name":"Brian","alias":"BL","user_fields":{"text_field":"testing here","date_field":"2020-08-19T20:50:04.000Z"},"tags":[]}})
  .once().reply(200, {"user":{"id":402152559751,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751.json","name":"Brian","email":"brian@bleonard.com","created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:31Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser123","tags":[],"alias":"BL","active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":"2020-08-19T00:00:00+00:00","decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":"testing here"}}}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:31 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '688',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"5305aadc0fe89afe627b397798ea4c42"',
  'Cache-Control',
  'max-age=0, private, must-revalidate',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-zh77x',
  'X-Request-Id',
  '5c5707194e90938e-SJC',
  'X-Runtime',
  '0.505164',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c5707194e90938e-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42c3cd0000938ef42d9200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c5707194e90938e-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/402152559751.json')
  .once().reply(200, {"user":{"id":402152559751,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751.json","name":"Brian","email":"brian@bleonard.com","created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:31Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser123","tags":[],"alias":"BL","active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":"2020-08-19T00:00:00+00:00","decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":"testing here"}}}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:32 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=5, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '687',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"5305aadc0fe89afe627b397798ea4c42"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-kdtgj',
  'X-Request-Id',
  '5c57071cdb1b9654-SJC',
  'X-Runtime',
  '0.200290',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c57071cdb1b9654-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42c60800009654babd2200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c57071cdb1b9654-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/search.json')
  .query({"external_id":"testuser123"})
  .once().reply(200, {"users":[{"id":402152559751,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751.json","name":"Brian","email":"brian@bleonard.com","created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:31Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser123","tags":[],"alias":"BL","active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":"2020-08-19T00:00:00+00:00","decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":"testing here"}}],"next_page":null,"previous_page":null,"count":1}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:32 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'Set-Cookie',
  '__cfduid=dc8034235e735974257c06f6bdc7be4071597873172; expires=Fri, 18-Sep-20 21:39:32 GMT; path=/; domain=.d3v-grouparoo.zendesk.com; HttpOnly; SameSite=Lax',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=10, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '686',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"de0533aaa6216cd12220e9fbb368f710"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-qvs5q',
  'X-Request-Id',
  '5c57071ecc550fb7-SJC',
  'X-Runtime',
  '0.294038',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c57071ecc550fb7-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42c73d00000fb7eea56200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Set-Cookie',
  '__cfruid=9946c2978a7cf339c3c332e92d6bedd7a8467ea3-1597873172; path=/; domain=.d3v-grouparoo.zendesk.com; HttpOnly; Secure; SameSite=None',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c57071ecc550fb7-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .put('/api/v2/users/402152559751.json', {"user":{"verified":true,"email":"brian@bleonard.com","external_id":"testuser123","name":"Evan","alias":"BL","user_fields":{"text_field":"testing here change","date_field":null,"unknown_junk":"ok","checkbox_field":true},"tags":[]}})
  .once().reply(200, {"user":{"id":402152559751,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751.json","name":"Evan","email":"brian@bleonard.com","created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:32Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser123","tags":["checkedbox"],"alias":"BL","active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":true,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":"testing here change"}}}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:33 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '685',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"b7fc7e18fa8159d5d5c8ec29fbe2e0f7"',
  'Cache-Control',
  'max-age=0, private, must-revalidate',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-vpx77',
  'X-Request-Id',
  '5c57072108a10fb7-SJC',
  'X-Runtime',
  '0.477077',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c57072108a10fb7-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42c8a000000fb7eea6d200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c57072108a10fb7-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/402152559751.json')
  .once().reply(200, {"user":{"id":402152559751,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751.json","name":"Evan","email":"brian@bleonard.com","created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:32Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser123","tags":["checkedbox"],"alias":"BL","active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":true,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":"testing here change"}}}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:33 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=5, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '684',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"b7fc7e18fa8159d5d5c8ec29fbe2e0f7"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-8kvkt',
  'X-Request-Id',
  '5c5707245fce9654-SJC',
  'X-Runtime',
  '0.241855',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c5707245fce9654-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42cab800009654ba802200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c5707245fce9654-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/search.json')
  .query({"external_id":"testuser123"})
  .once().reply(200, {"users":[{"id":402152559751,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751.json","name":"Evan","email":"brian@bleonard.com","created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:32Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser123","tags":["checkedbox"],"alias":"BL","active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":true,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":"testing here change"}}],"next_page":null,"previous_page":null,"count":1}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:33 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'Set-Cookie',
  '__cfduid=d7df561452804cf548e6414bf1a20662a1597873173; expires=Fri, 18-Sep-20 21:39:33 GMT; path=/; domain=.d3v-grouparoo.zendesk.com; HttpOnly; SameSite=Lax',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=10, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '683',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"93165e52e7dacd47d0ad5b155ff1b8be"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-pvn5m',
  'X-Request-Id',
  '5c570726a8e4ed8b-SJC',
  'X-Runtime',
  '0.253112',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c570726a8e4ed8b-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42cc2c0000ed8ba81c0200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Set-Cookie',
  '__cfruid=004514ae8d2ba036eff4aedf0641a133496bd16d-1597873173; path=/; domain=.d3v-grouparoo.zendesk.com; HttpOnly; Secure; SameSite=None',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c570726a8e4ed8b-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .put('/api/v2/users/402152559751.json', {"user":{"verified":true,"email":"brian@bleonard.com","external_id":"testuser123","name":"brian@bleonard.com","alias":null,"user_fields":{"text_field":null,"checkbox_field":null},"tags":["checkedbox"]}})
  .once().reply(200, {"user":{"id":402152559751,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751.json","name":"brian@bleonard.com","email":"brian@bleonard.com","created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:34Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser123","tags":[],"alias":"","active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:34 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '682',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"24b68b6153b9233c8b5b211db8d11404"',
  'Cache-Control',
  'max-age=0, private, must-revalidate',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-78p6p',
  'X-Request-Id',
  '5c570728bc08ed8b-SJC',
  'X-Runtime',
  '0.427883',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c570728bc08ed8b-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42cd6f0000ed8ba81d1200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c570728bc08ed8b-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/402152559751.json')
  .once().reply(200, {"user":{"id":402152559751,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751.json","name":"brian@bleonard.com","email":"brian@bleonard.com","created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:34Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser123","tags":[],"alias":"","active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:34 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=5, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '681',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"24b68b6153b9233c8b5b211db8d11404"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-d79nz',
  'X-Request-Id',
  '5c57072beb7f9654-SJC',
  'X-Runtime',
  '0.238273',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c57072beb7f9654-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42cf6f00009654ba83a200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c57072beb7f9654-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/search.json')
  .query({"external_id":"testuser123"})
  .once().reply(200, {"users":[{"id":402152559751,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751.json","name":"brian@bleonard.com","email":"brian@bleonard.com","created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:34Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser123","tags":[],"alias":"","active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}],"next_page":null,"previous_page":null,"count":1}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:35 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'Set-Cookie',
  '__cfduid=d3c7ed95c86da2e44ef11103b21ffeefe1597873174; expires=Fri, 18-Sep-20 21:39:34 GMT; path=/; domain=.d3v-grouparoo.zendesk.com; HttpOnly; SameSite=Lax',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=10, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '680',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"7a9acd4b3459bd77f35328b5b44cfdbd"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-hggd4',
  'X-Request-Id',
  '5c57072e4c2c6bc6-SJC',
  'X-Runtime',
  '0.293727',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c57072e4c2c6bc6-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42d0ee00006bc6543a6200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Set-Cookie',
  '__cfruid=f104b1a1d0e353aa68ae64163634678454ace135-1597873175; path=/; domain=.d3v-grouparoo.zendesk.com; HttpOnly; Secure; SameSite=None',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c57072e4c2c6bc6-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .put('/api/v2/users/402152559751.json', {"user":{"verified":true,"email":"brian@bleonard.com","external_id":"testuser123","tags":["another","test_group_x"]}})
  .once().reply(200, {"user":{"id":402152559751,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751.json","name":"brian@bleonard.com","email":"brian@bleonard.com","created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:35Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser123","tags":["another","test_group_x"],"alias":"","active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:35 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '679',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"68ffde40a6bb935655da94edce61c032"',
  'Cache-Control',
  'max-age=0, private, must-revalidate',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-vmp2q',
  'X-Request-Id',
  '5c5707308d2c6bc6-SJC',
  'X-Runtime',
  '0.315300',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c5707308d2c6bc6-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42d25100006bc6543b1200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c5707308d2c6bc6-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/402152559751.json')
  .once().reply(200, {"user":{"id":402152559751,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751.json","name":"brian@bleonard.com","email":"brian@bleonard.com","created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:35Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser123","tags":["another","test_group_x"],"alias":"","active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:35 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=5, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '678',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"68ffde40a6bb935655da94edce61c032"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-l2q6n',
  'X-Request-Id',
  '5c570732df539654-SJC',
  'X-Runtime',
  '0.218061',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c570732df539654-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42d3cb00009654ba869200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c570732df539654-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/search.json')
  .query({"external_id":"testuser123"})
  .once().reply(200, {"users":[{"id":402152559751,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751.json","name":"brian@bleonard.com","email":"brian@bleonard.com","created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:35Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser123","tags":["another","test_group_x"],"alias":"","active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}],"next_page":null,"previous_page":null,"count":1}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:36 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'Set-Cookie',
  '__cfduid=df36098db7b535e35637bc4d5e0e2dcd21597873175; expires=Fri, 18-Sep-20 21:39:35 GMT; path=/; domain=.d3v-grouparoo.zendesk.com; HttpOnly; SameSite=Lax',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=10, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '677',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"2fa42e6f0cefe23fb8916ad6a4f93c6a"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-d79nz',
  'X-Request-Id',
  '5c5707350ec6025e-SJC',
  'X-Runtime',
  '0.232621',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c5707350ec6025e-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42d5260000025ee8822200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Set-Cookie',
  '__cfruid=d6d7cf213ab6d1dcd809a2c7547e88fe0912a73f-1597873176; path=/; domain=.d3v-grouparoo.zendesk.com; HttpOnly; Secure; SameSite=None',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c5707350ec6025e-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .put('/api/v2/users/402152559751.json', {"user":{"verified":true,"email":"brian@bleonard.com","external_id":"testuser123","tags":["test_group_x"]}})
  .once().reply(200, {"user":{"id":402152559751,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751.json","name":"brian@bleonard.com","email":"brian@bleonard.com","created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:36Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser123","tags":["test_group_x"],"alias":"","active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:36 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '676',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"fa3849f939f33fc6f5d8aca065c30ea1"',
  'Cache-Control',
  'max-age=0, private, must-revalidate',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-jmmfd',
  'X-Request-Id',
  '5c570736fa52025e-SJC',
  'X-Runtime',
  '0.416035',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c570736fa52025e-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42d6570000025ee882e200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c570736fa52025e-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/402152559751.json')
  .once().reply(200, {"user":{"id":402152559751,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751.json","name":"brian@bleonard.com","email":"brian@bleonard.com","created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:36Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser123","tags":["test_group_x"],"alias":"","active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:36 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=5, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '675',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"fa3849f939f33fc6f5d8aca065c30ea1"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-rwgrt',
  'X-Request-Id',
  '5c570739eb569654-SJC',
  'X-Runtime',
  '0.191794',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c570739eb569654-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42d83200009654ba889200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c570739eb569654-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .put('/api/v2/users/402152559751.json', {"user":{"tags":["test_group_x","outside_grouparoo"]}})
  .once().reply(200, {"user":{"id":402152559751,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751.json","name":"brian@bleonard.com","email":"brian@bleonard.com","created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:37Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser123","tags":["test_group_x","outside_grouparoo"],"alias":"","active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:37 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '674',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"adb40d8bb3d748f8ab3229590fa1001b"',
  'Cache-Control',
  'max-age=0, private, must-revalidate',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-5szv6',
  'X-Request-Id',
  '5c57073c5c9e9654-SJC',
  'X-Runtime',
  '0.410648',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c57073c5c9e9654-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42d9b300009654ba894200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c57073c5c9e9654-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/search.json')
  .query({"external_id":"testuser123"})
  .once().reply(200, {"users":[{"id":402152559751,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751.json","name":"brian@bleonard.com","email":"brian@bleonard.com","created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:37Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser123","tags":["outside_grouparoo","test_group_x"],"alias":"","active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}],"next_page":null,"previous_page":null,"count":1}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:37 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'Set-Cookie',
  '__cfduid=dec53b8a02aa155e6ac1bfa8f79c4fe121597873177; expires=Fri, 18-Sep-20 21:39:37 GMT; path=/; domain=.d3v-grouparoo.zendesk.com; HttpOnly; SameSite=Lax',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=10, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '673',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"ae6b9a98d7804f86499ff825051da800"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-bzdcv',
  'X-Request-Id',
  '5c57073fad5a933a-SJC',
  'X-Runtime',
  '0.240828',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c57073fad5a933a-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42dbc70000933a4bacd200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Set-Cookie',
  '__cfruid=529fc55c82390518921cd76cce4911c042e1a188-1597873177; path=/; domain=.d3v-grouparoo.zendesk.com; HttpOnly; Secure; SameSite=None',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c57073fad5a933a-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .put('/api/v2/users/402152559751.json', {"user":{"verified":true,"email":"brian@bleonard.com","external_id":"testuser123","tags":["new_one","outside_grouparoo","test_group_x"]}})
  .once().reply(200, {"user":{"id":402152559751,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751.json","name":"brian@bleonard.com","email":"brian@bleonard.com","created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:38Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser123","tags":["outside_grouparoo","test_group_x","new_one"],"alias":"","active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:38 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '672',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"c24133cf91d3c654ff0b3fdb58a78538"',
  'Cache-Control',
  'max-age=0, private, must-revalidate',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-cfw7p',
  'X-Request-Id',
  '5c5707419eec933a-SJC',
  'X-Runtime',
  '0.308922',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c5707419eec933a-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42dcfb0000933a4bada200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c5707419eec933a-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/402152559751.json')
  .once().reply(200, {"user":{"id":402152559751,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751.json","name":"brian@bleonard.com","email":"brian@bleonard.com","created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:38Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser123","tags":["outside_grouparoo","new_one","test_group_x"],"alias":"","active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:38 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=5, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '671',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"d3eed215eb5c7b3706faae3df4ddc38b"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-2wpc4',
  'X-Request-Id',
  '5c570743d9209654-SJC',
  'X-Runtime',
  '0.246109',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c570743d9209654-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42de6800009654ba8d1200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c570743d9209654-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/search.json')
  .query({"external_id":"testuser123"})
  .once().reply(200, {"users":[{"id":402152559751,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751.json","name":"brian@bleonard.com","email":"brian@bleonard.com","created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:38Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser123","tags":["outside_grouparoo","new_one","test_group_x"],"alias":"","active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}],"next_page":null,"previous_page":null,"count":1}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:38 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'Set-Cookie',
  '__cfduid=d46c2c9e73cd47b9a395406b80fc8e0591597873178; expires=Fri, 18-Sep-20 21:39:38 GMT; path=/; domain=.d3v-grouparoo.zendesk.com; HttpOnly; SameSite=Lax',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=10, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '670',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"b018abd542ac08520d08b8da560afb1c"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-46drs',
  'X-Request-Id',
  '5c5707462e8ded6b-SJC',
  'X-Runtime',
  '0.347180',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c5707462e8ded6b-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42dfd70000ed6b2734f200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Set-Cookie',
  '__cfruid=bb92f83e9a5a018e2305828e34f9e28b707f640a-1597873178; path=/; domain=.d3v-grouparoo.zendesk.com; HttpOnly; Secure; SameSite=None',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c5707462e8ded6b-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .put('/api/v2/users/402152559751.json', {"user":{"verified":true,"email":"brian@bleonard.com","external_id":"testuser123","tags":["outside_grouparoo"]}})
  .once().reply(200, {"user":{"id":402152559751,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751.json","name":"brian@bleonard.com","email":"brian@bleonard.com","created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:39Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser123","tags":["outside_grouparoo"],"alias":"","active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:39 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '669',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"aac012ded4b9642a7f943725113ed895"',
  'Cache-Control',
  'max-age=0, private, must-revalidate',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-7fqmv',
  'X-Request-Id',
  '5c570748bb7ded6b-SJC',
  'X-Runtime',
  '0.303184',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c570748bb7ded6b-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42e1750000ed6b27365200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c570748bb7ded6b-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/402152559751.json')
  .once().reply(200, {"user":{"id":402152559751,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751.json","name":"brian@bleonard.com","email":"brian@bleonard.com","created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:39Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser123","tags":["outside_grouparoo"],"alias":"","active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:39 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=5, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '668',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"aac012ded4b9642a7f943725113ed895"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-kp5kn',
  'X-Request-Id',
  '5c57074b0da99654-SJC',
  'X-Runtime',
  '0.218039',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c57074b0da99654-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42e2e200009654ba8f9200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c57074b0da99654-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/search.json')
  .query({"external_id":"testuser123"})
  .once().reply(200, {"users":[{"id":402152559751,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751.json","name":"brian@bleonard.com","email":"brian@bleonard.com","created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:39Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser123","tags":["outside_grouparoo"],"alias":"","active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}],"next_page":null,"previous_page":null,"count":1}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:40 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'Set-Cookie',
  '__cfduid=ddb29ec44308063b365d47a150cafe7901597873179; expires=Fri, 18-Sep-20 21:39:39 GMT; path=/; domain=.d3v-grouparoo.zendesk.com; HttpOnly; SameSite=Lax',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=10, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '667',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"be3cc4a17e9b8666afe3d1cff0ec5ba7"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-klpjh',
  'X-Request-Id',
  '5c57074d1b9eed57-SJC',
  'X-Runtime',
  '0.423975',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c57074d1b9eed57-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42e4300000ed575eab5200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Set-Cookie',
  '__cfruid=252b7d8209f7e9ea3b76113d29fd6a02ff44956f-1597873180; path=/; domain=.d3v-grouparoo.zendesk.com; HttpOnly; Secure; SameSite=None',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c57074d1b9eed57-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .put('/api/v2/users/402152559751.json', {"user":{"verified":true,"email":"NewOne@bleonard.com","external_id":"testuser123","tags":["outside_grouparoo"]}})
  .once().reply(200, {"user":{"id":402152559751,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751.json","name":"brian@bleonard.com","email":"brian@bleonard.com","created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:40Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser123","tags":["outside_grouparoo"],"alias":"","active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:40 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '666',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"badd7d12ec432f75fa9adf5399b2bc5a"',
  'Cache-Control',
  'max-age=0, private, must-revalidate',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-89hsx',
  'X-Request-Id',
  '5c570750285aed57-SJC',
  'X-Runtime',
  '0.503659',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c570750285aed57-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42e61b0000ed575eae7200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c570750285aed57-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/402152559751/identities.json')
  .once().reply(200, {"identities":[{"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751/identities/380811358631.json","id":380811358631,"user_id":402152559751,"type":"email","value":"brian@bleonard.com","verified":true,"primary":true,"created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:30Z","undeliverable_count":0,"deliverable_state":"deliverable"},{"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751/identities/380844198892.json","id":380844198892,"user_id":402152559751,"type":"email","value":"newone@bleonard.com","verified":true,"primary":false,"created_at":"2020-08-19T21:39:40Z","updated_at":"2020-08-19T21:39:40Z","undeliverable_count":0,"deliverable_state":"deliverable"}],"next_page":null,"previous_page":null,"count":2}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:41 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'Set-Cookie',
  '__cfduid=dc895f65f87b6b1c1e8ffc52414eb2df41597873180; expires=Fri, 18-Sep-20 21:39:40 GMT; path=/; domain=.d3v-grouparoo.zendesk.com; HttpOnly; SameSite=Lax',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'ETag',
  'W/"69a5926550984210720fe6fba8d2888d"',
  'Last-Modified',
  'Wed, 19 Aug 2020 21:39:40 GMT',
  'Cache-Control',
  'max-age=0, private, must-revalidate',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '665',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-lrhpf',
  'X-Request-Id',
  '5c5707541a13024e-SJC',
  'X-Runtime',
  '0.192475',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c5707541a13024e-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42e8910000024eb5b2b200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Set-Cookie',
  '__cfruid=fda64af7a35b38465cdee0ddb260fceb74a8eb33-1597873181; path=/; domain=.d3v-grouparoo.zendesk.com; HttpOnly; Secure; SameSite=None',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c5707541a13024e-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .put('/api/v2/users/402152559751/identities/380844198892/make_primary.json', {})
  .once().reply(200, {"identities":[{"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751/identities/380844198892.json","id":380844198892,"user_id":402152559751,"type":"email","value":"newone@bleonard.com","verified":true,"primary":true,"created_at":"2020-08-19T21:39:40Z","updated_at":"2020-08-19T21:39:41Z","undeliverable_count":0,"deliverable_state":"deliverable"},{"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751/identities/380811358631.json","id":380811358631,"user_id":402152559751,"type":"email","value":"brian@bleonard.com","verified":true,"primary":false,"created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:30Z","undeliverable_count":0,"deliverable_state":"deliverable"}],"next_page":null,"previous_page":null,"count":2}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:41 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '664',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"5896318076a0705a8020c9ca450fada5"',
  'Cache-Control',
  'max-age=0, private, must-revalidate',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-97hq8',
  'X-Request-Id',
  '5c5707561dd0024e-SJC',
  'X-Runtime',
  '0.232079',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c5707561dd0024e-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42e9cd0000024eb5b40200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c5707561dd0024e-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/402152559751.json')
  .once().reply(200, {"user":{"id":402152559751,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751.json","name":"brian@bleonard.com","email":"newone@bleonard.com","created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:41Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser123","tags":["outside_grouparoo"],"alias":"","active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:41 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=5, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '663',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"3370a843498951ff5d3972aedcea92ea"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-tjv66',
  'X-Request-Id',
  '5c5707580d469654-SJC',
  'X-Runtime',
  '0.275617',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c5707580d469654-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42eb0500009654ba934200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c5707580d469654-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .post('/api/v2/users.json', {"user":{"verified":true,"name":"migratedusername","alias":"MU","email":"migrateduser@bleonard.com","user_fields":{"text_field":"my text","checkbox_field":true}}})
  .once().reply(201, {"user":{"id":402138864332,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402138864332.json","name":"migratedusername","email":"migrateduser@bleonard.com","created_at":"2020-08-19T21:39:42Z","updated_at":"2020-08-19T21:39:41Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":null,"tags":["checkedbox"],"alias":"MU","active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":true,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":"my text"}}}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:42 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Content-Length',
  '1043',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Location',
  'https://d3v-grouparoo.zendesk.com/api/v2/users/402138864332.json',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '662',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"7dad1fc8e4ffab54c860805a63ed4609"',
  'Cache-Control',
  'max-age=0, private, must-revalidate',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-rwgrt',
  'X-Request-Id',
  '5c57075a2e9a9654-SJC',
  'X-Runtime',
  '0.413136',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c57075a2e9a9654-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42ec5600009654ba94b200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c57075a2e9a9654-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/search.json')
  .query({"external_id":"testuser456"})
  .once().reply(200, {"users":[],"next_page":null,"previous_page":null,"count":0}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:42 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'Set-Cookie',
  '__cfduid=dda5b45e06f5508bc95af48c1c6b0f6941597873182; expires=Fri, 18-Sep-20 21:39:42 GMT; path=/; domain=.d3v-grouparoo.zendesk.com; HttpOnly; SameSite=Lax',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=10, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '661',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"0d9fec644c8d2302fdce202e8be00f94"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-28jbt',
  'X-Request-Id',
  '5c57075d7cd90fbb-SJC',
  'X-Runtime',
  '0.542388',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c57075d7cd90fbb-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42ee6700000fbbc72f4200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Set-Cookie',
  '__cfruid=b09473897c8fd48775612a62418972003b4c518d-1597873182; path=/; domain=.d3v-grouparoo.zendesk.com; HttpOnly; Secure; SameSite=None',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c57075d7cd90fbb-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .post('/api/v2/users/create_or_update.json', {"user":{"verified":true,"email":"migrateduser@bleonard.com","name":"migratedusername","external_id":"testuser456","user_fields":{"text_field":"change"},"tags":["something"]}})
  .once().reply(200, {"user":{"id":402138864332,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402138864332.json","name":"migratedusername","email":"migrateduser@bleonard.com","created_at":"2020-08-19T21:39:42Z","updated_at":"2020-08-19T21:39:43Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser456","tags":["something"],"alias":"MU","active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":true,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":"change"}}}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:43 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Location',
  'https://d3v-grouparoo.zendesk.com/api/v2/users/402138864332.json',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '660',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"8474bb2c81a0ac700b44cb0deeb713aa"',
  'Cache-Control',
  'max-age=0, private, must-revalidate',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-cfw7p',
  'X-Request-Id',
  '5c5707613b3d0fbb-SJC',
  'X-Runtime',
  '0.487488',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c5707613b3d0fbb-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42f0c000000fbbc7314200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c5707613b3d0fbb-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/402138864332.json')
  .once().reply(200, {"user":{"id":402138864332,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402138864332.json","name":"migratedusername","email":"migrateduser@bleonard.com","created_at":"2020-08-19T21:39:42Z","updated_at":"2020-08-19T21:39:43Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser456","tags":["something"],"alias":"MU","active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":true,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":"change"}}}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:43 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=5, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '659',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"8474bb2c81a0ac700b44cb0deeb713aa"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-2wpc4',
  'X-Request-Id',
  '5c570764ac339654-SJC',
  'X-Runtime',
  '0.266473',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c570764ac339654-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42f2e900009654ba97b200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c570764ac339654-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/search.json')
  .query({"external_id":"testuser789"})
  .once().reply(200, {"users":[],"next_page":null,"previous_page":null,"count":0}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:44 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'Set-Cookie',
  '__cfduid=d2f69fed0fc28637dcd45bf1b5dfc8bc91597873183; expires=Fri, 18-Sep-20 21:39:43 GMT; path=/; domain=.d3v-grouparoo.zendesk.com; HttpOnly; SameSite=Lax',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=10, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '658',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"0d9fec644c8d2302fdce202e8be00f94"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-kwjxj',
  'X-Request-Id',
  '5c570767298c6be4-SJC',
  'X-Runtime',
  '0.220003',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c570767298c6be4-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42f47600006be4b283d200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Set-Cookie',
  '__cfruid=9d92784779b2a9c4836ac3183b748daaf6d006fe-1597873184; path=/; domain=.d3v-grouparoo.zendesk.com; HttpOnly; Secure; SameSite=None',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c570767298c6be4-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/search.json')
  .query({"external_id":"testuser123"})
  .once().reply(200, {"users":[{"id":402152559751,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751.json","name":"brian@bleonard.com","email":"newone@bleonard.com","created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:41Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser123","tags":["outside_grouparoo"],"alias":"","active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}],"next_page":null,"previous_page":null,"count":1}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:44 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=10, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '657',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"9f819fd5c913fe0130a48601375ea58b"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-2nzw4',
  'X-Request-Id',
  '5c570768ea346be4-SJC',
  'X-Runtime',
  '0.229921',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c570768ea346be4-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42f59300006be4b2847200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c570768ea346be4-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .put('/api/v2/users/402152559751.json', {"user":{"verified":true,"email":"brian@bleonard.com","external_id":"testuser789","tags":["outside_grouparoo"]}})
  .once().reply(200, {"user":{"id":402152559751,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751.json","name":"brian@bleonard.com","email":"newone@bleonard.com","created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:44Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser789","tags":["outside_grouparoo"],"alias":"","active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:44 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '656',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"df6fdbd29e9333c39f9aadc9a4cfef94"',
  'Cache-Control',
  'max-age=0, private, must-revalidate',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-8s2bh',
  'X-Request-Id',
  '5c57076abab86be4-SJC',
  'X-Runtime',
  '0.286669',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c57076abab86be4-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42f6b400006be4b284d200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c57076abab86be4-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/402152559751/identities.json')
  .once().reply(200, {"identities":[{"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751/identities/380844198892.json","id":380844198892,"user_id":402152559751,"type":"email","value":"newone@bleonard.com","verified":true,"primary":true,"created_at":"2020-08-19T21:39:40Z","updated_at":"2020-08-19T21:39:41Z","undeliverable_count":0,"deliverable_state":"deliverable"},{"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751/identities/380811358631.json","id":380811358631,"user_id":402152559751,"type":"email","value":"brian@bleonard.com","verified":true,"primary":false,"created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:30Z","undeliverable_count":0,"deliverable_state":"deliverable"}],"next_page":null,"previous_page":null,"count":2}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:45 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'Set-Cookie',
  '__cfduid=d5abe36b101b15a08c9919d9e77e10af81597873184; expires=Fri, 18-Sep-20 21:39:44 GMT; path=/; domain=.d3v-grouparoo.zendesk.com; HttpOnly; SameSite=Lax',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'ETag',
  'W/"cd7438460c04a85bfb3c9f3ecfa5e7ec"',
  'Last-Modified',
  'Wed, 19 Aug 2020 21:39:44 GMT',
  'Cache-Control',
  'max-age=0, private, must-revalidate',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '655',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-w2lmq',
  'X-Request-Id',
  '5c57076d5ca5ed0b-SJC',
  'X-Runtime',
  '0.179604',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c57076d5ca5ed0b-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42f8530000ed0b2c899200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Set-Cookie',
  '__cfruid=ce86ca9379ecd2484a0d5199da2691fc8aab0504-1597873185; path=/; domain=.d3v-grouparoo.zendesk.com; HttpOnly; Secure; SameSite=None',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c57076d5ca5ed0b-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .put('/api/v2/users/402152559751/identities/380811358631/make_primary.json', {})
  .once().reply(200, {"identities":[{"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751/identities/380811358631.json","id":380811358631,"user_id":402152559751,"type":"email","value":"brian@bleonard.com","verified":true,"primary":true,"created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:45Z","undeliverable_count":0,"deliverable_state":"deliverable"},{"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751/identities/380844198892.json","id":380844198892,"user_id":402152559751,"type":"email","value":"newone@bleonard.com","verified":true,"primary":false,"created_at":"2020-08-19T21:39:40Z","updated_at":"2020-08-19T21:39:41Z","undeliverable_count":0,"deliverable_state":"deliverable"}],"next_page":null,"previous_page":null,"count":2}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:45 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '654',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"1fec4f128929221639a910ef8bb292bb"',
  'Cache-Control',
  'max-age=0, private, must-revalidate',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-jcnld',
  'X-Request-Id',
  '5c57076eef14ed0b-SJC',
  'X-Runtime',
  '0.265787',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c57076eef14ed0b-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42f9530000ed0b2c8a8200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c57076eef14ed0b-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/402152559751.json')
  .once().reply(200, {"user":{"id":402152559751,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751.json","name":"brian@bleonard.com","email":"brian@bleonard.com","created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:45Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser789","tags":["outside_grouparoo"],"alias":"","active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:45 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=5, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '653',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"46a18231de0dec0f885def079934ede1"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-2bb4s',
  'X-Request-Id',
  '5c570770fabe9654-SJC',
  'X-Runtime',
  '0.229186',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c570770fabe9654-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42fa9f00009654ba9b9200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c570770fabe9654-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/search.json')
  .query({"external_id":"testuser123"})
  .once().reply(200, {"users":[],"next_page":null,"previous_page":null,"count":0}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:46 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'Set-Cookie',
  '__cfduid=d1783a5df364146e4b6d72fa05a7422361597873185; expires=Fri, 18-Sep-20 21:39:45 GMT; path=/; domain=.d3v-grouparoo.zendesk.com; HttpOnly; SameSite=Lax',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=10, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '652',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"0d9fec644c8d2302fdce202e8be00f94"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-7d986',
  'X-Request-Id',
  '5c5707733be76c50-SJC',
  'X-Runtime',
  '0.155784',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c5707733be76c50-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42fc0700006c5048078200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Set-Cookie',
  '__cfruid=77629e6a0fca6d218f7e44cc7efe55836223f181-1597873186; path=/; domain=.d3v-grouparoo.zendesk.com; HttpOnly; Secure; SameSite=None',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c5707733be76c50-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .post('/api/v2/users/create_or_update.json', {"user":{"verified":true,"external_id":"testuser123","tags":[],"name":"testuser123"}})
  .once().reply(201, {"user":{"id":402138866452,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402138866452.json","name":"testuser123","email":null,"created_at":"2020-08-19T21:39:46Z","updated_at":"2020-08-19T21:39:46Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser123","tags":[],"alias":null,"active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:46 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Content-Length',
  '1008',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Location',
  'https://d3v-grouparoo.zendesk.com/api/v2/users/402138866452.json',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '651',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"1fd74d8c8795d1d9e62ed633bddaba0c"',
  'Cache-Control',
  'max-age=0, private, must-revalidate',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-vzxb6',
  'X-Request-Id',
  '5c570774ac4a6c50-SJC',
  'X-Runtime',
  '0.333822',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c570774ac4a6c50-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42fce600006c504807d200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c570774ac4a6c50-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/search.json')
  .query({"external_id":"testuser123"})
  .once().reply(200, {"users":[{"id":402138866452,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402138866452.json","name":"testuser123","email":null,"created_at":"2020-08-19T21:39:46Z","updated_at":"2020-08-19T21:39:46Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":false,"external_id":"testuser123","tags":[],"alias":null,"active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}],"next_page":null,"previous_page":null,"count":1}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:46 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=10, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '650',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"0e5d117eac35049e8920e13bf3b9806c"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-lrkr6',
  'X-Request-Id',
  '5c5707771f009654-SJC',
  'X-Runtime',
  '0.210138',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c5707771f009654-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42fe6c00009654ba9e8200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c5707771f009654-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/402138866452.json')
  .once().reply(200, {"user":{"id":402138866452,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402138866452.json","name":"testuser123","email":null,"created_at":"2020-08-19T21:39:46Z","updated_at":"2020-08-19T21:39:46Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":false,"external_id":"testuser123","tags":[],"alias":null,"active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:46 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=5, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '649',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"d163f6e8355729bb55de26607f9daf6e"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-mcr9n',
  'X-Request-Id',
  '5c570778d8129654-SJC',
  'X-Runtime',
  '0.179300',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c570778d8129654-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa42ff8b00009654ba9fc200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c570778d8129654-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/402152559751.json')
  .once().reply(200, {"user":{"id":402152559751,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751.json","name":"brian@bleonard.com","email":"brian@bleonard.com","created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:45Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser789","tags":["outside_grouparoo"],"alias":"","active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:47 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=5, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '648',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"46a18231de0dec0f885def079934ede1"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-ncz9c',
  'X-Request-Id',
  '5c57077a68c09654-SJC',
  'X-Runtime',
  '0.197922',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c57077a68c09654-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa43007f00009654baa04200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c57077a68c09654-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/search.json')
  .query({"external_id":"testuser123"})
  .once().reply(200, {"users":[{"id":402138866452,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402138866452.json","name":"testuser123","email":null,"created_at":"2020-08-19T21:39:46Z","updated_at":"2020-08-19T21:39:46Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":false,"external_id":"testuser123","tags":[],"alias":null,"active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}],"next_page":null,"previous_page":null,"count":1}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:47 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'Set-Cookie',
  '__cfduid=df9b8e956544430fddfad410c14d30bbb1597873187; expires=Fri, 18-Sep-20 21:39:47 GMT; path=/; domain=.d3v-grouparoo.zendesk.com; HttpOnly; SameSite=Lax',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=10, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '647',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"0e5d117eac35049e8920e13bf3b9806c"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-kdtgj',
  'X-Request-Id',
  '5c57077c6d3b937c-SJC',
  'X-Runtime',
  '0.268318',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c57077c6d3b937c-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa4301c50000937cffb13200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Set-Cookie',
  '__cfruid=58791d7b32f17394c29bd2bb69f63844ecaba8c3-1597873187; path=/; domain=.d3v-grouparoo.zendesk.com; HttpOnly; Secure; SameSite=None',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c57077c6d3b937c-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .put('/api/v2/users/402138866452.json', {"user":{"verified":true,"external_id":"testuser123","email":"added@bleonard.com","tags":[]}})
  .once().reply(200, {"user":{"id":402138866452,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402138866452.json","name":"testuser123","email":"added@bleonard.com","created_at":"2020-08-19T21:39:46Z","updated_at":"2020-08-19T21:39:47Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser123","tags":[],"alias":null,"active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:48 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '646',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"59e3d20507b151bee9710bc03ec7e819"',
  'Cache-Control',
  'max-age=0, private, must-revalidate',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-d79nz',
  'X-Request-Id',
  '5c57077eae59937c-SJC',
  'X-Runtime',
  '0.376197',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c57077eae59937c-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa43032b0000937cffb1c200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c57077eae59937c-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/402138866452.json')
  .once().reply(200, {"user":{"id":402138866452,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402138866452.json","name":"testuser123","email":"added@bleonard.com","created_at":"2020-08-19T21:39:46Z","updated_at":"2020-08-19T21:39:47Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser123","tags":[],"alias":null,"active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:48 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=5, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '645',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"59e3d20507b151bee9710bc03ec7e819"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-pqzzs',
  'X-Request-Id',
  '5c5707816cc89654-SJC',
  'X-Runtime',
  '0.199265',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c5707816cc89654-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa4304e300009654baa3a200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c5707816cc89654-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/search.json')
  .query({"external_id":"testuser123"})
  .once().reply(200, {"users":[{"id":402138866452,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402138866452.json","name":"testuser123","email":"added@bleonard.com","created_at":"2020-08-19T21:39:46Z","updated_at":"2020-08-19T21:39:47Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser123","tags":[],"alias":null,"active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}],"next_page":null,"previous_page":null,"count":1}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:48 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'Set-Cookie',
  '__cfduid=d4c7401dde778ffc4fc07181ab52fcdfc1597873188; expires=Fri, 18-Sep-20 21:39:48 GMT; path=/; domain=.d3v-grouparoo.zendesk.com; HttpOnly; SameSite=Lax',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=10, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '644',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"cbd600503d898e09340b4548b57f9f7c"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-p4mzn',
  'X-Request-Id',
  '5c5707837a01ed63-SJC',
  'X-Runtime',
  '0.213609',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c5707837a01ed63-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa4306280000ed634ca51200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Set-Cookie',
  '__cfruid=47723d42dfe990a9666bfd06d7745a7e4ee8462b-1597873188; path=/; domain=.d3v-grouparoo.zendesk.com; HttpOnly; Secure; SameSite=None',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c5707837a01ed63-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .delete('/api/v2/users/402138866452.json', {})
  .once().reply(200, {"user":{"id":402138866452,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402138866452.json","name":"testuser123","email":null,"created_at":"2020-08-19T21:39:46Z","updated_at":"2020-08-19T21:39:49Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":false,"external_id":null,"tags":[],"alias":null,"active":false,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:49 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '643',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"db6f7d70eee3bef20edb23a236496eba"',
  'Cache-Control',
  'max-age=0, private, must-revalidate',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-xkczv',
  'X-Request-Id',
  '5c5707858e1aed63-SJC',
  'X-Runtime',
  '0.625702',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c5707858e1aed63-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa4307710000ed634ca5a200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c5707858e1aed63-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/search.json')
  .query({"external_id":"testuser123"})
  .once().reply(200, {"users":[],"next_page":null,"previous_page":null,"count":0}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:49 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=10, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '642',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"0d9fec644c8d2302fdce202e8be00f94"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-bl5tq',
  'X-Request-Id',
  '5c570789d98a9654-SJC',
  'X-Runtime',
  '0.177687',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c570789d98a9654-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa430a2700009654baa78200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c570789d98a9654-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/402138866452.json')
  .once().reply(200, {"user":{"id":402138866452,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402138866452.json","name":"testuser123","email":null,"created_at":"2020-08-19T21:39:46Z","updated_at":"2020-08-19T21:39:49Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":false,"external_id":null,"tags":[],"alias":null,"active":false,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:49 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=5, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '641',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"db6f7d70eee3bef20edb23a236496eba"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-xzjgc',
  'X-Request-Id',
  '5c57078b5a4c9654-SJC',
  'X-Runtime',
  '0.202312',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c57078b5a4c9654-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa430b1a00009654baa83200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c57078b5a4c9654-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/search.json')
  .query({"query":"migratedusername"})
  .once().reply(200, {"users":[{"id":402138864332,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402138864332.json","name":"migratedusername","email":"migrateduser@bleonard.com","created_at":"2020-08-19T21:39:42Z","updated_at":"2020-08-19T21:39:43Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser456","tags":["something"],"alias":"MU","active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":true,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":"change"}}],"next_page":null,"previous_page":null,"count":1}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:50 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=10, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '640',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"afc08dd78d5c2dbab032ed4fc207b09a"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-rwgrt',
  'X-Request-Id',
  '5c57078cfb099654-SJC',
  'X-Runtime',
  '0.273276',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c57078cfb099654-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa430c1f00009654baa98200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c57078cfb099654-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .delete('/api/v2/users/402138864332.json', {})
  .once().reply(200, {"user":{"id":402138864332,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402138864332.json","name":"migratedusername","email":null,"created_at":"2020-08-19T21:39:42Z","updated_at":"2020-08-19T21:39:50Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":false,"external_id":null,"tags":["something"],"alias":"MU","active":false,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":true,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":"change"}}}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:50 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '639',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"8d75af3e6d439c99e0449bf2b8378235"',
  'Cache-Control',
  'max-age=0, private, must-revalidate',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-bfgqp',
  'X-Request-Id',
  '5c57078f0c219654-SJC',
  'X-Runtime',
  '0.442657',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c57078f0c219654-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa430d6900009654baab7200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c57078f0c219654-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/search.json')
  .query({"query":"migrateduser%40bleonard.com"})
  .once().reply(200, {"users":[],"next_page":null,"previous_page":null,"count":0}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:50 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=10, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '638',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"0d9fec644c8d2302fdce202e8be00f94"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-49bfq',
  'X-Request-Id',
  '5c5707925dfe9654-SJC',
  'X-Runtime',
  '0.180698',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c5707925dfe9654-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa430f7200009654baae5200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c5707925dfe9654-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/search.json')
  .query({"external_id":"testuser123"})
  .once().reply(200, {"users":[],"next_page":null,"previous_page":null,"count":0}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:51 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=10, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '637',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"0d9fec644c8d2302fdce202e8be00f94"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-5h9br',
  'X-Request-Id',
  '5c570793ced19654-SJC',
  'X-Runtime',
  '0.181729',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c570793ced19654-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa43105d00009654baaf4200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c570793ced19654-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/search.json')
  .query({"external_id":"testuser456"})
  .once().reply(200, {"users":[],"next_page":null,"previous_page":null,"count":0}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:51 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=10, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '636',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"0d9fec644c8d2302fdce202e8be00f94"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-l2q6n',
  'X-Request-Id',
  '5c5707954fa49654-SJC',
  'X-Runtime',
  '0.181462',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c5707954fa49654-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa43114900009654bab07200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c5707954fa49654-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .get('/api/v2/users/search.json')
  .query({"external_id":"testuser789"})
  .once().reply(200, {"users":[{"id":402152559751,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751.json","name":"brian@bleonard.com","email":"brian@bleonard.com","created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:45Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":true,"external_id":"testuser789","tags":["outside_grouparoo"],"alias":"","active":true,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}],"next_page":null,"previous_page":null,"count":1}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:51 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'Cache-Control',
  'max-age=10, private',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '635',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"3bdb757399cda415a72174af01e8dc90"',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-zm45k',
  'X-Request-Id',
  '5c570796b87d9654-SJC',
  'X-Runtime',
  '0.271709',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c570796b87d9654-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa43123100009654bab1a200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c570796b87d9654-SJC'
]);
nock('https://d3v-grouparoo.zendesk.com:443', {"encodedQueryParams":true})
  .delete('/api/v2/users/402152559751.json', {})
  .once().reply(200, {"user":{"id":402152559751,"url":"https://d3v-grouparoo.zendesk.com/api/v2/users/402152559751.json","name":"brian@bleonard.com","email":null,"created_at":"2020-08-19T21:39:30Z","updated_at":"2020-08-19T21:39:52Z","time_zone":"Arizona","iana_time_zone":"America/Phoenix","phone":null,"shared_phone_number":null,"photo":null,"locale_id":1,"locale":"en-US","organization_id":null,"role":"end-user","verified":false,"external_id":null,"tags":["outside_grouparoo"],"alias":"","active":false,"shared":false,"shared_agent":false,"last_login_at":null,"two_factor_auth_enabled":false,"signature":null,"details":null,"notes":null,"role_type":null,"custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"restricted_agent":true,"suspended":false,"chat_only":false,"default_group_id":null,"report_csv":false,"user_fields":{"checkbox_field":false,"date_field":null,"decimal_field":null,"dropdown_field":null,"multiline_field":null,"numeric_field":null,"regex_field":null,"text_field":null}}}, [
  'Date',
  'Wed, 19 Aug 2020 21:39:52 GMT',
  'Content-Type',
  'application/json; charset=UTF-8',
  'Transfer-Encoding',
  'chunked',
  'Connection',
  'keep-alive',
  'X-Zendesk-API-Version',
  'v2',
  'X-Zendesk-Application-Version',
  'v6393.13',
  'X-Frame-Options',
  'SAMEORIGIN',
  'X-Rate-Limit',
  '700',
  'X-Rate-Limit-Remaining',
  '634',
  'Strict-Transport-Security',
  'max-age=31536000;',
  'ETag',
  'W/"c471535124d906a7c494c1dc7c998bf3"',
  'Cache-Control',
  'max-age=0, private, must-revalidate',
  'X-Zendesk-Origin-Server',
  'classic-app-server-8858d86d-vzxb6',
  'X-Request-Id',
  '5c570798c9ce9654-SJC',
  'X-Runtime',
  '0.427704',
  'X-Zendesk-Zorg',
  'yes',
  'X-Request-ID',
  '5c570798c9ce9654-SJC',
  'X-Content-Type-Options',
  'nosniff',
  'CF-Cache-Status',
  'DYNAMIC',
  'cf-request-id',
  '04aa43137800009654bab38200000001',
  'Expect-CT',
  'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
  'Server',
  'cloudflare',
  'CF-RAY',
  '5c570798c9ce9654-SJC'
]);