Skip to content

Instantly share code, notes, and snippets.

@mackenco
Created September 29, 2021 16:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mackenco/3b2b4b153dcc47431f5e4716750406cd to your computer and use it in GitHub Desktop.
Save mackenco/3b2b4b153dcc47431f5e4716750406cd to your computer and use it in GitHub Desktop.
Colin L&L
platform-quickstart git:(arcadia_lnl) npm start
> platform-quickstart@0.1.0 start /Users/colin.mackenzie/Arcadia/platform-quickstart
> concurrently "node ./server" "PORT=8080 BROWSER=none react-scripts start"
[0] Backend server running on port 3000
[1] ℹ 「wds」: Project is running at http://192.168.0.198/
[1] ℹ 「wds」: webpack output is served from
[1] ℹ 「wds」: Content not from webpack is served from /Users/colin.mackenzie/Arcadia/platform-quickstart/public
[1] ℹ 「wds」: 404s will fallback to /
[1] Starting the development server...
[1]
[1] Compiled successfully!
[1]
[1] You can now view platform-quickstart in the browser.
[1]
[1] Local: http://localhost:8080
[1] On Your Network: http://192.168.0.198:8080
[1]
[1] Note that the development build is not optimized.
[1] To create a production build, use npm run build.
[1]
[0] Received a webhook with data:
[0] { type: 'test', created_at: '2021-09-29T12:52:38.040-04:00', data: {} }
[0] Received a webhook with data:
[0] {
[0] type: 'utility_credential_verified',
[0] created_at: '2021-09-29T12:54:20.359-04:00',
[0] data: {
[0] id: 1804,
[0] username: 'ARCADIA_TEST_R_SINGLE_ELEC',
[0] created_at: '2021-09-29T12:54:19.191-04:00',
[0] updated_at: '2021-09-29T12:54:19.467-04:00',
[0] utility_name: 'Entergy',
[0] client_user_id: '72689',
[0] verification_status: 'correct',
[0] verification_updated_at: '2021-09-29T12:54:19.462-04:00',
[0] accounts_load_in_progress: true
[0] }
[0] }
[0] Received a webhook with data:
[0] {
[0] type: 'historical_utility_statements_discovered',
[0] created_at: '2021-09-29T12:54:23.098-04:00',
[0] data: {
[0] statements: [
[0] {
[0] id: 63440,
[0] kwh: 258,
[0] tariff: null,
[0] due_date: '2021-10-13',
[0] past_due: false,
[0] created_at: '2021-09-29T12:54:22.025-04:00',
[0] updated_at: '2021-09-29T12:54:22.042-04:00',
[0] utility_name: 'Entergy',
[0] client_user_id: '72689',
[0] statement_date: '2021-09-13',
[0] utility_charge: 64.5,
[0] service_end_date: '2021-09-11',
[0] service_start_date: '2021-08-14',
[0] utility_account_id: 6491
[0] },
[0] {
[0] id: 63439,
[0] kwh: 188,
[0] tariff: null,
[0] due_date: '2021-09-14',
[0] past_due: false,
[0] created_at: '2021-09-29T12:54:21.983-04:00',
[0] updated_at: '2021-09-29T12:54:21.998-04:00',
[0] utility_name: 'Entergy',
[0] client_user_id: '72689',
[0] statement_date: '2021-08-15',
[0] utility_charge: 47,
[0] service_end_date: '2021-08-13',
[0] service_start_date: '2021-07-16',
[0] utility_account_id: 6491
[0] },
[0] {
[0] id: 63438,
[0] kwh: 358,
[0] tariff: null,
[0] due_date: '2021-08-16',
[0] past_due: false,
[0] created_at: '2021-09-29T12:54:21.941-04:00',
[0] updated_at: '2021-09-29T12:54:21.956-04:00',
[0] utility_name: 'Entergy',
[0] client_user_id: '72689',
[0] statement_date: '2021-07-17',
[0] utility_charge: 89.5,
[0] service_end_date: '2021-07-15',
[0] service_start_date: '2021-06-17',
[0] utility_account_id: 6491
[0] },
[0] {
[0] id: 63437,
[0] kwh: 322,
[0] tariff: null,
[0] due_date: '2021-07-18',
[0] past_due: false,
[0] created_at: '2021-09-29T12:54:21.895-04:00',
[0] updated_at: '2021-09-29T12:54:21.911-04:00',
[0] utility_name: 'Entergy',
[0] client_user_id: '72689',
[0] statement_date: '2021-06-18',
[0] utility_charge: 80.5,
[0] service_end_date: '2021-06-16',
[0] service_start_date: '2021-05-19',
[0] utility_account_id: 6491
[0] },
[0] {
[0] id: 63436,
[0] kwh: 495,
[0] tariff: null,
[0] due_date: '2021-06-19',
[0] past_due: false,
[0] created_at: '2021-09-29T12:54:21.853-04:00',
[0] updated_at: '2021-09-29T12:54:21.868-04:00',
[0] utility_name: 'Entergy',
[0] client_user_id: '72689',
[0] statement_date: '2021-05-20',
[0] utility_charge: 123.75,
[0] service_end_date: '2021-05-18',
[0] service_start_date: '2021-04-20',
[0] utility_account_id: 6491
[0] },
[0] {
[0] id: 63435,
[0] kwh: 277,
[0] tariff: null,
[0] due_date: '2021-05-21',
[0] past_due: false,
[0] created_at: '2021-09-29T12:54:21.812-04:00',
[0] updated_at: '2021-09-29T12:54:21.827-04:00',
[0] utility_name: 'Entergy',
[0] client_user_id: '72689',
[0] statement_date: '2021-04-21',
[0] utility_charge: 69.25,
[0] service_end_date: '2021-04-19',
[0] service_start_date: '2021-03-22',
[0] utility_account_id: 6491
[0] },
[0] {
[0] id: 63434,
[0] kwh: 332,
[0] tariff: null,
[0] due_date: '2021-04-22',
[0] past_due: false,
[0] created_at: '2021-09-29T12:54:21.769-04:00',
[0] updated_at: '2021-09-29T12:54:21.785-04:00',
[0] utility_name: 'Entergy',
[0] client_user_id: '72689',
[0] statement_date: '2021-03-23',
[0] utility_charge: 83,
[0] service_end_date: '2021-03-21',
[0] service_start_date: '2021-02-21',
[0] utility_account_id: 6491
[0] },
[0] {
[0] id: 63433,
[0] kwh: 553,
[0] tariff: null,
[0] due_date: '2021-03-24',
[0] past_due: false,
[0] created_at: '2021-09-29T12:54:21.726-04:00',
[0] updated_at: '2021-09-29T12:54:21.742-04:00',
[0] utility_name: 'Entergy',
[0] client_user_id: '72689',
[0] statement_date: '2021-02-22',
[0] utility_charge: 138.25,
[0] service_end_date: '2021-02-20',
[0] service_start_date: '2021-01-23',
[0] utility_account_id: 6491
[0] },
[0] {
[0] id: 63432,
[0] kwh: 420,
[0] tariff: null,
[0] due_date: '2021-02-23',
[0] past_due: false,
[0] created_at: '2021-09-29T12:54:21.673-04:00',
[0] updated_at: '2021-09-29T12:54:21.692-04:00',
[0] utility_name: 'Entergy',
[0] client_user_id: '72689',
[0] statement_date: '2021-01-24',
[0] utility_charge: 105,
[0] service_end_date: '2021-01-22',
[0] service_start_date: '2020-12-25',
[0] utility_account_id: 6491
[0] },
[0] {
[0] id: 63431,
[0] kwh: 322,
[0] tariff: null,
[0] due_date: '2021-01-25',
[0] past_due: false,
[0] created_at: '2021-09-29T12:54:21.631-04:00',
[0] updated_at: '2021-09-29T12:54:21.646-04:00',
[0] utility_name: 'Entergy',
[0] client_user_id: '72689',
[0] statement_date: '2020-12-26',
[0] utility_charge: 80.5,
[0] service_end_date: '2020-12-24',
[0] service_start_date: '2020-11-26',
[0] utility_account_id: 6491
[0] },
[0] {
[0] id: 63430,
[0] kwh: 312,
[0] tariff: null,
[0] due_date: '2020-12-27',
[0] past_due: false,
[0] created_at: '2021-09-29T12:54:21.588-04:00',
[0] updated_at: '2021-09-29T12:54:21.603-04:00',
[0] utility_name: 'Entergy',
[0] client_user_id: '72689',
[0] statement_date: '2020-11-27',
[0] utility_charge: 78,
[0] service_end_date: '2020-11-25',
[0] service_start_date: '2020-10-28',
[0] utility_account_id: 6491
[0] },
[0] {
[0] id: 63429,
[0] kwh: 340,
[0] tariff: null,
[0] due_date: '2020-11-28',
[0] past_due: false,
[0] created_at: '2021-09-29T12:54:21.541-04:00',
[0] updated_at: '2021-09-29T12:54:21.558-04:00',
[0] utility_name: 'Entergy',
[0] client_user_id: '72689',
[0] statement_date: '2020-10-29',
[0] utility_charge: 85,
[0] service_end_date: '2020-10-27',
[0] service_start_date: '2020-09-29',
[0] utility_account_id: 6491
[0] }
[0] ],
[0] client_user_id: '72689',
[0] utility_account_id: 6491
[0] }
[0] }
[0] Received a webhook with data:
[0] {
[0] type: 'utility_account_updated',
[0] created_at: '2021-09-29T12:54:23.958-04:00',
[0] data: {
[0] id: 6491,
[0] flags: [],
[0] status: 'active',
[0] services: [],
[0] created_at: '2021-09-29T12:54:19.209-04:00',
[0] updated_at: '2021-09-29T12:54:23.153-04:00',
[0] utility_name: 'Entergy',
[0] account_number: '9085967898',
[0] client_user_id: '72689',
[0] most_recent_tariff: null,
[0] service_address_zip: '77845',
[0] feature_availability: {
[0] charge_cost: 'NOT_AVAILABLE',
[0] smart_charge: 'NOT_AVAILABLE',
[0] utility_intervals: 'NOT_AVAILABLE',
[0] utility_statements: 'AVAILABLE'
[0] },
[0] service_address_city: 'College Station',
[0] service_address_state: 'TX',
[0] utility_credential_id: 1804,
[0] service_address_street_one: '6491 Arcadia Avenue',
[0] service_address_street_two: null
[0] }
[0] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment