billfixers-partner 0.1.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7a1ff53d13f69d7ec9d71b000f036386f043330b2435997a19ca55f2264edd94
4
- data.tar.gz: 467b7632fe1922c403e4224bc565e60419c7603b19e9c6cc552bca2ac7fdb2a0
3
+ metadata.gz: bcdd58bc96c5b5dc10a45b98ac41711551c37408924b4a893708d8c9a90e5fc9
4
+ data.tar.gz: 3a372b539781ed326342a8e7ba0a02dfa98320fabf70d2e066b261a657c960ef
5
5
  SHA512:
6
- metadata.gz: 11b12bc31833fc8d77a2df1543cb4847df8681a727f92d4984d8311023d321f72afa78aeb515314683279d4b3a2147db24772cf1cc808947a0a7b1db65feb70a
7
- data.tar.gz: 0bf8245133fbda1ab82122bcd72b571e3edd52cb5593faead86c92b35cbcaeb5b73a85c4dccd8562c439e460cc520f03d7d5423832d953a305a85c0d6f0b1c73
6
+ metadata.gz: 381f81260b220bf52c916c021e3fdbb27379a8b1ed251095d451e6cea4ba58c5d664ef43344e1ed98bd1b1880df0976b43403fc230b924cf47bc8e66317a2357
7
+ data.tar.gz: ee5dc4794443830f81b5dfd29bc364b1400f0a7a9d616f75699977e89c6818b88157c24cbeb9fa3af15b9662c3dcc77d207bf63062dda6b39fc782de3257c701
@@ -0,0 +1 @@
1
+ 2.6.5
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- billfixers-partner (0.1.0)
4
+ billfixers-partner (1.0.0)
5
5
  activesupport
6
6
  graphlient
7
7
 
@@ -10,7 +10,7 @@ module Billfixers
10
10
  endpoint = test_mode ? 'https://billfixers-staging.herokuapp.com/partner/graphql' : 'https://billfixers.herokuapp.com/partner/graphql'
11
11
 
12
12
  @gql = Graphlient::Client.new(endpoint,
13
- schema_path: './partner_schema.json',
13
+ schema_path: File.join(File.dirname(__FILE__), '../../../partner_schema.json'),
14
14
  headers: {
15
15
  "X-PartnerUser-Email": email,
16
16
  "X-PartnerUser-Token": token
@@ -46,12 +46,13 @@ module Billfixers
46
46
  [result.total_count, result.nodes]
47
47
  end
48
48
 
49
- def list_offers(limit: 25, offset: 0, customer_id: nil, bill_id: nil)
49
+ def list_offers(limit: 25, offset: 0, customer_id: nil, bill_id: nil, status: nil)
50
50
  response = @gql.query(LIST_OFFERS_QUERY, {
51
51
  limit: limit,
52
52
  offset: offset,
53
53
  customer_id: customer_id,
54
- bill_id: bill_id
54
+ bill_id: bill_id,
55
+ status: status
55
56
  })
56
57
 
57
58
  result = response.data.list_offers
@@ -59,6 +60,18 @@ module Billfixers
59
60
  [result.total_count, result.nodes]
60
61
  end
61
62
 
63
+ def list_information_requests(limit: 25, offset: 0, customer_id: nil)
64
+ response = @gql.query(LIST_INFORMATION_REQUESTS_QUERY, {
65
+ limit: limit,
66
+ offset: offset,
67
+ customer_id: customer_id
68
+ })
69
+
70
+ result = response.data.list_information_requests
71
+
72
+ [result.total_count, result.nodes]
73
+ end
74
+
62
75
  def find_customer(customer_id)
63
76
  response = @gql.query(FIND_CUSTOMER_QUERY, { id: customer_id })
64
77
  response.data.find_customer
@@ -69,6 +82,16 @@ module Billfixers
69
82
  response.data.find_bill
70
83
  end
71
84
 
85
+ def find_offer(offer_id)
86
+ response = @gql.query(FIND_OFFER_QUERY, { id: offer_id })
87
+ response.data.find_offer
88
+ end
89
+
90
+ def find_information_request(information_request_id)
91
+ response = @gql.query(FIND_INFORMATION_REQUEST_QUERY, { id: information_request_id })
92
+ response.data.find_information_request
93
+ end
94
+
72
95
  def create_customer(params)
73
96
  response = @gql.query(CREATE_CUSTOMER_MUTATION, {
74
97
  customer: camelize(params)
@@ -6,6 +6,7 @@ module Billfixers
6
6
  id
7
7
  name
8
8
  services
9
+ billFields
9
10
  )
10
11
 
11
12
  CUSTOMER_FRAGMENT = %(
@@ -17,12 +18,6 @@ module Billfixers
17
18
  phoneNumber
18
19
  avatarUrl
19
20
  b2b
20
- addressLine1
21
- addressLine2
22
- addressCity
23
- addressState
24
- addressPostalCode
25
- addressCountryCode
26
21
  createdAt
27
22
  updatedAt
28
23
  )
@@ -79,6 +74,21 @@ module Billfixers
79
74
  }
80
75
  )
81
76
 
77
+ INFORMATION_REQUEST_FRAGMENT = %(
78
+ id
79
+ content
80
+ contentHtml
81
+ createdAt
82
+ respondedAt
83
+ fields {
84
+ id
85
+ label
86
+ placeholder
87
+ dataType
88
+ value
89
+ }
90
+ )
91
+
82
92
  LIST_PROVIDERS_QUERY = %(
83
93
  query {
84
94
  ListProviders {
@@ -117,12 +127,13 @@ module Billfixers
117
127
  )
118
128
 
119
129
  LIST_OFFERS_QUERY = %(
120
- query($limit: Int, $offset: Int, $customer_id: ID, $bill_id: ID) {
130
+ query($limit: Int, $offset: Int, $customer_id: ID, $bill_id: ID, $status: String) {
121
131
  ListOffers(
122
132
  limit: $limit,
123
133
  offset: $offset,
124
134
  customerId: $customer_id,
125
- billId: $bill_id
135
+ billId: $bill_id,
136
+ status: $status
126
137
  ) {
127
138
  totalCount
128
139
  nodes {
@@ -132,6 +143,21 @@ module Billfixers
132
143
  }
133
144
  )
134
145
 
146
+ LIST_INFORMATION_REQUESTS_QUERY = %(
147
+ query($limit: Int, $offset: Int, $customer_id: ID) {
148
+ ListInformationRequests(
149
+ limit: $limit,
150
+ offset: $offset,
151
+ customerId: $customer_id
152
+ ) {
153
+ totalCount
154
+ nodes {
155
+ #{INFORMATION_REQUEST_FRAGMENT}
156
+ }
157
+ }
158
+ }
159
+ )
160
+
135
161
  FIND_CUSTOMER_QUERY = %(
136
162
  query($id: ID!) {
137
163
  FindCustomer(id: $id) {
@@ -148,6 +174,22 @@ module Billfixers
148
174
  }
149
175
  )
150
176
 
177
+ FIND_OFFER_QUERY = %(
178
+ query($id: ID!) {
179
+ FindOffer(id: $id) {
180
+ #{OFFER_FRAGMENT}
181
+ }
182
+ }
183
+ )
184
+
185
+ FIND_INFORMATION_REQUEST_QUERY = %(
186
+ query($id: ID!) {
187
+ FindInformationRequest(id: $id) {
188
+ #{INFORMATION_REQUEST_FRAGMENT}
189
+ }
190
+ }
191
+ )
192
+
151
193
  CREATE_CUSTOMER_MUTATION = %(
152
194
  mutation($customer: CustomerAttributes!) {
153
195
  CreateCustomer(input: { customer: $customer }) {
@@ -1,5 +1,5 @@
1
1
  module Billfixers
2
2
  module Partner
3
- VERSION = '0.1.0'.freeze
3
+ VERSION = '1.0.0'.freeze
4
4
  end
5
5
  end
@@ -874,78 +874,6 @@
874
874
  "name": "Customer",
875
875
  "description": "The person being billed by a provider",
876
876
  "fields": [
877
- {
878
- "name": "addressCity",
879
- "description": null,
880
- "args": [],
881
- "type": {
882
- "kind": "SCALAR",
883
- "name": "String",
884
- "ofType": null
885
- },
886
- "isDeprecated": false,
887
- "deprecationReason": null
888
- },
889
- {
890
- "name": "addressCountryCode",
891
- "description": null,
892
- "args": [],
893
- "type": {
894
- "kind": "SCALAR",
895
- "name": "String",
896
- "ofType": null
897
- },
898
- "isDeprecated": false,
899
- "deprecationReason": null
900
- },
901
- {
902
- "name": "addressLine1",
903
- "description": null,
904
- "args": [],
905
- "type": {
906
- "kind": "SCALAR",
907
- "name": "String",
908
- "ofType": null
909
- },
910
- "isDeprecated": false,
911
- "deprecationReason": null
912
- },
913
- {
914
- "name": "addressLine2",
915
- "description": null,
916
- "args": [],
917
- "type": {
918
- "kind": "SCALAR",
919
- "name": "String",
920
- "ofType": null
921
- },
922
- "isDeprecated": false,
923
- "deprecationReason": null
924
- },
925
- {
926
- "name": "addressPostalCode",
927
- "description": null,
928
- "args": [],
929
- "type": {
930
- "kind": "SCALAR",
931
- "name": "String",
932
- "ofType": null
933
- },
934
- "isDeprecated": false,
935
- "deprecationReason": null
936
- },
937
- {
938
- "name": "addressState",
939
- "description": null,
940
- "args": [],
941
- "type": {
942
- "kind": "SCALAR",
943
- "name": "String",
944
- "ofType": null
945
- },
946
- "isDeprecated": false,
947
- "deprecationReason": null
948
- },
949
877
  {
950
878
  "name": "avatarUrl",
951
879
  "description": null,
@@ -1233,66 +1161,6 @@
1233
1161
  },
1234
1162
  "defaultValue": null
1235
1163
  },
1236
- {
1237
- "name": "addressLine1",
1238
- "description": null,
1239
- "type": {
1240
- "kind": "SCALAR",
1241
- "name": "String",
1242
- "ofType": null
1243
- },
1244
- "defaultValue": null
1245
- },
1246
- {
1247
- "name": "addressLine2",
1248
- "description": null,
1249
- "type": {
1250
- "kind": "SCALAR",
1251
- "name": "String",
1252
- "ofType": null
1253
- },
1254
- "defaultValue": null
1255
- },
1256
- {
1257
- "name": "addressCity",
1258
- "description": null,
1259
- "type": {
1260
- "kind": "SCALAR",
1261
- "name": "String",
1262
- "ofType": null
1263
- },
1264
- "defaultValue": null
1265
- },
1266
- {
1267
- "name": "addressState",
1268
- "description": null,
1269
- "type": {
1270
- "kind": "SCALAR",
1271
- "name": "String",
1272
- "ofType": null
1273
- },
1274
- "defaultValue": null
1275
- },
1276
- {
1277
- "name": "addressPostalCode",
1278
- "description": null,
1279
- "type": {
1280
- "kind": "SCALAR",
1281
- "name": "String",
1282
- "ofType": null
1283
- },
1284
- "defaultValue": null
1285
- },
1286
- {
1287
- "name": "addressCountryCode",
1288
- "description": null,
1289
- "type": {
1290
- "kind": "SCALAR",
1291
- "name": "String",
1292
- "ofType": null
1293
- },
1294
- "defaultValue": null
1295
- },
1296
1164
  {
1297
1165
  "name": "phoneNumber",
1298
1166
  "description": null,
@@ -1448,39 +1316,13 @@
1448
1316
  "enumValues": null,
1449
1317
  "possibleTypes": null
1450
1318
  },
1451
- {
1452
- "kind": "SCALAR",
1453
- "name": "ID",
1454
- "description": "Represents a unique identifier that is Base64 obfuscated. It is often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"VXNlci0xMA==\"`) or integer (such as `4`) input value will be accepted as an ID.",
1455
- "fields": null,
1456
- "inputFields": null,
1457
- "interfaces": null,
1458
- "enumValues": null,
1459
- "possibleTypes": null
1460
- },
1461
1319
  {
1462
1320
  "kind": "OBJECT",
1463
- "name": "Image",
1321
+ "name": "Fixer",
1464
1322
  "description": null,
1465
1323
  "fields": [
1466
1324
  {
1467
- "name": "grandeUrl",
1468
- "description": null,
1469
- "args": [],
1470
- "type": {
1471
- "kind": "NON_NULL",
1472
- "name": null,
1473
- "ofType": {
1474
- "kind": "SCALAR",
1475
- "name": "String",
1476
- "ofType": null
1477
- }
1478
- },
1479
- "isDeprecated": false,
1480
- "deprecationReason": null
1481
- },
1482
- {
1483
- "name": "iconUrl",
1325
+ "name": "email",
1484
1326
  "description": null,
1485
1327
  "args": [],
1486
1328
  "type": {
@@ -1496,35 +1338,7 @@
1496
1338
  "deprecationReason": null
1497
1339
  },
1498
1340
  {
1499
- "name": "id",
1500
- "description": null,
1501
- "args": [],
1502
- "type": {
1503
- "kind": "SCALAR",
1504
- "name": "ID",
1505
- "ofType": null
1506
- },
1507
- "isDeprecated": false,
1508
- "deprecationReason": null
1509
- },
1510
- {
1511
- "name": "imageProcessed",
1512
- "description": null,
1513
- "args": [],
1514
- "type": {
1515
- "kind": "NON_NULL",
1516
- "name": null,
1517
- "ofType": {
1518
- "kind": "SCALAR",
1519
- "name": "Boolean",
1520
- "ofType": null
1521
- }
1522
- },
1523
- "isDeprecated": false,
1524
- "deprecationReason": null
1525
- },
1526
- {
1527
- "name": "largeUrl",
1341
+ "name": "firstName",
1528
1342
  "description": null,
1529
1343
  "args": [],
1530
1344
  "type": {
@@ -1540,7 +1354,7 @@
1540
1354
  "deprecationReason": null
1541
1355
  },
1542
1356
  {
1543
- "name": "mediumUrl",
1357
+ "name": "firstNameLastInitial",
1544
1358
  "description": null,
1545
1359
  "args": [],
1546
1360
  "type": {
@@ -1556,7 +1370,7 @@
1556
1370
  "deprecationReason": null
1557
1371
  },
1558
1372
  {
1559
- "name": "originalUrl",
1373
+ "name": "id",
1560
1374
  "description": null,
1561
1375
  "args": [],
1562
1376
  "type": {
@@ -1564,7 +1378,7 @@
1564
1378
  "name": null,
1565
1379
  "ofType": {
1566
1380
  "kind": "SCALAR",
1567
- "name": "String",
1381
+ "name": "ID",
1568
1382
  "ofType": null
1569
1383
  }
1570
1384
  },
@@ -1572,7 +1386,7 @@
1572
1386
  "deprecationReason": null
1573
1387
  },
1574
1388
  {
1575
- "name": "smallUrl",
1389
+ "name": "lastName",
1576
1390
  "description": null,
1577
1391
  "args": [],
1578
1392
  "type": {
@@ -1588,7 +1402,7 @@
1588
1402
  "deprecationReason": null
1589
1403
  },
1590
1404
  {
1591
- "name": "thumbnailUrl",
1405
+ "name": "name",
1592
1406
  "description": null,
1593
1407
  "args": [],
1594
1408
  "type": {
@@ -1604,17 +1418,13 @@
1604
1418
  "deprecationReason": null
1605
1419
  },
1606
1420
  {
1607
- "name": "tinyUrl",
1421
+ "name": "phoneNumber",
1608
1422
  "description": null,
1609
1423
  "args": [],
1610
1424
  "type": {
1611
- "kind": "NON_NULL",
1612
- "name": null,
1613
- "ofType": {
1614
- "kind": "SCALAR",
1615
- "name": "String",
1616
- "ofType": null
1617
- }
1425
+ "kind": "SCALAR",
1426
+ "name": "String",
1427
+ "ofType": null
1618
1428
  },
1619
1429
  "isDeprecated": false,
1620
1430
  "deprecationReason": null
@@ -1627,8 +1437,8 @@
1627
1437
  },
1628
1438
  {
1629
1439
  "kind": "SCALAR",
1630
- "name": "Int",
1631
- "description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",
1440
+ "name": "ID",
1441
+ "description": "Represents a unique identifier that is Base64 obfuscated. It is often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"VXNlci0xMA==\"`) or integer (such as `4`) input value will be accepted as an ID.",
1632
1442
  "fields": null,
1633
1443
  "inputFields": null,
1634
1444
  "interfaces": null,
@@ -1637,19 +1447,19 @@
1637
1447
  },
1638
1448
  {
1639
1449
  "kind": "OBJECT",
1640
- "name": "Item",
1450
+ "name": "Image",
1641
1451
  "description": null,
1642
1452
  "fields": [
1643
1453
  {
1644
- "name": "createdAt",
1645
- "description": "The date the record was created",
1454
+ "name": "grandeUrl",
1455
+ "description": null,
1646
1456
  "args": [],
1647
1457
  "type": {
1648
1458
  "kind": "NON_NULL",
1649
1459
  "name": null,
1650
1460
  "ofType": {
1651
1461
  "kind": "SCALAR",
1652
- "name": "DateTime",
1462
+ "name": "String",
1653
1463
  "ofType": null
1654
1464
  }
1655
1465
  },
@@ -1657,15 +1467,15 @@
1657
1467
  "deprecationReason": null
1658
1468
  },
1659
1469
  {
1660
- "name": "duration",
1661
- "description": "The length of time in months that an item's savings is good for",
1470
+ "name": "iconUrl",
1471
+ "description": null,
1662
1472
  "args": [],
1663
1473
  "type": {
1664
1474
  "kind": "NON_NULL",
1665
1475
  "name": null,
1666
1476
  "ofType": {
1667
1477
  "kind": "SCALAR",
1668
- "name": "Int",
1478
+ "name": "String",
1669
1479
  "ofType": null
1670
1480
  }
1671
1481
  },
@@ -1673,31 +1483,27 @@
1673
1483
  "deprecationReason": null
1674
1484
  },
1675
1485
  {
1676
- "name": "name",
1677
- "description": "Name of the good or service",
1486
+ "name": "id",
1487
+ "description": null,
1678
1488
  "args": [],
1679
1489
  "type": {
1680
- "kind": "NON_NULL",
1681
- "name": null,
1682
- "ofType": {
1683
- "kind": "SCALAR",
1684
- "name": "String",
1685
- "ofType": null
1686
- }
1490
+ "kind": "SCALAR",
1491
+ "name": "ID",
1492
+ "ofType": null
1687
1493
  },
1688
1494
  "isDeprecated": false,
1689
1495
  "deprecationReason": null
1690
1496
  },
1691
1497
  {
1692
- "name": "postPrice",
1693
- "description": "The post-negotiation price",
1498
+ "name": "imageProcessed",
1499
+ "description": null,
1694
1500
  "args": [],
1695
1501
  "type": {
1696
1502
  "kind": "NON_NULL",
1697
1503
  "name": null,
1698
1504
  "ofType": {
1699
1505
  "kind": "SCALAR",
1700
- "name": "Money",
1506
+ "name": "Boolean",
1701
1507
  "ofType": null
1702
1508
  }
1703
1509
  },
@@ -1705,15 +1511,15 @@
1705
1511
  "deprecationReason": null
1706
1512
  },
1707
1513
  {
1708
- "name": "prePrice",
1709
- "description": "The pre-negotiation price",
1514
+ "name": "largeUrl",
1515
+ "description": null,
1710
1516
  "args": [],
1711
1517
  "type": {
1712
1518
  "kind": "NON_NULL",
1713
1519
  "name": null,
1714
1520
  "ofType": {
1715
1521
  "kind": "SCALAR",
1716
- "name": "Money",
1522
+ "name": "String",
1717
1523
  "ofType": null
1718
1524
  }
1719
1525
  },
@@ -1721,15 +1527,15 @@
1721
1527
  "deprecationReason": null
1722
1528
  },
1723
1529
  {
1724
- "name": "savings",
1725
- "description": "The difference between the prePrice and the postPrice",
1530
+ "name": "mediumUrl",
1531
+ "description": null,
1726
1532
  "args": [],
1727
1533
  "type": {
1728
1534
  "kind": "NON_NULL",
1729
1535
  "name": null,
1730
1536
  "ofType": {
1731
1537
  "kind": "SCALAR",
1732
- "name": "Money",
1538
+ "name": "String",
1733
1539
  "ofType": null
1734
1540
  }
1735
1541
  },
@@ -1737,15 +1543,15 @@
1737
1543
  "deprecationReason": null
1738
1544
  },
1739
1545
  {
1740
- "name": "savingsEndOn",
1741
- "description": "The date the discount/savings end",
1546
+ "name": "originalUrl",
1547
+ "description": null,
1742
1548
  "args": [],
1743
1549
  "type": {
1744
1550
  "kind": "NON_NULL",
1745
1551
  "name": null,
1746
1552
  "ofType": {
1747
1553
  "kind": "SCALAR",
1748
- "name": "DateTime",
1554
+ "name": "String",
1749
1555
  "ofType": null
1750
1556
  }
1751
1557
  },
@@ -1753,8 +1559,99 @@
1753
1559
  "deprecationReason": null
1754
1560
  },
1755
1561
  {
1756
- "name": "savingsStartOn",
1757
- "description": "The date the discount/savings start",
1562
+ "name": "smallUrl",
1563
+ "description": null,
1564
+ "args": [],
1565
+ "type": {
1566
+ "kind": "NON_NULL",
1567
+ "name": null,
1568
+ "ofType": {
1569
+ "kind": "SCALAR",
1570
+ "name": "String",
1571
+ "ofType": null
1572
+ }
1573
+ },
1574
+ "isDeprecated": false,
1575
+ "deprecationReason": null
1576
+ },
1577
+ {
1578
+ "name": "thumbnailUrl",
1579
+ "description": null,
1580
+ "args": [],
1581
+ "type": {
1582
+ "kind": "NON_NULL",
1583
+ "name": null,
1584
+ "ofType": {
1585
+ "kind": "SCALAR",
1586
+ "name": "String",
1587
+ "ofType": null
1588
+ }
1589
+ },
1590
+ "isDeprecated": false,
1591
+ "deprecationReason": null
1592
+ },
1593
+ {
1594
+ "name": "tinyUrl",
1595
+ "description": null,
1596
+ "args": [],
1597
+ "type": {
1598
+ "kind": "NON_NULL",
1599
+ "name": null,
1600
+ "ofType": {
1601
+ "kind": "SCALAR",
1602
+ "name": "String",
1603
+ "ofType": null
1604
+ }
1605
+ },
1606
+ "isDeprecated": false,
1607
+ "deprecationReason": null
1608
+ }
1609
+ ],
1610
+ "inputFields": null,
1611
+ "interfaces": [],
1612
+ "enumValues": null,
1613
+ "possibleTypes": null
1614
+ },
1615
+ {
1616
+ "kind": "OBJECT",
1617
+ "name": "InformationRequest",
1618
+ "description": null,
1619
+ "fields": [
1620
+ {
1621
+ "name": "content",
1622
+ "description": null,
1623
+ "args": [],
1624
+ "type": {
1625
+ "kind": "NON_NULL",
1626
+ "name": null,
1627
+ "ofType": {
1628
+ "kind": "SCALAR",
1629
+ "name": "String",
1630
+ "ofType": null
1631
+ }
1632
+ },
1633
+ "isDeprecated": false,
1634
+ "deprecationReason": null
1635
+ },
1636
+ {
1637
+ "name": "contentHtml",
1638
+ "description": null,
1639
+ "args": [],
1640
+ "type": {
1641
+ "kind": "NON_NULL",
1642
+ "name": null,
1643
+ "ofType": {
1644
+ "kind": "SCALAR",
1645
+ "name": "String",
1646
+ "ofType": null
1647
+ }
1648
+ },
1649
+ "isDeprecated": false,
1650
+ "deprecationReason": null
1651
+ },
1652
+ {
1653
+ "name": "createdAt",
1654
+ "description": null,
1758
1655
  "args": [],
1759
1656
  "type": {
1760
1657
  "kind": "NON_NULL",
@@ -1769,24 +1666,60 @@
1769
1666
  "deprecationReason": null
1770
1667
  },
1771
1668
  {
1772
- "name": "underContract",
1773
- "description": "Indicates the item is under contract",
1669
+ "name": "fields",
1670
+ "description": null,
1671
+ "args": [],
1672
+ "type": {
1673
+ "kind": "NON_NULL",
1674
+ "name": null,
1675
+ "ofType": {
1676
+ "kind": "LIST",
1677
+ "name": null,
1678
+ "ofType": {
1679
+ "kind": "NON_NULL",
1680
+ "name": null,
1681
+ "ofType": {
1682
+ "kind": "OBJECT",
1683
+ "name": "InformationRequestField",
1684
+ "ofType": null
1685
+ }
1686
+ }
1687
+ }
1688
+ },
1689
+ "isDeprecated": false,
1690
+ "deprecationReason": null
1691
+ },
1692
+ {
1693
+ "name": "id",
1694
+ "description": null,
1774
1695
  "args": [],
1775
1696
  "type": {
1776
1697
  "kind": "NON_NULL",
1777
1698
  "name": null,
1778
1699
  "ofType": {
1779
1700
  "kind": "SCALAR",
1780
- "name": "Boolean",
1701
+ "name": "ID",
1781
1702
  "ofType": null
1782
1703
  }
1783
1704
  },
1784
1705
  "isDeprecated": false,
1785
1706
  "deprecationReason": null
1786
1707
  },
1708
+ {
1709
+ "name": "respondedAt",
1710
+ "description": null,
1711
+ "args": [],
1712
+ "type": {
1713
+ "kind": "SCALAR",
1714
+ "name": "DateTime",
1715
+ "ofType": null
1716
+ },
1717
+ "isDeprecated": false,
1718
+ "deprecationReason": null
1719
+ },
1787
1720
  {
1788
1721
  "name": "updatedAt",
1789
- "description": "The last time the record was updated",
1722
+ "description": null,
1790
1723
  "args": [],
1791
1724
  "type": {
1792
1725
  "kind": "NON_NULL",
@@ -1807,178 +1740,1058 @@
1807
1740
  "possibleTypes": null
1808
1741
  },
1809
1742
  {
1810
- "kind": "SCALAR",
1811
- "name": "Money",
1812
- "description": "Represents money value",
1743
+ "kind": "INPUT_OBJECT",
1744
+ "name": "InformationRequestAttributes",
1745
+ "description": "Attributes for updating an information request",
1813
1746
  "fields": null,
1814
- "inputFields": null,
1747
+ "inputFields": [
1748
+ {
1749
+ "name": "fields",
1750
+ "description": null,
1751
+ "type": {
1752
+ "kind": "NON_NULL",
1753
+ "name": null,
1754
+ "ofType": {
1755
+ "kind": "LIST",
1756
+ "name": null,
1757
+ "ofType": {
1758
+ "kind": "NON_NULL",
1759
+ "name": null,
1760
+ "ofType": {
1761
+ "kind": "INPUT_OBJECT",
1762
+ "name": "InformationRequestFieldAttributes",
1763
+ "ofType": null
1764
+ }
1765
+ }
1766
+ }
1767
+ },
1768
+ "defaultValue": null
1769
+ }
1770
+ ],
1815
1771
  "interfaces": null,
1816
1772
  "enumValues": null,
1817
1773
  "possibleTypes": null
1818
1774
  },
1819
1775
  {
1820
1776
  "kind": "OBJECT",
1821
- "name": "Mutation",
1822
- "description": null,
1777
+ "name": "InformationRequestConnection",
1778
+ "description": "The connection type for InformationRequest.",
1823
1779
  "fields": [
1824
1780
  {
1825
- "name": "AcceptOffer",
1826
- "description": "Accept an offer",
1827
- "args": [
1828
- {
1829
- "name": "input",
1830
- "description": null,
1831
- "type": {
1781
+ "name": "edges",
1782
+ "description": "A list of edges.",
1783
+ "args": [],
1784
+ "type": {
1785
+ "kind": "NON_NULL",
1786
+ "name": null,
1787
+ "ofType": {
1788
+ "kind": "LIST",
1789
+ "name": null,
1790
+ "ofType": {
1832
1791
  "kind": "NON_NULL",
1833
1792
  "name": null,
1834
1793
  "ofType": {
1835
- "kind": "INPUT_OBJECT",
1836
- "name": "AcceptOfferInput",
1794
+ "kind": "OBJECT",
1795
+ "name": "InformationRequestEdge",
1837
1796
  "ofType": null
1838
1797
  }
1839
- },
1840
- "defaultValue": null
1798
+ }
1841
1799
  }
1842
- ],
1800
+ },
1801
+ "isDeprecated": false,
1802
+ "deprecationReason": null
1803
+ },
1804
+ {
1805
+ "name": "nodes",
1806
+ "description": "A list of nodes.",
1807
+ "args": [],
1843
1808
  "type": {
1844
- "kind": "OBJECT",
1845
- "name": "AcceptOfferPayload",
1809
+ "kind": "NON_NULL",
1810
+ "name": null,
1811
+ "ofType": {
1812
+ "kind": "LIST",
1813
+ "name": null,
1814
+ "ofType": {
1815
+ "kind": "NON_NULL",
1816
+ "name": null,
1817
+ "ofType": {
1818
+ "kind": "OBJECT",
1819
+ "name": "InformationRequest",
1820
+ "ofType": null
1821
+ }
1822
+ }
1823
+ }
1824
+ },
1825
+ "isDeprecated": false,
1826
+ "deprecationReason": null
1827
+ },
1828
+ {
1829
+ "name": "pageInfo",
1830
+ "description": "Information to aid in pagination.",
1831
+ "args": [],
1832
+ "type": {
1833
+ "kind": "NON_NULL",
1834
+ "name": null,
1835
+ "ofType": {
1836
+ "kind": "OBJECT",
1837
+ "name": "PageInfo",
1838
+ "ofType": null
1839
+ }
1840
+ },
1841
+ "isDeprecated": false,
1842
+ "deprecationReason": null
1843
+ },
1844
+ {
1845
+ "name": "totalCount",
1846
+ "description": null,
1847
+ "args": [],
1848
+ "type": {
1849
+ "kind": "NON_NULL",
1850
+ "name": null,
1851
+ "ofType": {
1852
+ "kind": "SCALAR",
1853
+ "name": "Int",
1854
+ "ofType": null
1855
+ }
1856
+ },
1857
+ "isDeprecated": false,
1858
+ "deprecationReason": null
1859
+ }
1860
+ ],
1861
+ "inputFields": null,
1862
+ "interfaces": [],
1863
+ "enumValues": null,
1864
+ "possibleTypes": null
1865
+ },
1866
+ {
1867
+ "kind": "OBJECT",
1868
+ "name": "InformationRequestEdge",
1869
+ "description": "An edge in a connection.",
1870
+ "fields": [
1871
+ {
1872
+ "name": "cursor",
1873
+ "description": "A cursor for use in pagination.",
1874
+ "args": [],
1875
+ "type": {
1876
+ "kind": "NON_NULL",
1877
+ "name": null,
1878
+ "ofType": {
1879
+ "kind": "SCALAR",
1880
+ "name": "String",
1881
+ "ofType": null
1882
+ }
1883
+ },
1884
+ "isDeprecated": false,
1885
+ "deprecationReason": null
1886
+ },
1887
+ {
1888
+ "name": "node",
1889
+ "description": "The item at the end of the edge.",
1890
+ "args": [],
1891
+ "type": {
1892
+ "kind": "OBJECT",
1893
+ "name": "InformationRequest",
1894
+ "ofType": null
1895
+ },
1896
+ "isDeprecated": false,
1897
+ "deprecationReason": null
1898
+ }
1899
+ ],
1900
+ "inputFields": null,
1901
+ "interfaces": [],
1902
+ "enumValues": null,
1903
+ "possibleTypes": null
1904
+ },
1905
+ {
1906
+ "kind": "OBJECT",
1907
+ "name": "InformationRequestField",
1908
+ "description": null,
1909
+ "fields": [
1910
+ {
1911
+ "name": "createdAt",
1912
+ "description": null,
1913
+ "args": [],
1914
+ "type": {
1915
+ "kind": "NON_NULL",
1916
+ "name": null,
1917
+ "ofType": {
1918
+ "kind": "SCALAR",
1919
+ "name": "DateTime",
1920
+ "ofType": null
1921
+ }
1922
+ },
1923
+ "isDeprecated": false,
1924
+ "deprecationReason": null
1925
+ },
1926
+ {
1927
+ "name": "dataType",
1928
+ "description": null,
1929
+ "args": [],
1930
+ "type": {
1931
+ "kind": "NON_NULL",
1932
+ "name": null,
1933
+ "ofType": {
1934
+ "kind": "SCALAR",
1935
+ "name": "String",
1936
+ "ofType": null
1937
+ }
1938
+ },
1939
+ "isDeprecated": false,
1940
+ "deprecationReason": null
1941
+ },
1942
+ {
1943
+ "name": "id",
1944
+ "description": null,
1945
+ "args": [],
1946
+ "type": {
1947
+ "kind": "NON_NULL",
1948
+ "name": null,
1949
+ "ofType": {
1950
+ "kind": "SCALAR",
1951
+ "name": "ID",
1952
+ "ofType": null
1953
+ }
1954
+ },
1955
+ "isDeprecated": false,
1956
+ "deprecationReason": null
1957
+ },
1958
+ {
1959
+ "name": "label",
1960
+ "description": null,
1961
+ "args": [],
1962
+ "type": {
1963
+ "kind": "NON_NULL",
1964
+ "name": null,
1965
+ "ofType": {
1966
+ "kind": "SCALAR",
1967
+ "name": "String",
1968
+ "ofType": null
1969
+ }
1970
+ },
1971
+ "isDeprecated": false,
1972
+ "deprecationReason": null
1973
+ },
1974
+ {
1975
+ "name": "placeholder",
1976
+ "description": null,
1977
+ "args": [],
1978
+ "type": {
1979
+ "kind": "NON_NULL",
1980
+ "name": null,
1981
+ "ofType": {
1982
+ "kind": "SCALAR",
1983
+ "name": "String",
1984
+ "ofType": null
1985
+ }
1986
+ },
1987
+ "isDeprecated": false,
1988
+ "deprecationReason": null
1989
+ },
1990
+ {
1991
+ "name": "updatedAt",
1992
+ "description": null,
1993
+ "args": [],
1994
+ "type": {
1995
+ "kind": "NON_NULL",
1996
+ "name": null,
1997
+ "ofType": {
1998
+ "kind": "SCALAR",
1999
+ "name": "DateTime",
2000
+ "ofType": null
2001
+ }
2002
+ },
2003
+ "isDeprecated": false,
2004
+ "deprecationReason": null
2005
+ },
2006
+ {
2007
+ "name": "value",
2008
+ "description": null,
2009
+ "args": [],
2010
+ "type": {
2011
+ "kind": "SCALAR",
2012
+ "name": "String",
2013
+ "ofType": null
2014
+ },
2015
+ "isDeprecated": false,
2016
+ "deprecationReason": null
2017
+ }
2018
+ ],
2019
+ "inputFields": null,
2020
+ "interfaces": [],
2021
+ "enumValues": null,
2022
+ "possibleTypes": null
2023
+ },
2024
+ {
2025
+ "kind": "INPUT_OBJECT",
2026
+ "name": "InformationRequestFieldAttributes",
2027
+ "description": "Attributes for udpating information request fields",
2028
+ "fields": null,
2029
+ "inputFields": [
2030
+ {
2031
+ "name": "id",
2032
+ "description": null,
2033
+ "type": {
2034
+ "kind": "NON_NULL",
2035
+ "name": null,
2036
+ "ofType": {
2037
+ "kind": "SCALAR",
2038
+ "name": "ID",
2039
+ "ofType": null
2040
+ }
2041
+ },
2042
+ "defaultValue": null
2043
+ },
2044
+ {
2045
+ "name": "value",
2046
+ "description": null,
2047
+ "type": {
2048
+ "kind": "NON_NULL",
2049
+ "name": null,
2050
+ "ofType": {
2051
+ "kind": "SCALAR",
2052
+ "name": "String",
2053
+ "ofType": null
2054
+ }
2055
+ },
2056
+ "defaultValue": null
2057
+ }
2058
+ ],
2059
+ "interfaces": null,
2060
+ "enumValues": null,
2061
+ "possibleTypes": null
2062
+ },
2063
+ {
2064
+ "kind": "SCALAR",
2065
+ "name": "Int",
2066
+ "description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",
2067
+ "fields": null,
2068
+ "inputFields": null,
2069
+ "interfaces": null,
2070
+ "enumValues": null,
2071
+ "possibleTypes": null
2072
+ },
2073
+ {
2074
+ "kind": "OBJECT",
2075
+ "name": "Item",
2076
+ "description": null,
2077
+ "fields": [
2078
+ {
2079
+ "name": "createdAt",
2080
+ "description": "The date the record was created",
2081
+ "args": [],
2082
+ "type": {
2083
+ "kind": "NON_NULL",
2084
+ "name": null,
2085
+ "ofType": {
2086
+ "kind": "SCALAR",
2087
+ "name": "DateTime",
2088
+ "ofType": null
2089
+ }
2090
+ },
2091
+ "isDeprecated": false,
2092
+ "deprecationReason": null
2093
+ },
2094
+ {
2095
+ "name": "duration",
2096
+ "description": "The length of time in months that an item's savings is good for",
2097
+ "args": [],
2098
+ "type": {
2099
+ "kind": "NON_NULL",
2100
+ "name": null,
2101
+ "ofType": {
2102
+ "kind": "SCALAR",
2103
+ "name": "Int",
2104
+ "ofType": null
2105
+ }
2106
+ },
2107
+ "isDeprecated": false,
2108
+ "deprecationReason": null
2109
+ },
2110
+ {
2111
+ "name": "name",
2112
+ "description": "Name of the good or service",
2113
+ "args": [],
2114
+ "type": {
2115
+ "kind": "NON_NULL",
2116
+ "name": null,
2117
+ "ofType": {
2118
+ "kind": "SCALAR",
2119
+ "name": "String",
2120
+ "ofType": null
2121
+ }
2122
+ },
2123
+ "isDeprecated": false,
2124
+ "deprecationReason": null
2125
+ },
2126
+ {
2127
+ "name": "postPrice",
2128
+ "description": "The post-negotiation price",
2129
+ "args": [],
2130
+ "type": {
2131
+ "kind": "NON_NULL",
2132
+ "name": null,
2133
+ "ofType": {
2134
+ "kind": "SCALAR",
2135
+ "name": "Money",
2136
+ "ofType": null
2137
+ }
2138
+ },
2139
+ "isDeprecated": false,
2140
+ "deprecationReason": null
2141
+ },
2142
+ {
2143
+ "name": "prePrice",
2144
+ "description": "The pre-negotiation price",
2145
+ "args": [],
2146
+ "type": {
2147
+ "kind": "NON_NULL",
2148
+ "name": null,
2149
+ "ofType": {
2150
+ "kind": "SCALAR",
2151
+ "name": "Money",
2152
+ "ofType": null
2153
+ }
2154
+ },
2155
+ "isDeprecated": false,
2156
+ "deprecationReason": null
2157
+ },
2158
+ {
2159
+ "name": "savings",
2160
+ "description": "The difference between the prePrice and the postPrice",
2161
+ "args": [],
2162
+ "type": {
2163
+ "kind": "NON_NULL",
2164
+ "name": null,
2165
+ "ofType": {
2166
+ "kind": "SCALAR",
2167
+ "name": "Money",
2168
+ "ofType": null
2169
+ }
2170
+ },
2171
+ "isDeprecated": false,
2172
+ "deprecationReason": null
2173
+ },
2174
+ {
2175
+ "name": "savingsEndOn",
2176
+ "description": "The date the discount/savings end",
2177
+ "args": [],
2178
+ "type": {
2179
+ "kind": "NON_NULL",
2180
+ "name": null,
2181
+ "ofType": {
2182
+ "kind": "SCALAR",
2183
+ "name": "DateTime",
2184
+ "ofType": null
2185
+ }
2186
+ },
2187
+ "isDeprecated": false,
2188
+ "deprecationReason": null
2189
+ },
2190
+ {
2191
+ "name": "savingsStartOn",
2192
+ "description": "The date the discount/savings start",
2193
+ "args": [],
2194
+ "type": {
2195
+ "kind": "NON_NULL",
2196
+ "name": null,
2197
+ "ofType": {
2198
+ "kind": "SCALAR",
2199
+ "name": "DateTime",
2200
+ "ofType": null
2201
+ }
2202
+ },
2203
+ "isDeprecated": false,
2204
+ "deprecationReason": null
2205
+ },
2206
+ {
2207
+ "name": "underContract",
2208
+ "description": "Indicates the item is under contract",
2209
+ "args": [],
2210
+ "type": {
2211
+ "kind": "NON_NULL",
2212
+ "name": null,
2213
+ "ofType": {
2214
+ "kind": "SCALAR",
2215
+ "name": "Boolean",
2216
+ "ofType": null
2217
+ }
2218
+ },
2219
+ "isDeprecated": false,
2220
+ "deprecationReason": null
2221
+ },
2222
+ {
2223
+ "name": "updatedAt",
2224
+ "description": "The last time the record was updated",
2225
+ "args": [],
2226
+ "type": {
2227
+ "kind": "NON_NULL",
2228
+ "name": null,
2229
+ "ofType": {
2230
+ "kind": "SCALAR",
2231
+ "name": "DateTime",
2232
+ "ofType": null
2233
+ }
2234
+ },
2235
+ "isDeprecated": false,
2236
+ "deprecationReason": null
2237
+ }
2238
+ ],
2239
+ "inputFields": null,
2240
+ "interfaces": [],
2241
+ "enumValues": null,
2242
+ "possibleTypes": null
2243
+ },
2244
+ {
2245
+ "kind": "SCALAR",
2246
+ "name": "Money",
2247
+ "description": "Represents money value",
2248
+ "fields": null,
2249
+ "inputFields": null,
2250
+ "interfaces": null,
2251
+ "enumValues": null,
2252
+ "possibleTypes": null
2253
+ },
2254
+ {
2255
+ "kind": "OBJECT",
2256
+ "name": "Mutation",
2257
+ "description": null,
2258
+ "fields": [
2259
+ {
2260
+ "name": "AcceptOffer",
2261
+ "description": "Accept an offer",
2262
+ "args": [
2263
+ {
2264
+ "name": "input",
2265
+ "description": null,
2266
+ "type": {
2267
+ "kind": "NON_NULL",
2268
+ "name": null,
2269
+ "ofType": {
2270
+ "kind": "INPUT_OBJECT",
2271
+ "name": "AcceptOfferInput",
2272
+ "ofType": null
2273
+ }
2274
+ },
2275
+ "defaultValue": null
2276
+ }
2277
+ ],
2278
+ "type": {
2279
+ "kind": "OBJECT",
2280
+ "name": "AcceptOfferPayload",
2281
+ "ofType": null
2282
+ },
2283
+ "isDeprecated": false,
2284
+ "deprecationReason": null
2285
+ },
2286
+ {
2287
+ "name": "CancelBill",
2288
+ "description": null,
2289
+ "args": [
2290
+ {
2291
+ "name": "input",
2292
+ "description": null,
2293
+ "type": {
2294
+ "kind": "NON_NULL",
2295
+ "name": null,
2296
+ "ofType": {
2297
+ "kind": "INPUT_OBJECT",
2298
+ "name": "CancelBillInput",
2299
+ "ofType": null
2300
+ }
2301
+ },
2302
+ "defaultValue": null
2303
+ }
2304
+ ],
2305
+ "type": {
2306
+ "kind": "OBJECT",
2307
+ "name": "CancelBillPayload",
2308
+ "ofType": null
2309
+ },
2310
+ "isDeprecated": false,
2311
+ "deprecationReason": null
2312
+ },
2313
+ {
2314
+ "name": "CreateBill",
2315
+ "description": null,
2316
+ "args": [
2317
+ {
2318
+ "name": "input",
2319
+ "description": null,
2320
+ "type": {
2321
+ "kind": "NON_NULL",
2322
+ "name": null,
2323
+ "ofType": {
2324
+ "kind": "INPUT_OBJECT",
2325
+ "name": "CreateBillInput",
2326
+ "ofType": null
2327
+ }
2328
+ },
2329
+ "defaultValue": null
2330
+ }
2331
+ ],
2332
+ "type": {
2333
+ "kind": "OBJECT",
2334
+ "name": "CreateBillPayload",
2335
+ "ofType": null
2336
+ },
2337
+ "isDeprecated": false,
2338
+ "deprecationReason": null
2339
+ },
2340
+ {
2341
+ "name": "CreateCustomer",
2342
+ "description": null,
2343
+ "args": [
2344
+ {
2345
+ "name": "input",
2346
+ "description": null,
2347
+ "type": {
2348
+ "kind": "NON_NULL",
2349
+ "name": null,
2350
+ "ofType": {
2351
+ "kind": "INPUT_OBJECT",
2352
+ "name": "CreateCustomerInput",
2353
+ "ofType": null
2354
+ }
2355
+ },
2356
+ "defaultValue": null
2357
+ }
2358
+ ],
2359
+ "type": {
2360
+ "kind": "OBJECT",
2361
+ "name": "CreateCustomerPayload",
2362
+ "ofType": null
2363
+ },
2364
+ "isDeprecated": false,
2365
+ "deprecationReason": null
2366
+ },
2367
+ {
2368
+ "name": "RejectOffer",
2369
+ "description": "Reject an offer",
2370
+ "args": [
2371
+ {
2372
+ "name": "input",
2373
+ "description": null,
2374
+ "type": {
2375
+ "kind": "NON_NULL",
2376
+ "name": null,
2377
+ "ofType": {
2378
+ "kind": "INPUT_OBJECT",
2379
+ "name": "RejectOfferInput",
2380
+ "ofType": null
2381
+ }
2382
+ },
2383
+ "defaultValue": null
2384
+ }
2385
+ ],
2386
+ "type": {
2387
+ "kind": "OBJECT",
2388
+ "name": "RejectOfferPayload",
2389
+ "ofType": null
2390
+ },
2391
+ "isDeprecated": false,
2392
+ "deprecationReason": null
2393
+ },
2394
+ {
2395
+ "name": "RespondToInformationRequest",
2396
+ "description": null,
2397
+ "args": [
2398
+ {
2399
+ "name": "input",
2400
+ "description": null,
2401
+ "type": {
2402
+ "kind": "NON_NULL",
2403
+ "name": null,
2404
+ "ofType": {
2405
+ "kind": "INPUT_OBJECT",
2406
+ "name": "RespondToInformationRequestInput",
2407
+ "ofType": null
2408
+ }
2409
+ },
2410
+ "defaultValue": null
2411
+ }
2412
+ ],
2413
+ "type": {
2414
+ "kind": "OBJECT",
2415
+ "name": "RespondToInformationRequestPayload",
2416
+ "ofType": null
2417
+ },
2418
+ "isDeprecated": false,
2419
+ "deprecationReason": null
2420
+ },
2421
+ {
2422
+ "name": "UpdateCustomer",
2423
+ "description": null,
2424
+ "args": [
2425
+ {
2426
+ "name": "input",
2427
+ "description": null,
2428
+ "type": {
2429
+ "kind": "NON_NULL",
2430
+ "name": null,
2431
+ "ofType": {
2432
+ "kind": "INPUT_OBJECT",
2433
+ "name": "UpdateCustomerInput",
2434
+ "ofType": null
2435
+ }
2436
+ },
2437
+ "defaultValue": null
2438
+ }
2439
+ ],
2440
+ "type": {
2441
+ "kind": "OBJECT",
2442
+ "name": "UpdateCustomerPayload",
2443
+ "ofType": null
2444
+ },
2445
+ "isDeprecated": false,
2446
+ "deprecationReason": null
2447
+ }
2448
+ ],
2449
+ "inputFields": null,
2450
+ "interfaces": [],
2451
+ "enumValues": null,
2452
+ "possibleTypes": null
2453
+ },
2454
+ {
2455
+ "kind": "OBJECT",
2456
+ "name": "Negotiation",
2457
+ "description": null,
2458
+ "fields": [
2459
+ {
2460
+ "name": "billId",
2461
+ "description": null,
2462
+ "args": [],
2463
+ "type": {
2464
+ "kind": "NON_NULL",
2465
+ "name": null,
2466
+ "ofType": {
2467
+ "kind": "SCALAR",
2468
+ "name": "ID",
2469
+ "ofType": null
2470
+ }
2471
+ },
2472
+ "isDeprecated": false,
2473
+ "deprecationReason": null
2474
+ },
2475
+ {
2476
+ "name": "cancelledAt",
2477
+ "description": null,
2478
+ "args": [],
2479
+ "type": {
2480
+ "kind": "SCALAR",
2481
+ "name": "DateTime",
2482
+ "ofType": null
2483
+ },
2484
+ "isDeprecated": false,
2485
+ "deprecationReason": null
2486
+ },
2487
+ {
2488
+ "name": "compedAt",
2489
+ "description": null,
2490
+ "args": [],
2491
+ "type": {
2492
+ "kind": "SCALAR",
2493
+ "name": "DateTime",
2494
+ "ofType": null
2495
+ },
2496
+ "isDeprecated": false,
2497
+ "deprecationReason": null
2498
+ },
2499
+ {
2500
+ "name": "createdAt",
2501
+ "description": null,
2502
+ "args": [],
2503
+ "type": {
2504
+ "kind": "NON_NULL",
2505
+ "name": null,
2506
+ "ofType": {
2507
+ "kind": "SCALAR",
2508
+ "name": "DateTime",
2509
+ "ofType": null
2510
+ }
2511
+ },
2512
+ "isDeprecated": false,
2513
+ "deprecationReason": null
2514
+ },
2515
+ {
2516
+ "name": "deletedAt",
2517
+ "description": null,
2518
+ "args": [],
2519
+ "type": {
2520
+ "kind": "SCALAR",
2521
+ "name": "DateTime",
2522
+ "ofType": null
2523
+ },
2524
+ "isDeprecated": false,
2525
+ "deprecationReason": null
2526
+ },
2527
+ {
2528
+ "name": "failedAt",
2529
+ "description": null,
2530
+ "args": [],
2531
+ "type": {
2532
+ "kind": "SCALAR",
2533
+ "name": "DateTime",
2534
+ "ofType": null
2535
+ },
2536
+ "isDeprecated": false,
2537
+ "deprecationReason": null
2538
+ },
2539
+ {
2540
+ "name": "fixedAt",
2541
+ "description": null,
2542
+ "args": [],
2543
+ "type": {
2544
+ "kind": "SCALAR",
2545
+ "name": "DateTime",
2546
+ "ofType": null
2547
+ },
2548
+ "isDeprecated": false,
2549
+ "deprecationReason": null
2550
+ },
2551
+ {
2552
+ "name": "fixerIds",
2553
+ "description": null,
2554
+ "args": [],
2555
+ "type": {
2556
+ "kind": "NON_NULL",
2557
+ "name": null,
2558
+ "ofType": {
2559
+ "kind": "LIST",
2560
+ "name": null,
2561
+ "ofType": {
2562
+ "kind": "NON_NULL",
2563
+ "name": null,
2564
+ "ofType": {
2565
+ "kind": "SCALAR",
2566
+ "name": "ID",
2567
+ "ofType": null
2568
+ }
2569
+ }
2570
+ }
2571
+ },
2572
+ "isDeprecated": false,
2573
+ "deprecationReason": null
2574
+ },
2575
+ {
2576
+ "name": "fixers",
2577
+ "description": null,
2578
+ "args": [],
2579
+ "type": {
2580
+ "kind": "NON_NULL",
2581
+ "name": null,
2582
+ "ofType": {
2583
+ "kind": "LIST",
2584
+ "name": null,
2585
+ "ofType": {
2586
+ "kind": "NON_NULL",
2587
+ "name": null,
2588
+ "ofType": {
2589
+ "kind": "OBJECT",
2590
+ "name": "Fixer",
2591
+ "ofType": null
2592
+ }
2593
+ }
2594
+ }
2595
+ },
2596
+ "isDeprecated": false,
2597
+ "deprecationReason": null
2598
+ },
2599
+ {
2600
+ "name": "id",
2601
+ "description": null,
2602
+ "args": [],
2603
+ "type": {
2604
+ "kind": "NON_NULL",
2605
+ "name": null,
2606
+ "ofType": {
2607
+ "kind": "SCALAR",
2608
+ "name": "ID",
2609
+ "ofType": null
2610
+ }
2611
+ },
2612
+ "isDeprecated": false,
2613
+ "deprecationReason": null
2614
+ },
2615
+ {
2616
+ "name": "informationRequests",
2617
+ "description": null,
2618
+ "args": [],
2619
+ "type": {
2620
+ "kind": "NON_NULL",
2621
+ "name": null,
2622
+ "ofType": {
2623
+ "kind": "LIST",
2624
+ "name": null,
2625
+ "ofType": {
2626
+ "kind": "NON_NULL",
2627
+ "name": null,
2628
+ "ofType": {
2629
+ "kind": "OBJECT",
2630
+ "name": "InformationRequest",
2631
+ "ofType": null
2632
+ }
2633
+ }
2634
+ }
2635
+ },
2636
+ "isDeprecated": false,
2637
+ "deprecationReason": null
2638
+ },
2639
+ {
2640
+ "name": "invoicedAt",
2641
+ "description": null,
2642
+ "args": [],
2643
+ "type": {
2644
+ "kind": "SCALAR",
2645
+ "name": "DateTime",
1846
2646
  "ofType": null
1847
2647
  },
1848
2648
  "isDeprecated": false,
1849
2649
  "deprecationReason": null
1850
2650
  },
1851
2651
  {
1852
- "name": "CancelBill",
2652
+ "name": "items",
1853
2653
  "description": null,
1854
- "args": [
1855
- {
1856
- "name": "input",
1857
- "description": null,
1858
- "type": {
2654
+ "args": [],
2655
+ "type": {
2656
+ "kind": "NON_NULL",
2657
+ "name": null,
2658
+ "ofType": {
2659
+ "kind": "LIST",
2660
+ "name": null,
2661
+ "ofType": {
1859
2662
  "kind": "NON_NULL",
1860
2663
  "name": null,
1861
2664
  "ofType": {
1862
- "kind": "INPUT_OBJECT",
1863
- "name": "CancelBillInput",
2665
+ "kind": "OBJECT",
2666
+ "name": "Item",
1864
2667
  "ofType": null
1865
2668
  }
1866
- },
1867
- "defaultValue": null
2669
+ }
1868
2670
  }
1869
- ],
1870
- "type": {
1871
- "kind": "OBJECT",
1872
- "name": "CancelBillPayload",
1873
- "ofType": null
1874
2671
  },
1875
2672
  "isDeprecated": false,
1876
2673
  "deprecationReason": null
1877
2674
  },
1878
2675
  {
1879
- "name": "CreateBill",
2676
+ "name": "negotiationNumber",
1880
2677
  "description": null,
1881
- "args": [
1882
- {
1883
- "name": "input",
1884
- "description": null,
1885
- "type": {
1886
- "kind": "NON_NULL",
1887
- "name": null,
1888
- "ofType": {
1889
- "kind": "INPUT_OBJECT",
1890
- "name": "CreateBillInput",
1891
- "ofType": null
1892
- }
1893
- },
1894
- "defaultValue": null
2678
+ "args": [],
2679
+ "type": {
2680
+ "kind": "NON_NULL",
2681
+ "name": null,
2682
+ "ofType": {
2683
+ "kind": "SCALAR",
2684
+ "name": "Int",
2685
+ "ofType": null
1895
2686
  }
1896
- ],
2687
+ },
2688
+ "isDeprecated": false,
2689
+ "deprecationReason": null
2690
+ },
2691
+ {
2692
+ "name": "requestedConsentAt",
2693
+ "description": null,
2694
+ "args": [],
1897
2695
  "type": {
1898
- "kind": "OBJECT",
1899
- "name": "CreateBillPayload",
2696
+ "kind": "SCALAR",
2697
+ "name": "DateTime",
1900
2698
  "ofType": null
1901
2699
  },
1902
2700
  "isDeprecated": false,
1903
2701
  "deprecationReason": null
1904
2702
  },
1905
2703
  {
1906
- "name": "CreateCustomer",
2704
+ "name": "requestedInformationAt",
1907
2705
  "description": null,
1908
- "args": [
1909
- {
1910
- "name": "input",
1911
- "description": null,
1912
- "type": {
1913
- "kind": "NON_NULL",
1914
- "name": null,
1915
- "ofType": {
1916
- "kind": "INPUT_OBJECT",
1917
- "name": "CreateCustomerInput",
1918
- "ofType": null
1919
- }
1920
- },
1921
- "defaultValue": null
1922
- }
1923
- ],
2706
+ "args": [],
1924
2707
  "type": {
1925
- "kind": "OBJECT",
1926
- "name": "CreateCustomerPayload",
2708
+ "kind": "SCALAR",
2709
+ "name": "DateTime",
1927
2710
  "ofType": null
1928
2711
  },
1929
2712
  "isDeprecated": false,
1930
2713
  "deprecationReason": null
1931
2714
  },
1932
2715
  {
1933
- "name": "RejectOffer",
1934
- "description": "Reject an offer",
1935
- "args": [
1936
- {
1937
- "name": "input",
1938
- "description": null,
1939
- "type": {
1940
- "kind": "NON_NULL",
1941
- "name": null,
1942
- "ofType": {
1943
- "kind": "INPUT_OBJECT",
1944
- "name": "RejectOfferInput",
1945
- "ofType": null
1946
- }
1947
- },
1948
- "defaultValue": null
1949
- }
1950
- ],
2716
+ "name": "startedAt",
2717
+ "description": null,
2718
+ "args": [],
1951
2719
  "type": {
1952
- "kind": "OBJECT",
1953
- "name": "RejectOfferPayload",
2720
+ "kind": "SCALAR",
2721
+ "name": "DateTime",
1954
2722
  "ofType": null
1955
2723
  },
1956
2724
  "isDeprecated": false,
1957
2725
  "deprecationReason": null
1958
2726
  },
1959
2727
  {
1960
- "name": "UpdateCustomer",
2728
+ "name": "state",
1961
2729
  "description": null,
1962
- "args": [
1963
- {
1964
- "name": "input",
1965
- "description": null,
1966
- "type": {
2730
+ "args": [],
2731
+ "type": {
2732
+ "kind": "NON_NULL",
2733
+ "name": null,
2734
+ "ofType": {
2735
+ "kind": "SCALAR",
2736
+ "name": "String",
2737
+ "ofType": null
2738
+ }
2739
+ },
2740
+ "isDeprecated": false,
2741
+ "deprecationReason": null
2742
+ },
2743
+ {
2744
+ "name": "tags",
2745
+ "description": null,
2746
+ "args": [],
2747
+ "type": {
2748
+ "kind": "NON_NULL",
2749
+ "name": null,
2750
+ "ofType": {
2751
+ "kind": "LIST",
2752
+ "name": null,
2753
+ "ofType": {
1967
2754
  "kind": "NON_NULL",
1968
2755
  "name": null,
1969
2756
  "ofType": {
1970
- "kind": "INPUT_OBJECT",
1971
- "name": "UpdateCustomerInput",
2757
+ "kind": "SCALAR",
2758
+ "name": "String",
1972
2759
  "ofType": null
1973
2760
  }
1974
- },
1975
- "defaultValue": null
2761
+ }
1976
2762
  }
1977
- ],
2763
+ },
2764
+ "isDeprecated": false,
2765
+ "deprecationReason": null
2766
+ },
2767
+ {
2768
+ "name": "totalSavings",
2769
+ "description": null,
2770
+ "args": [],
1978
2771
  "type": {
1979
- "kind": "OBJECT",
1980
- "name": "UpdateCustomerPayload",
1981
- "ofType": null
2772
+ "kind": "NON_NULL",
2773
+ "name": null,
2774
+ "ofType": {
2775
+ "kind": "SCALAR",
2776
+ "name": "Money",
2777
+ "ofType": null
2778
+ }
2779
+ },
2780
+ "isDeprecated": false,
2781
+ "deprecationReason": null
2782
+ },
2783
+ {
2784
+ "name": "updatedAt",
2785
+ "description": null,
2786
+ "args": [],
2787
+ "type": {
2788
+ "kind": "NON_NULL",
2789
+ "name": null,
2790
+ "ofType": {
2791
+ "kind": "SCALAR",
2792
+ "name": "DateTime",
2793
+ "ofType": null
2794
+ }
1982
2795
  },
1983
2796
  "isDeprecated": false,
1984
2797
  "deprecationReason": null
@@ -2354,6 +3167,30 @@
2354
3167
  "name": "Provider",
2355
3168
  "description": null,
2356
3169
  "fields": [
3170
+ {
3171
+ "name": "billFields",
3172
+ "description": null,
3173
+ "args": [],
3174
+ "type": {
3175
+ "kind": "NON_NULL",
3176
+ "name": null,
3177
+ "ofType": {
3178
+ "kind": "LIST",
3179
+ "name": null,
3180
+ "ofType": {
3181
+ "kind": "NON_NULL",
3182
+ "name": null,
3183
+ "ofType": {
3184
+ "kind": "SCALAR",
3185
+ "name": "String",
3186
+ "ofType": null
3187
+ }
3188
+ }
3189
+ }
3190
+ },
3191
+ "isDeprecated": false,
3192
+ "deprecationReason": null
3193
+ },
2357
3194
  {
2358
3195
  "name": "createdAt",
2359
3196
  "description": null,
@@ -2453,20 +3290,74 @@
2453
3290
  },
2454
3291
  "isDeprecated": false,
2455
3292
  "deprecationReason": null
2456
- }
2457
- ],
2458
- "inputFields": null,
2459
- "interfaces": [],
2460
- "enumValues": null,
2461
- "possibleTypes": null
2462
- },
2463
- {
2464
- "kind": "OBJECT",
2465
- "name": "Query",
2466
- "description": null,
2467
- "fields": [
3293
+ }
3294
+ ],
3295
+ "inputFields": null,
3296
+ "interfaces": [],
3297
+ "enumValues": null,
3298
+ "possibleTypes": null
3299
+ },
3300
+ {
3301
+ "kind": "OBJECT",
3302
+ "name": "Query",
3303
+ "description": null,
3304
+ "fields": [
3305
+ {
3306
+ "name": "FindBill",
3307
+ "description": null,
3308
+ "args": [
3309
+ {
3310
+ "name": "id",
3311
+ "description": null,
3312
+ "type": {
3313
+ "kind": "NON_NULL",
3314
+ "name": null,
3315
+ "ofType": {
3316
+ "kind": "SCALAR",
3317
+ "name": "ID",
3318
+ "ofType": null
3319
+ }
3320
+ },
3321
+ "defaultValue": null
3322
+ }
3323
+ ],
3324
+ "type": {
3325
+ "kind": "OBJECT",
3326
+ "name": "Bill",
3327
+ "ofType": null
3328
+ },
3329
+ "isDeprecated": false,
3330
+ "deprecationReason": null
3331
+ },
3332
+ {
3333
+ "name": "FindCustomer",
3334
+ "description": null,
3335
+ "args": [
3336
+ {
3337
+ "name": "id",
3338
+ "description": null,
3339
+ "type": {
3340
+ "kind": "NON_NULL",
3341
+ "name": null,
3342
+ "ofType": {
3343
+ "kind": "SCALAR",
3344
+ "name": "ID",
3345
+ "ofType": null
3346
+ }
3347
+ },
3348
+ "defaultValue": null
3349
+ }
3350
+ ],
3351
+ "type": {
3352
+ "kind": "OBJECT",
3353
+ "name": "Customer",
3354
+ "ofType": null
3355
+ },
3356
+ "isDeprecated": false,
3357
+ "deprecationReason": null
3358
+ },
2468
3359
  {
2469
- "name": "FindBill",
3360
+ "name": "FindInformationRequest",
2470
3361
  "description": null,
2471
3362
  "args": [
2472
3363
  {
@@ -2486,14 +3377,14 @@
2486
3377
  ],
2487
3378
  "type": {
2488
3379
  "kind": "OBJECT",
2489
- "name": "Bill",
3380
+ "name": "InformationRequest",
2490
3381
  "ofType": null
2491
3382
  },
2492
3383
  "isDeprecated": false,
2493
3384
  "deprecationReason": null
2494
3385
  },
2495
3386
  {
2496
- "name": "FindCustomer",
3387
+ "name": "FindOffer",
2497
3388
  "description": null,
2498
3389
  "args": [
2499
3390
  {
@@ -2513,7 +3404,7 @@
2513
3404
  ],
2514
3405
  "type": {
2515
3406
  "kind": "OBJECT",
2516
- "name": "Customer",
3407
+ "name": "Offer",
2517
3408
  "ofType": null
2518
3409
  },
2519
3410
  "isDeprecated": false,
@@ -2750,6 +3641,113 @@
2750
3641
  "isDeprecated": false,
2751
3642
  "deprecationReason": null
2752
3643
  },
3644
+ {
3645
+ "name": "ListInformationRequests",
3646
+ "description": null,
3647
+ "args": [
3648
+ {
3649
+ "name": "sortBy",
3650
+ "description": null,
3651
+ "type": {
3652
+ "kind": "SCALAR",
3653
+ "name": "String",
3654
+ "ofType": null
3655
+ },
3656
+ "defaultValue": "\"created_at\""
3657
+ },
3658
+ {
3659
+ "name": "sortDirection",
3660
+ "description": null,
3661
+ "type": {
3662
+ "kind": "SCALAR",
3663
+ "name": "String",
3664
+ "ofType": null
3665
+ },
3666
+ "defaultValue": "\"desc\""
3667
+ },
3668
+ {
3669
+ "name": "limit",
3670
+ "description": null,
3671
+ "type": {
3672
+ "kind": "SCALAR",
3673
+ "name": "Int",
3674
+ "ofType": null
3675
+ },
3676
+ "defaultValue": "25"
3677
+ },
3678
+ {
3679
+ "name": "offset",
3680
+ "description": null,
3681
+ "type": {
3682
+ "kind": "SCALAR",
3683
+ "name": "Int",
3684
+ "ofType": null
3685
+ },
3686
+ "defaultValue": "0"
3687
+ },
3688
+ {
3689
+ "name": "customerId",
3690
+ "description": null,
3691
+ "type": {
3692
+ "kind": "SCALAR",
3693
+ "name": "ID",
3694
+ "ofType": null
3695
+ },
3696
+ "defaultValue": null
3697
+ },
3698
+ {
3699
+ "name": "after",
3700
+ "description": "Returns the elements in the list that come after the specified cursor.",
3701
+ "type": {
3702
+ "kind": "SCALAR",
3703
+ "name": "String",
3704
+ "ofType": null
3705
+ },
3706
+ "defaultValue": null
3707
+ },
3708
+ {
3709
+ "name": "before",
3710
+ "description": "Returns the elements in the list that come before the specified cursor.",
3711
+ "type": {
3712
+ "kind": "SCALAR",
3713
+ "name": "String",
3714
+ "ofType": null
3715
+ },
3716
+ "defaultValue": null
3717
+ },
3718
+ {
3719
+ "name": "first",
3720
+ "description": "Returns the first _n_ elements from the list.",
3721
+ "type": {
3722
+ "kind": "SCALAR",
3723
+ "name": "Int",
3724
+ "ofType": null
3725
+ },
3726
+ "defaultValue": null
3727
+ },
3728
+ {
3729
+ "name": "last",
3730
+ "description": "Returns the last _n_ elements from the list.",
3731
+ "type": {
3732
+ "kind": "SCALAR",
3733
+ "name": "Int",
3734
+ "ofType": null
3735
+ },
3736
+ "defaultValue": null
3737
+ }
3738
+ ],
3739
+ "type": {
3740
+ "kind": "NON_NULL",
3741
+ "name": null,
3742
+ "ofType": {
3743
+ "kind": "OBJECT",
3744
+ "name": "InformationRequestConnection",
3745
+ "ofType": null
3746
+ }
3747
+ },
3748
+ "isDeprecated": false,
3749
+ "deprecationReason": null
3750
+ },
2753
3751
  {
2754
3752
  "name": "ListOffers",
2755
3753
  "description": null,
@@ -2997,6 +3995,138 @@
2997
3995
  "enumValues": null,
2998
3996
  "possibleTypes": null
2999
3997
  },
3998
+ {
3999
+ "kind": "INPUT_OBJECT",
4000
+ "name": "RespondToInformationRequestInput",
4001
+ "description": "Autogenerated input type of RespondToInformationRequest",
4002
+ "fields": null,
4003
+ "inputFields": [
4004
+ {
4005
+ "name": "id",
4006
+ "description": "Id of the information request",
4007
+ "type": {
4008
+ "kind": "NON_NULL",
4009
+ "name": null,
4010
+ "ofType": {
4011
+ "kind": "SCALAR",
4012
+ "name": "ID",
4013
+ "ofType": null
4014
+ }
4015
+ },
4016
+ "defaultValue": null
4017
+ },
4018
+ {
4019
+ "name": "informationRequest",
4020
+ "description": null,
4021
+ "type": {
4022
+ "kind": "NON_NULL",
4023
+ "name": null,
4024
+ "ofType": {
4025
+ "kind": "INPUT_OBJECT",
4026
+ "name": "InformationRequestAttributes",
4027
+ "ofType": null
4028
+ }
4029
+ },
4030
+ "defaultValue": null
4031
+ },
4032
+ {
4033
+ "name": "clientMutationId",
4034
+ "description": "A unique identifier for the client performing the mutation.",
4035
+ "type": {
4036
+ "kind": "SCALAR",
4037
+ "name": "String",
4038
+ "ofType": null
4039
+ },
4040
+ "defaultValue": null
4041
+ }
4042
+ ],
4043
+ "interfaces": null,
4044
+ "enumValues": null,
4045
+ "possibleTypes": null
4046
+ },
4047
+ {
4048
+ "kind": "OBJECT",
4049
+ "name": "RespondToInformationRequestPayload",
4050
+ "description": "Autogenerated return type of RespondToInformationRequest",
4051
+ "fields": [
4052
+ {
4053
+ "name": "bill",
4054
+ "description": null,
4055
+ "args": [],
4056
+ "type": {
4057
+ "kind": "OBJECT",
4058
+ "name": "Bill",
4059
+ "ofType": null
4060
+ },
4061
+ "isDeprecated": false,
4062
+ "deprecationReason": null
4063
+ },
4064
+ {
4065
+ "name": "clientMutationId",
4066
+ "description": "A unique identifier for the client performing the mutation.",
4067
+ "args": [],
4068
+ "type": {
4069
+ "kind": "SCALAR",
4070
+ "name": "String",
4071
+ "ofType": null
4072
+ },
4073
+ "isDeprecated": false,
4074
+ "deprecationReason": null
4075
+ },
4076
+ {
4077
+ "name": "errors",
4078
+ "description": null,
4079
+ "args": [],
4080
+ "type": {
4081
+ "kind": "NON_NULL",
4082
+ "name": null,
4083
+ "ofType": {
4084
+ "kind": "LIST",
4085
+ "name": null,
4086
+ "ofType": {
4087
+ "kind": "NON_NULL",
4088
+ "name": null,
4089
+ "ofType": {
4090
+ "kind": "SCALAR",
4091
+ "name": "String",
4092
+ "ofType": null
4093
+ }
4094
+ }
4095
+ }
4096
+ },
4097
+ "isDeprecated": false,
4098
+ "deprecationReason": null
4099
+ },
4100
+ {
4101
+ "name": "informationRequest",
4102
+ "description": null,
4103
+ "args": [],
4104
+ "type": {
4105
+ "kind": "OBJECT",
4106
+ "name": "InformationRequest",
4107
+ "ofType": null
4108
+ },
4109
+ "isDeprecated": false,
4110
+ "deprecationReason": null
4111
+ },
4112
+ {
4113
+ "name": "negotiation",
4114
+ "description": null,
4115
+ "args": [],
4116
+ "type": {
4117
+ "kind": "OBJECT",
4118
+ "name": "Negotiation",
4119
+ "ofType": null
4120
+ },
4121
+ "isDeprecated": false,
4122
+ "deprecationReason": null
4123
+ }
4124
+ ],
4125
+ "inputFields": null,
4126
+ "interfaces": [],
4127
+ "enumValues": null,
4128
+ "possibleTypes": null
4129
+ },
3000
4130
  {
3001
4131
  "kind": "SCALAR",
3002
4132
  "name": "String",