billfixers-partner 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eb1f65cd417536c42ec7f1273fc42f8b7de5eecffeeb8f13c2c231a9c1f478fb
4
- data.tar.gz: c9b162ec71fb406f426c95131e7d704ebfdc4492a70db97192ecc6fd3793fb96
3
+ metadata.gz: 0d5d330e94865c48af1e3ea7d7dba319ce298dd3ccaadb693ce1e21e5aa0cb0d
4
+ data.tar.gz: e00b616103fcecf1e19f33f7d277b23a64e7fea0cd935dfb244513517cdbad35
5
5
  SHA512:
6
- metadata.gz: 7d5f6259621717cb1bdfc88ce03e1eb6a9c99c5729844cc0c9ba55ca3b60ec3ad5cf17229b50f060fb50b89c2327dad149c3984bd95453829b8b5fff8929be1e
7
- data.tar.gz: a1ea49d93c683e86059dc27b6930d159bca884bcdc4d27a3c8fee38854311fd58ebc7c48d1b629ed3fa736e0c4e361c92c610777eb3f1d3ee05fff360bd97b12
6
+ metadata.gz: 88c78ddfa1a2a445fe53d1590691644fc17d482d7e825cc0f524b0a05a12350c9eb6ef17c8e75bf0a8d83931459a197316f654fe2fa66402df023384e071123b
7
+ data.tar.gz: 8dda4524dc01744751a602476dc95e8cf0478edff4377032cb05e132029c72e5669b90caedb791dca3b3ccb38c3d2a06b45d6f43892969a58cc32cfa6f967be8
@@ -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.3)
4
+ billfixers-partner (0.1.4)
5
5
  activesupport
6
6
  graphlient
7
7
 
@@ -60,6 +60,18 @@ module Billfixers
60
60
  [result.total_count, result.nodes]
61
61
  end
62
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
+
63
75
  def find_customer(customer_id)
64
76
  response = @gql.query(FIND_CUSTOMER_QUERY, { id: customer_id })
65
77
  response.data.find_customer
@@ -70,6 +82,16 @@ module Billfixers
70
82
  response.data.find_bill
71
83
  end
72
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
+
73
95
  def create_customer(params)
74
96
  response = @gql.query(CREATE_CUSTOMER_MUTATION, {
75
97
  customer: camelize(params)
@@ -80,6 +80,21 @@ module Billfixers
80
80
  }
81
81
  )
82
82
 
83
+ INFORMATION_REQUEST_FRAGMENT = %(
84
+ id
85
+ content
86
+ contentHtml
87
+ createdAt
88
+ respondedAt
89
+ fields {
90
+ id
91
+ label
92
+ placeholder
93
+ dataType
94
+ value
95
+ }
96
+ )
97
+
83
98
  LIST_PROVIDERS_QUERY = %(
84
99
  query {
85
100
  ListProviders {
@@ -134,6 +149,21 @@ module Billfixers
134
149
  }
135
150
  )
136
151
 
152
+ LIST_INFORMATION_REQUESTS_QUERY = %(
153
+ query($limit: Int, $offset: Int, $customer_id: ID) {
154
+ ListInformationRequests(
155
+ limit: $limit,
156
+ offset: $offset,
157
+ customerId: $customer_id
158
+ ) {
159
+ totalCount
160
+ nodes {
161
+ #{INFORMATION_REQUEST_FRAGMENT}
162
+ }
163
+ }
164
+ }
165
+ )
166
+
137
167
  FIND_CUSTOMER_QUERY = %(
138
168
  query($id: ID!) {
139
169
  FindCustomer(id: $id) {
@@ -150,6 +180,22 @@ module Billfixers
150
180
  }
151
181
  )
152
182
 
183
+ FIND_OFFER_QUERY = %(
184
+ query($id: ID!) {
185
+ FindOffer(id: $id) {
186
+ #{OFFER_FRAGMENT}
187
+ }
188
+ }
189
+ )
190
+
191
+ FIND_INFORMATION_REQUEST_QUERY = %(
192
+ query($id: ID!) {
193
+ FindInformationRequest(id: $id) {
194
+ #{INFORMATION_REQUEST_FRAGMENT}
195
+ }
196
+ }
197
+ )
198
+
153
199
  CREATE_CUSTOMER_MUTATION = %(
154
200
  mutation($customer: CustomerAttributes!) {
155
201
  CreateCustomer(input: { customer: $customer }) {
@@ -1,5 +1,5 @@
1
1
  module Billfixers
2
2
  module Partner
3
- VERSION = '0.1.3'.freeze
3
+ VERSION = '0.1.4'.freeze
4
4
  end
5
5
  end
@@ -1448,6 +1448,125 @@
1448
1448
  "enumValues": null,
1449
1449
  "possibleTypes": null
1450
1450
  },
1451
+ {
1452
+ "kind": "OBJECT",
1453
+ "name": "Fixer",
1454
+ "description": null,
1455
+ "fields": [
1456
+ {
1457
+ "name": "email",
1458
+ "description": null,
1459
+ "args": [],
1460
+ "type": {
1461
+ "kind": "NON_NULL",
1462
+ "name": null,
1463
+ "ofType": {
1464
+ "kind": "SCALAR",
1465
+ "name": "String",
1466
+ "ofType": null
1467
+ }
1468
+ },
1469
+ "isDeprecated": false,
1470
+ "deprecationReason": null
1471
+ },
1472
+ {
1473
+ "name": "firstName",
1474
+ "description": null,
1475
+ "args": [],
1476
+ "type": {
1477
+ "kind": "NON_NULL",
1478
+ "name": null,
1479
+ "ofType": {
1480
+ "kind": "SCALAR",
1481
+ "name": "String",
1482
+ "ofType": null
1483
+ }
1484
+ },
1485
+ "isDeprecated": false,
1486
+ "deprecationReason": null
1487
+ },
1488
+ {
1489
+ "name": "firstNameLastInitial",
1490
+ "description": null,
1491
+ "args": [],
1492
+ "type": {
1493
+ "kind": "NON_NULL",
1494
+ "name": null,
1495
+ "ofType": {
1496
+ "kind": "SCALAR",
1497
+ "name": "String",
1498
+ "ofType": null
1499
+ }
1500
+ },
1501
+ "isDeprecated": false,
1502
+ "deprecationReason": null
1503
+ },
1504
+ {
1505
+ "name": "id",
1506
+ "description": null,
1507
+ "args": [],
1508
+ "type": {
1509
+ "kind": "NON_NULL",
1510
+ "name": null,
1511
+ "ofType": {
1512
+ "kind": "SCALAR",
1513
+ "name": "ID",
1514
+ "ofType": null
1515
+ }
1516
+ },
1517
+ "isDeprecated": false,
1518
+ "deprecationReason": null
1519
+ },
1520
+ {
1521
+ "name": "lastName",
1522
+ "description": null,
1523
+ "args": [],
1524
+ "type": {
1525
+ "kind": "NON_NULL",
1526
+ "name": null,
1527
+ "ofType": {
1528
+ "kind": "SCALAR",
1529
+ "name": "String",
1530
+ "ofType": null
1531
+ }
1532
+ },
1533
+ "isDeprecated": false,
1534
+ "deprecationReason": null
1535
+ },
1536
+ {
1537
+ "name": "name",
1538
+ "description": null,
1539
+ "args": [],
1540
+ "type": {
1541
+ "kind": "NON_NULL",
1542
+ "name": null,
1543
+ "ofType": {
1544
+ "kind": "SCALAR",
1545
+ "name": "String",
1546
+ "ofType": null
1547
+ }
1548
+ },
1549
+ "isDeprecated": false,
1550
+ "deprecationReason": null
1551
+ },
1552
+ {
1553
+ "name": "phoneNumber",
1554
+ "description": null,
1555
+ "args": [],
1556
+ "type": {
1557
+ "kind": "SCALAR",
1558
+ "name": "String",
1559
+ "ofType": null
1560
+ },
1561
+ "isDeprecated": false,
1562
+ "deprecationReason": null
1563
+ }
1564
+ ],
1565
+ "inputFields": null,
1566
+ "interfaces": [],
1567
+ "enumValues": null,
1568
+ "possibleTypes": null
1569
+ },
1451
1570
  {
1452
1571
  "kind": "SCALAR",
1453
1572
  "name": "ID",
@@ -1625,31 +1744,21 @@
1625
1744
  "enumValues": null,
1626
1745
  "possibleTypes": null
1627
1746
  },
1628
- {
1629
- "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.",
1632
- "fields": null,
1633
- "inputFields": null,
1634
- "interfaces": null,
1635
- "enumValues": null,
1636
- "possibleTypes": null
1637
- },
1638
1747
  {
1639
1748
  "kind": "OBJECT",
1640
- "name": "Item",
1749
+ "name": "InformationRequest",
1641
1750
  "description": null,
1642
1751
  "fields": [
1643
1752
  {
1644
- "name": "createdAt",
1645
- "description": "The date the record was created",
1753
+ "name": "content",
1754
+ "description": null,
1646
1755
  "args": [],
1647
1756
  "type": {
1648
1757
  "kind": "NON_NULL",
1649
1758
  "name": null,
1650
1759
  "ofType": {
1651
1760
  "kind": "SCALAR",
1652
- "name": "DateTime",
1761
+ "name": "String",
1653
1762
  "ofType": null
1654
1763
  }
1655
1764
  },
@@ -1657,15 +1766,15 @@
1657
1766
  "deprecationReason": null
1658
1767
  },
1659
1768
  {
1660
- "name": "duration",
1661
- "description": "The length of time in months that an item's savings is good for",
1769
+ "name": "contentHtml",
1770
+ "description": null,
1662
1771
  "args": [],
1663
1772
  "type": {
1664
1773
  "kind": "NON_NULL",
1665
1774
  "name": null,
1666
1775
  "ofType": {
1667
1776
  "kind": "SCALAR",
1668
- "name": "Int",
1777
+ "name": "String",
1669
1778
  "ofType": null
1670
1779
  }
1671
1780
  },
@@ -1673,15 +1782,15 @@
1673
1782
  "deprecationReason": null
1674
1783
  },
1675
1784
  {
1676
- "name": "name",
1677
- "description": "Name of the good or service",
1785
+ "name": "createdAt",
1786
+ "description": null,
1678
1787
  "args": [],
1679
1788
  "type": {
1680
1789
  "kind": "NON_NULL",
1681
1790
  "name": null,
1682
1791
  "ofType": {
1683
1792
  "kind": "SCALAR",
1684
- "name": "String",
1793
+ "name": "DateTime",
1685
1794
  "ofType": null
1686
1795
  }
1687
1796
  },
@@ -1689,31 +1798,39 @@
1689
1798
  "deprecationReason": null
1690
1799
  },
1691
1800
  {
1692
- "name": "postPrice",
1693
- "description": "The post-negotiation price",
1801
+ "name": "fields",
1802
+ "description": null,
1694
1803
  "args": [],
1695
1804
  "type": {
1696
1805
  "kind": "NON_NULL",
1697
1806
  "name": null,
1698
1807
  "ofType": {
1699
- "kind": "SCALAR",
1700
- "name": "Money",
1701
- "ofType": null
1808
+ "kind": "LIST",
1809
+ "name": null,
1810
+ "ofType": {
1811
+ "kind": "NON_NULL",
1812
+ "name": null,
1813
+ "ofType": {
1814
+ "kind": "OBJECT",
1815
+ "name": "InformationRequestField",
1816
+ "ofType": null
1817
+ }
1818
+ }
1702
1819
  }
1703
1820
  },
1704
1821
  "isDeprecated": false,
1705
1822
  "deprecationReason": null
1706
1823
  },
1707
1824
  {
1708
- "name": "prePrice",
1709
- "description": "The pre-negotiation price",
1825
+ "name": "id",
1826
+ "description": null,
1710
1827
  "args": [],
1711
1828
  "type": {
1712
1829
  "kind": "NON_NULL",
1713
1830
  "name": null,
1714
1831
  "ofType": {
1715
1832
  "kind": "SCALAR",
1716
- "name": "Money",
1833
+ "name": "ID",
1717
1834
  "ofType": null
1718
1835
  }
1719
1836
  },
@@ -1721,63 +1838,982 @@
1721
1838
  "deprecationReason": null
1722
1839
  },
1723
1840
  {
1724
- "name": "savings",
1725
- "description": "The difference between the prePrice and the postPrice",
1841
+ "name": "respondedAt",
1842
+ "description": null,
1843
+ "args": [],
1844
+ "type": {
1845
+ "kind": "SCALAR",
1846
+ "name": "DateTime",
1847
+ "ofType": null
1848
+ },
1849
+ "isDeprecated": false,
1850
+ "deprecationReason": null
1851
+ },
1852
+ {
1853
+ "name": "updatedAt",
1854
+ "description": null,
1726
1855
  "args": [],
1727
1856
  "type": {
1728
1857
  "kind": "NON_NULL",
1729
1858
  "name": null,
1730
1859
  "ofType": {
1731
1860
  "kind": "SCALAR",
1732
- "name": "Money",
1861
+ "name": "DateTime",
1733
1862
  "ofType": null
1734
1863
  }
1735
1864
  },
1736
1865
  "isDeprecated": false,
1737
1866
  "deprecationReason": null
1738
- },
1867
+ }
1868
+ ],
1869
+ "inputFields": null,
1870
+ "interfaces": [],
1871
+ "enumValues": null,
1872
+ "possibleTypes": null
1873
+ },
1874
+ {
1875
+ "kind": "INPUT_OBJECT",
1876
+ "name": "InformationRequestAttributes",
1877
+ "description": "Attributes for updating an information request",
1878
+ "fields": null,
1879
+ "inputFields": [
1739
1880
  {
1740
- "name": "savingsEndOn",
1741
- "description": "The date the discount/savings end",
1881
+ "name": "fields",
1882
+ "description": null,
1883
+ "type": {
1884
+ "kind": "NON_NULL",
1885
+ "name": null,
1886
+ "ofType": {
1887
+ "kind": "LIST",
1888
+ "name": null,
1889
+ "ofType": {
1890
+ "kind": "NON_NULL",
1891
+ "name": null,
1892
+ "ofType": {
1893
+ "kind": "INPUT_OBJECT",
1894
+ "name": "InformationRequestFieldAttributes",
1895
+ "ofType": null
1896
+ }
1897
+ }
1898
+ }
1899
+ },
1900
+ "defaultValue": null
1901
+ }
1902
+ ],
1903
+ "interfaces": null,
1904
+ "enumValues": null,
1905
+ "possibleTypes": null
1906
+ },
1907
+ {
1908
+ "kind": "OBJECT",
1909
+ "name": "InformationRequestConnection",
1910
+ "description": "The connection type for InformationRequest.",
1911
+ "fields": [
1912
+ {
1913
+ "name": "edges",
1914
+ "description": "A list of edges.",
1742
1915
  "args": [],
1743
1916
  "type": {
1744
1917
  "kind": "NON_NULL",
1745
1918
  "name": null,
1746
1919
  "ofType": {
1747
- "kind": "SCALAR",
1748
- "name": "DateTime",
1749
- "ofType": null
1920
+ "kind": "LIST",
1921
+ "name": null,
1922
+ "ofType": {
1923
+ "kind": "NON_NULL",
1924
+ "name": null,
1925
+ "ofType": {
1926
+ "kind": "OBJECT",
1927
+ "name": "InformationRequestEdge",
1928
+ "ofType": null
1929
+ }
1930
+ }
1750
1931
  }
1751
1932
  },
1752
1933
  "isDeprecated": false,
1753
1934
  "deprecationReason": null
1754
1935
  },
1755
1936
  {
1756
- "name": "savingsStartOn",
1757
- "description": "The date the discount/savings start",
1937
+ "name": "nodes",
1938
+ "description": "A list of nodes.",
1758
1939
  "args": [],
1759
1940
  "type": {
1760
1941
  "kind": "NON_NULL",
1761
1942
  "name": null,
1762
1943
  "ofType": {
1763
- "kind": "SCALAR",
1764
- "name": "DateTime",
1765
- "ofType": null
1944
+ "kind": "LIST",
1945
+ "name": null,
1946
+ "ofType": {
1947
+ "kind": "NON_NULL",
1948
+ "name": null,
1949
+ "ofType": {
1950
+ "kind": "OBJECT",
1951
+ "name": "InformationRequest",
1952
+ "ofType": null
1953
+ }
1954
+ }
1955
+ }
1956
+ },
1957
+ "isDeprecated": false,
1958
+ "deprecationReason": null
1959
+ },
1960
+ {
1961
+ "name": "pageInfo",
1962
+ "description": "Information to aid in pagination.",
1963
+ "args": [],
1964
+ "type": {
1965
+ "kind": "NON_NULL",
1966
+ "name": null,
1967
+ "ofType": {
1968
+ "kind": "OBJECT",
1969
+ "name": "PageInfo",
1970
+ "ofType": null
1971
+ }
1972
+ },
1973
+ "isDeprecated": false,
1974
+ "deprecationReason": null
1975
+ },
1976
+ {
1977
+ "name": "totalCount",
1978
+ "description": null,
1979
+ "args": [],
1980
+ "type": {
1981
+ "kind": "NON_NULL",
1982
+ "name": null,
1983
+ "ofType": {
1984
+ "kind": "SCALAR",
1985
+ "name": "Int",
1986
+ "ofType": null
1987
+ }
1988
+ },
1989
+ "isDeprecated": false,
1990
+ "deprecationReason": null
1991
+ }
1992
+ ],
1993
+ "inputFields": null,
1994
+ "interfaces": [],
1995
+ "enumValues": null,
1996
+ "possibleTypes": null
1997
+ },
1998
+ {
1999
+ "kind": "OBJECT",
2000
+ "name": "InformationRequestEdge",
2001
+ "description": "An edge in a connection.",
2002
+ "fields": [
2003
+ {
2004
+ "name": "cursor",
2005
+ "description": "A cursor for use in pagination.",
2006
+ "args": [],
2007
+ "type": {
2008
+ "kind": "NON_NULL",
2009
+ "name": null,
2010
+ "ofType": {
2011
+ "kind": "SCALAR",
2012
+ "name": "String",
2013
+ "ofType": null
2014
+ }
2015
+ },
2016
+ "isDeprecated": false,
2017
+ "deprecationReason": null
2018
+ },
2019
+ {
2020
+ "name": "node",
2021
+ "description": "The item at the end of the edge.",
2022
+ "args": [],
2023
+ "type": {
2024
+ "kind": "OBJECT",
2025
+ "name": "InformationRequest",
2026
+ "ofType": null
2027
+ },
2028
+ "isDeprecated": false,
2029
+ "deprecationReason": null
2030
+ }
2031
+ ],
2032
+ "inputFields": null,
2033
+ "interfaces": [],
2034
+ "enumValues": null,
2035
+ "possibleTypes": null
2036
+ },
2037
+ {
2038
+ "kind": "OBJECT",
2039
+ "name": "InformationRequestField",
2040
+ "description": null,
2041
+ "fields": [
2042
+ {
2043
+ "name": "createdAt",
2044
+ "description": null,
2045
+ "args": [],
2046
+ "type": {
2047
+ "kind": "NON_NULL",
2048
+ "name": null,
2049
+ "ofType": {
2050
+ "kind": "SCALAR",
2051
+ "name": "DateTime",
2052
+ "ofType": null
2053
+ }
2054
+ },
2055
+ "isDeprecated": false,
2056
+ "deprecationReason": null
2057
+ },
2058
+ {
2059
+ "name": "dataType",
2060
+ "description": null,
2061
+ "args": [],
2062
+ "type": {
2063
+ "kind": "NON_NULL",
2064
+ "name": null,
2065
+ "ofType": {
2066
+ "kind": "SCALAR",
2067
+ "name": "String",
2068
+ "ofType": null
2069
+ }
2070
+ },
2071
+ "isDeprecated": false,
2072
+ "deprecationReason": null
2073
+ },
2074
+ {
2075
+ "name": "id",
2076
+ "description": null,
2077
+ "args": [],
2078
+ "type": {
2079
+ "kind": "NON_NULL",
2080
+ "name": null,
2081
+ "ofType": {
2082
+ "kind": "SCALAR",
2083
+ "name": "ID",
2084
+ "ofType": null
2085
+ }
2086
+ },
2087
+ "isDeprecated": false,
2088
+ "deprecationReason": null
2089
+ },
2090
+ {
2091
+ "name": "label",
2092
+ "description": null,
2093
+ "args": [],
2094
+ "type": {
2095
+ "kind": "NON_NULL",
2096
+ "name": null,
2097
+ "ofType": {
2098
+ "kind": "SCALAR",
2099
+ "name": "String",
2100
+ "ofType": null
2101
+ }
2102
+ },
2103
+ "isDeprecated": false,
2104
+ "deprecationReason": null
2105
+ },
2106
+ {
2107
+ "name": "placeholder",
2108
+ "description": null,
2109
+ "args": [],
2110
+ "type": {
2111
+ "kind": "NON_NULL",
2112
+ "name": null,
2113
+ "ofType": {
2114
+ "kind": "SCALAR",
2115
+ "name": "String",
2116
+ "ofType": null
2117
+ }
2118
+ },
2119
+ "isDeprecated": false,
2120
+ "deprecationReason": null
2121
+ },
2122
+ {
2123
+ "name": "updatedAt",
2124
+ "description": null,
2125
+ "args": [],
2126
+ "type": {
2127
+ "kind": "NON_NULL",
2128
+ "name": null,
2129
+ "ofType": {
2130
+ "kind": "SCALAR",
2131
+ "name": "DateTime",
2132
+ "ofType": null
2133
+ }
2134
+ },
2135
+ "isDeprecated": false,
2136
+ "deprecationReason": null
2137
+ },
2138
+ {
2139
+ "name": "value",
2140
+ "description": null,
2141
+ "args": [],
2142
+ "type": {
2143
+ "kind": "SCALAR",
2144
+ "name": "String",
2145
+ "ofType": null
2146
+ },
2147
+ "isDeprecated": false,
2148
+ "deprecationReason": null
2149
+ }
2150
+ ],
2151
+ "inputFields": null,
2152
+ "interfaces": [],
2153
+ "enumValues": null,
2154
+ "possibleTypes": null
2155
+ },
2156
+ {
2157
+ "kind": "INPUT_OBJECT",
2158
+ "name": "InformationRequestFieldAttributes",
2159
+ "description": "Attributes for udpating information request fields",
2160
+ "fields": null,
2161
+ "inputFields": [
2162
+ {
2163
+ "name": "id",
2164
+ "description": null,
2165
+ "type": {
2166
+ "kind": "NON_NULL",
2167
+ "name": null,
2168
+ "ofType": {
2169
+ "kind": "SCALAR",
2170
+ "name": "ID",
2171
+ "ofType": null
2172
+ }
2173
+ },
2174
+ "defaultValue": null
2175
+ },
2176
+ {
2177
+ "name": "value",
2178
+ "description": null,
2179
+ "type": {
2180
+ "kind": "NON_NULL",
2181
+ "name": null,
2182
+ "ofType": {
2183
+ "kind": "SCALAR",
2184
+ "name": "String",
2185
+ "ofType": null
2186
+ }
2187
+ },
2188
+ "defaultValue": null
2189
+ }
2190
+ ],
2191
+ "interfaces": null,
2192
+ "enumValues": null,
2193
+ "possibleTypes": null
2194
+ },
2195
+ {
2196
+ "kind": "SCALAR",
2197
+ "name": "Int",
2198
+ "description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",
2199
+ "fields": null,
2200
+ "inputFields": null,
2201
+ "interfaces": null,
2202
+ "enumValues": null,
2203
+ "possibleTypes": null
2204
+ },
2205
+ {
2206
+ "kind": "OBJECT",
2207
+ "name": "Item",
2208
+ "description": null,
2209
+ "fields": [
2210
+ {
2211
+ "name": "createdAt",
2212
+ "description": "The date the record was created",
2213
+ "args": [],
2214
+ "type": {
2215
+ "kind": "NON_NULL",
2216
+ "name": null,
2217
+ "ofType": {
2218
+ "kind": "SCALAR",
2219
+ "name": "DateTime",
2220
+ "ofType": null
2221
+ }
2222
+ },
2223
+ "isDeprecated": false,
2224
+ "deprecationReason": null
2225
+ },
2226
+ {
2227
+ "name": "duration",
2228
+ "description": "The length of time in months that an item's savings is good for",
2229
+ "args": [],
2230
+ "type": {
2231
+ "kind": "NON_NULL",
2232
+ "name": null,
2233
+ "ofType": {
2234
+ "kind": "SCALAR",
2235
+ "name": "Int",
2236
+ "ofType": null
2237
+ }
2238
+ },
2239
+ "isDeprecated": false,
2240
+ "deprecationReason": null
2241
+ },
2242
+ {
2243
+ "name": "name",
2244
+ "description": "Name of the good or service",
2245
+ "args": [],
2246
+ "type": {
2247
+ "kind": "NON_NULL",
2248
+ "name": null,
2249
+ "ofType": {
2250
+ "kind": "SCALAR",
2251
+ "name": "String",
2252
+ "ofType": null
2253
+ }
2254
+ },
2255
+ "isDeprecated": false,
2256
+ "deprecationReason": null
2257
+ },
2258
+ {
2259
+ "name": "postPrice",
2260
+ "description": "The post-negotiation price",
2261
+ "args": [],
2262
+ "type": {
2263
+ "kind": "NON_NULL",
2264
+ "name": null,
2265
+ "ofType": {
2266
+ "kind": "SCALAR",
2267
+ "name": "Money",
2268
+ "ofType": null
2269
+ }
2270
+ },
2271
+ "isDeprecated": false,
2272
+ "deprecationReason": null
2273
+ },
2274
+ {
2275
+ "name": "prePrice",
2276
+ "description": "The pre-negotiation price",
2277
+ "args": [],
2278
+ "type": {
2279
+ "kind": "NON_NULL",
2280
+ "name": null,
2281
+ "ofType": {
2282
+ "kind": "SCALAR",
2283
+ "name": "Money",
2284
+ "ofType": null
2285
+ }
2286
+ },
2287
+ "isDeprecated": false,
2288
+ "deprecationReason": null
2289
+ },
2290
+ {
2291
+ "name": "savings",
2292
+ "description": "The difference between the prePrice and the postPrice",
2293
+ "args": [],
2294
+ "type": {
2295
+ "kind": "NON_NULL",
2296
+ "name": null,
2297
+ "ofType": {
2298
+ "kind": "SCALAR",
2299
+ "name": "Money",
2300
+ "ofType": null
2301
+ }
2302
+ },
2303
+ "isDeprecated": false,
2304
+ "deprecationReason": null
2305
+ },
2306
+ {
2307
+ "name": "savingsEndOn",
2308
+ "description": "The date the discount/savings end",
2309
+ "args": [],
2310
+ "type": {
2311
+ "kind": "NON_NULL",
2312
+ "name": null,
2313
+ "ofType": {
2314
+ "kind": "SCALAR",
2315
+ "name": "DateTime",
2316
+ "ofType": null
2317
+ }
2318
+ },
2319
+ "isDeprecated": false,
2320
+ "deprecationReason": null
2321
+ },
2322
+ {
2323
+ "name": "savingsStartOn",
2324
+ "description": "The date the discount/savings start",
2325
+ "args": [],
2326
+ "type": {
2327
+ "kind": "NON_NULL",
2328
+ "name": null,
2329
+ "ofType": {
2330
+ "kind": "SCALAR",
2331
+ "name": "DateTime",
2332
+ "ofType": null
2333
+ }
2334
+ },
2335
+ "isDeprecated": false,
2336
+ "deprecationReason": null
2337
+ },
2338
+ {
2339
+ "name": "underContract",
2340
+ "description": "Indicates the item is under contract",
2341
+ "args": [],
2342
+ "type": {
2343
+ "kind": "NON_NULL",
2344
+ "name": null,
2345
+ "ofType": {
2346
+ "kind": "SCALAR",
2347
+ "name": "Boolean",
2348
+ "ofType": null
2349
+ }
2350
+ },
2351
+ "isDeprecated": false,
2352
+ "deprecationReason": null
2353
+ },
2354
+ {
2355
+ "name": "updatedAt",
2356
+ "description": "The last time the record was updated",
2357
+ "args": [],
2358
+ "type": {
2359
+ "kind": "NON_NULL",
2360
+ "name": null,
2361
+ "ofType": {
2362
+ "kind": "SCALAR",
2363
+ "name": "DateTime",
2364
+ "ofType": null
2365
+ }
2366
+ },
2367
+ "isDeprecated": false,
2368
+ "deprecationReason": null
2369
+ }
2370
+ ],
2371
+ "inputFields": null,
2372
+ "interfaces": [],
2373
+ "enumValues": null,
2374
+ "possibleTypes": null
2375
+ },
2376
+ {
2377
+ "kind": "SCALAR",
2378
+ "name": "Money",
2379
+ "description": "Represents money value",
2380
+ "fields": null,
2381
+ "inputFields": null,
2382
+ "interfaces": null,
2383
+ "enumValues": null,
2384
+ "possibleTypes": null
2385
+ },
2386
+ {
2387
+ "kind": "OBJECT",
2388
+ "name": "Mutation",
2389
+ "description": null,
2390
+ "fields": [
2391
+ {
2392
+ "name": "AcceptOffer",
2393
+ "description": "Accept an offer",
2394
+ "args": [
2395
+ {
2396
+ "name": "input",
2397
+ "description": null,
2398
+ "type": {
2399
+ "kind": "NON_NULL",
2400
+ "name": null,
2401
+ "ofType": {
2402
+ "kind": "INPUT_OBJECT",
2403
+ "name": "AcceptOfferInput",
2404
+ "ofType": null
2405
+ }
2406
+ },
2407
+ "defaultValue": null
2408
+ }
2409
+ ],
2410
+ "type": {
2411
+ "kind": "OBJECT",
2412
+ "name": "AcceptOfferPayload",
2413
+ "ofType": null
2414
+ },
2415
+ "isDeprecated": false,
2416
+ "deprecationReason": null
2417
+ },
2418
+ {
2419
+ "name": "CancelBill",
2420
+ "description": null,
2421
+ "args": [
2422
+ {
2423
+ "name": "input",
2424
+ "description": null,
2425
+ "type": {
2426
+ "kind": "NON_NULL",
2427
+ "name": null,
2428
+ "ofType": {
2429
+ "kind": "INPUT_OBJECT",
2430
+ "name": "CancelBillInput",
2431
+ "ofType": null
2432
+ }
2433
+ },
2434
+ "defaultValue": null
2435
+ }
2436
+ ],
2437
+ "type": {
2438
+ "kind": "OBJECT",
2439
+ "name": "CancelBillPayload",
2440
+ "ofType": null
2441
+ },
2442
+ "isDeprecated": false,
2443
+ "deprecationReason": null
2444
+ },
2445
+ {
2446
+ "name": "CreateBill",
2447
+ "description": null,
2448
+ "args": [
2449
+ {
2450
+ "name": "input",
2451
+ "description": null,
2452
+ "type": {
2453
+ "kind": "NON_NULL",
2454
+ "name": null,
2455
+ "ofType": {
2456
+ "kind": "INPUT_OBJECT",
2457
+ "name": "CreateBillInput",
2458
+ "ofType": null
2459
+ }
2460
+ },
2461
+ "defaultValue": null
2462
+ }
2463
+ ],
2464
+ "type": {
2465
+ "kind": "OBJECT",
2466
+ "name": "CreateBillPayload",
2467
+ "ofType": null
2468
+ },
2469
+ "isDeprecated": false,
2470
+ "deprecationReason": null
2471
+ },
2472
+ {
2473
+ "name": "CreateCustomer",
2474
+ "description": null,
2475
+ "args": [
2476
+ {
2477
+ "name": "input",
2478
+ "description": null,
2479
+ "type": {
2480
+ "kind": "NON_NULL",
2481
+ "name": null,
2482
+ "ofType": {
2483
+ "kind": "INPUT_OBJECT",
2484
+ "name": "CreateCustomerInput",
2485
+ "ofType": null
2486
+ }
2487
+ },
2488
+ "defaultValue": null
2489
+ }
2490
+ ],
2491
+ "type": {
2492
+ "kind": "OBJECT",
2493
+ "name": "CreateCustomerPayload",
2494
+ "ofType": null
2495
+ },
2496
+ "isDeprecated": false,
2497
+ "deprecationReason": null
2498
+ },
2499
+ {
2500
+ "name": "RejectOffer",
2501
+ "description": "Reject an offer",
2502
+ "args": [
2503
+ {
2504
+ "name": "input",
2505
+ "description": null,
2506
+ "type": {
2507
+ "kind": "NON_NULL",
2508
+ "name": null,
2509
+ "ofType": {
2510
+ "kind": "INPUT_OBJECT",
2511
+ "name": "RejectOfferInput",
2512
+ "ofType": null
2513
+ }
2514
+ },
2515
+ "defaultValue": null
2516
+ }
2517
+ ],
2518
+ "type": {
2519
+ "kind": "OBJECT",
2520
+ "name": "RejectOfferPayload",
2521
+ "ofType": null
2522
+ },
2523
+ "isDeprecated": false,
2524
+ "deprecationReason": null
2525
+ },
2526
+ {
2527
+ "name": "RespondToInformationRequest",
2528
+ "description": null,
2529
+ "args": [
2530
+ {
2531
+ "name": "input",
2532
+ "description": null,
2533
+ "type": {
2534
+ "kind": "NON_NULL",
2535
+ "name": null,
2536
+ "ofType": {
2537
+ "kind": "INPUT_OBJECT",
2538
+ "name": "RespondToInformationRequestInput",
2539
+ "ofType": null
2540
+ }
2541
+ },
2542
+ "defaultValue": null
2543
+ }
2544
+ ],
2545
+ "type": {
2546
+ "kind": "OBJECT",
2547
+ "name": "RespondToInformationRequestPayload",
2548
+ "ofType": null
2549
+ },
2550
+ "isDeprecated": false,
2551
+ "deprecationReason": null
2552
+ },
2553
+ {
2554
+ "name": "UpdateCustomer",
2555
+ "description": null,
2556
+ "args": [
2557
+ {
2558
+ "name": "input",
2559
+ "description": null,
2560
+ "type": {
2561
+ "kind": "NON_NULL",
2562
+ "name": null,
2563
+ "ofType": {
2564
+ "kind": "INPUT_OBJECT",
2565
+ "name": "UpdateCustomerInput",
2566
+ "ofType": null
2567
+ }
2568
+ },
2569
+ "defaultValue": null
2570
+ }
2571
+ ],
2572
+ "type": {
2573
+ "kind": "OBJECT",
2574
+ "name": "UpdateCustomerPayload",
2575
+ "ofType": null
2576
+ },
2577
+ "isDeprecated": false,
2578
+ "deprecationReason": null
2579
+ }
2580
+ ],
2581
+ "inputFields": null,
2582
+ "interfaces": [],
2583
+ "enumValues": null,
2584
+ "possibleTypes": null
2585
+ },
2586
+ {
2587
+ "kind": "OBJECT",
2588
+ "name": "Negotiation",
2589
+ "description": null,
2590
+ "fields": [
2591
+ {
2592
+ "name": "billId",
2593
+ "description": null,
2594
+ "args": [],
2595
+ "type": {
2596
+ "kind": "NON_NULL",
2597
+ "name": null,
2598
+ "ofType": {
2599
+ "kind": "SCALAR",
2600
+ "name": "ID",
2601
+ "ofType": null
2602
+ }
2603
+ },
2604
+ "isDeprecated": false,
2605
+ "deprecationReason": null
2606
+ },
2607
+ {
2608
+ "name": "cancelledAt",
2609
+ "description": null,
2610
+ "args": [],
2611
+ "type": {
2612
+ "kind": "SCALAR",
2613
+ "name": "DateTime",
2614
+ "ofType": null
2615
+ },
2616
+ "isDeprecated": false,
2617
+ "deprecationReason": null
2618
+ },
2619
+ {
2620
+ "name": "compedAt",
2621
+ "description": null,
2622
+ "args": [],
2623
+ "type": {
2624
+ "kind": "SCALAR",
2625
+ "name": "DateTime",
2626
+ "ofType": null
2627
+ },
2628
+ "isDeprecated": false,
2629
+ "deprecationReason": null
2630
+ },
2631
+ {
2632
+ "name": "createdAt",
2633
+ "description": null,
2634
+ "args": [],
2635
+ "type": {
2636
+ "kind": "NON_NULL",
2637
+ "name": null,
2638
+ "ofType": {
2639
+ "kind": "SCALAR",
2640
+ "name": "DateTime",
2641
+ "ofType": null
2642
+ }
2643
+ },
2644
+ "isDeprecated": false,
2645
+ "deprecationReason": null
2646
+ },
2647
+ {
2648
+ "name": "deletedAt",
2649
+ "description": null,
2650
+ "args": [],
2651
+ "type": {
2652
+ "kind": "SCALAR",
2653
+ "name": "DateTime",
2654
+ "ofType": null
2655
+ },
2656
+ "isDeprecated": false,
2657
+ "deprecationReason": null
2658
+ },
2659
+ {
2660
+ "name": "failedAt",
2661
+ "description": null,
2662
+ "args": [],
2663
+ "type": {
2664
+ "kind": "SCALAR",
2665
+ "name": "DateTime",
2666
+ "ofType": null
2667
+ },
2668
+ "isDeprecated": false,
2669
+ "deprecationReason": null
2670
+ },
2671
+ {
2672
+ "name": "fixedAt",
2673
+ "description": null,
2674
+ "args": [],
2675
+ "type": {
2676
+ "kind": "SCALAR",
2677
+ "name": "DateTime",
2678
+ "ofType": null
2679
+ },
2680
+ "isDeprecated": false,
2681
+ "deprecationReason": null
2682
+ },
2683
+ {
2684
+ "name": "fixerIds",
2685
+ "description": null,
2686
+ "args": [],
2687
+ "type": {
2688
+ "kind": "NON_NULL",
2689
+ "name": null,
2690
+ "ofType": {
2691
+ "kind": "LIST",
2692
+ "name": null,
2693
+ "ofType": {
2694
+ "kind": "NON_NULL",
2695
+ "name": null,
2696
+ "ofType": {
2697
+ "kind": "SCALAR",
2698
+ "name": "ID",
2699
+ "ofType": null
2700
+ }
2701
+ }
2702
+ }
2703
+ },
2704
+ "isDeprecated": false,
2705
+ "deprecationReason": null
2706
+ },
2707
+ {
2708
+ "name": "fixers",
2709
+ "description": null,
2710
+ "args": [],
2711
+ "type": {
2712
+ "kind": "NON_NULL",
2713
+ "name": null,
2714
+ "ofType": {
2715
+ "kind": "LIST",
2716
+ "name": null,
2717
+ "ofType": {
2718
+ "kind": "NON_NULL",
2719
+ "name": null,
2720
+ "ofType": {
2721
+ "kind": "OBJECT",
2722
+ "name": "Fixer",
2723
+ "ofType": null
2724
+ }
2725
+ }
2726
+ }
2727
+ },
2728
+ "isDeprecated": false,
2729
+ "deprecationReason": null
2730
+ },
2731
+ {
2732
+ "name": "id",
2733
+ "description": null,
2734
+ "args": [],
2735
+ "type": {
2736
+ "kind": "NON_NULL",
2737
+ "name": null,
2738
+ "ofType": {
2739
+ "kind": "SCALAR",
2740
+ "name": "ID",
2741
+ "ofType": null
2742
+ }
2743
+ },
2744
+ "isDeprecated": false,
2745
+ "deprecationReason": null
2746
+ },
2747
+ {
2748
+ "name": "informationRequests",
2749
+ "description": null,
2750
+ "args": [],
2751
+ "type": {
2752
+ "kind": "NON_NULL",
2753
+ "name": null,
2754
+ "ofType": {
2755
+ "kind": "LIST",
2756
+ "name": null,
2757
+ "ofType": {
2758
+ "kind": "NON_NULL",
2759
+ "name": null,
2760
+ "ofType": {
2761
+ "kind": "OBJECT",
2762
+ "name": "InformationRequest",
2763
+ "ofType": null
2764
+ }
2765
+ }
2766
+ }
2767
+ },
2768
+ "isDeprecated": false,
2769
+ "deprecationReason": null
2770
+ },
2771
+ {
2772
+ "name": "invoicedAt",
2773
+ "description": null,
2774
+ "args": [],
2775
+ "type": {
2776
+ "kind": "SCALAR",
2777
+ "name": "DateTime",
2778
+ "ofType": null
2779
+ },
2780
+ "isDeprecated": false,
2781
+ "deprecationReason": null
2782
+ },
2783
+ {
2784
+ "name": "items",
2785
+ "description": null,
2786
+ "args": [],
2787
+ "type": {
2788
+ "kind": "NON_NULL",
2789
+ "name": null,
2790
+ "ofType": {
2791
+ "kind": "LIST",
2792
+ "name": null,
2793
+ "ofType": {
2794
+ "kind": "NON_NULL",
2795
+ "name": null,
2796
+ "ofType": {
2797
+ "kind": "OBJECT",
2798
+ "name": "Item",
2799
+ "ofType": null
2800
+ }
2801
+ }
1766
2802
  }
1767
2803
  },
1768
2804
  "isDeprecated": false,
1769
2805
  "deprecationReason": null
1770
2806
  },
1771
2807
  {
1772
- "name": "underContract",
1773
- "description": "Indicates the item is under contract",
2808
+ "name": "negotiationNumber",
2809
+ "description": null,
1774
2810
  "args": [],
1775
2811
  "type": {
1776
2812
  "kind": "NON_NULL",
1777
2813
  "name": null,
1778
2814
  "ofType": {
1779
2815
  "kind": "SCALAR",
1780
- "name": "Boolean",
2816
+ "name": "Int",
1781
2817
  "ofType": null
1782
2818
  }
1783
2819
  },
@@ -1785,200 +2821,109 @@
1785
2821
  "deprecationReason": null
1786
2822
  },
1787
2823
  {
1788
- "name": "updatedAt",
1789
- "description": "The last time the record was updated",
2824
+ "name": "requestedConsentAt",
2825
+ "description": null,
1790
2826
  "args": [],
1791
2827
  "type": {
1792
- "kind": "NON_NULL",
1793
- "name": null,
1794
- "ofType": {
1795
- "kind": "SCALAR",
1796
- "name": "DateTime",
1797
- "ofType": null
1798
- }
2828
+ "kind": "SCALAR",
2829
+ "name": "DateTime",
2830
+ "ofType": null
1799
2831
  },
1800
2832
  "isDeprecated": false,
1801
2833
  "deprecationReason": null
1802
- }
1803
- ],
1804
- "inputFields": null,
1805
- "interfaces": [],
1806
- "enumValues": null,
1807
- "possibleTypes": null
1808
- },
1809
- {
1810
- "kind": "SCALAR",
1811
- "name": "Money",
1812
- "description": "Represents money value",
1813
- "fields": null,
1814
- "inputFields": null,
1815
- "interfaces": null,
1816
- "enumValues": null,
1817
- "possibleTypes": null
1818
- },
1819
- {
1820
- "kind": "OBJECT",
1821
- "name": "Mutation",
1822
- "description": null,
1823
- "fields": [
2834
+ },
1824
2835
  {
1825
- "name": "AcceptOffer",
1826
- "description": "Accept an offer",
1827
- "args": [
1828
- {
1829
- "name": "input",
1830
- "description": null,
1831
- "type": {
1832
- "kind": "NON_NULL",
1833
- "name": null,
1834
- "ofType": {
1835
- "kind": "INPUT_OBJECT",
1836
- "name": "AcceptOfferInput",
1837
- "ofType": null
1838
- }
1839
- },
1840
- "defaultValue": null
1841
- }
1842
- ],
2836
+ "name": "requestedInformationAt",
2837
+ "description": null,
2838
+ "args": [],
1843
2839
  "type": {
1844
- "kind": "OBJECT",
1845
- "name": "AcceptOfferPayload",
2840
+ "kind": "SCALAR",
2841
+ "name": "DateTime",
1846
2842
  "ofType": null
1847
2843
  },
1848
2844
  "isDeprecated": false,
1849
2845
  "deprecationReason": null
1850
2846
  },
1851
2847
  {
1852
- "name": "CancelBill",
2848
+ "name": "startedAt",
1853
2849
  "description": null,
1854
- "args": [
1855
- {
1856
- "name": "input",
1857
- "description": null,
1858
- "type": {
1859
- "kind": "NON_NULL",
1860
- "name": null,
1861
- "ofType": {
1862
- "kind": "INPUT_OBJECT",
1863
- "name": "CancelBillInput",
1864
- "ofType": null
1865
- }
1866
- },
1867
- "defaultValue": null
1868
- }
1869
- ],
2850
+ "args": [],
1870
2851
  "type": {
1871
- "kind": "OBJECT",
1872
- "name": "CancelBillPayload",
2852
+ "kind": "SCALAR",
2853
+ "name": "DateTime",
1873
2854
  "ofType": null
1874
2855
  },
1875
2856
  "isDeprecated": false,
1876
2857
  "deprecationReason": null
1877
2858
  },
1878
2859
  {
1879
- "name": "CreateBill",
2860
+ "name": "state",
1880
2861
  "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
1895
- }
1896
- ],
2862
+ "args": [],
1897
2863
  "type": {
1898
- "kind": "OBJECT",
1899
- "name": "CreateBillPayload",
1900
- "ofType": null
2864
+ "kind": "NON_NULL",
2865
+ "name": null,
2866
+ "ofType": {
2867
+ "kind": "SCALAR",
2868
+ "name": "String",
2869
+ "ofType": null
2870
+ }
1901
2871
  },
1902
2872
  "isDeprecated": false,
1903
2873
  "deprecationReason": null
1904
2874
  },
1905
2875
  {
1906
- "name": "CreateCustomer",
2876
+ "name": "tags",
1907
2877
  "description": null,
1908
- "args": [
1909
- {
1910
- "name": "input",
1911
- "description": null,
1912
- "type": {
2878
+ "args": [],
2879
+ "type": {
2880
+ "kind": "NON_NULL",
2881
+ "name": null,
2882
+ "ofType": {
2883
+ "kind": "LIST",
2884
+ "name": null,
2885
+ "ofType": {
1913
2886
  "kind": "NON_NULL",
1914
2887
  "name": null,
1915
2888
  "ofType": {
1916
- "kind": "INPUT_OBJECT",
1917
- "name": "CreateCustomerInput",
2889
+ "kind": "SCALAR",
2890
+ "name": "String",
1918
2891
  "ofType": null
1919
2892
  }
1920
- },
1921
- "defaultValue": null
2893
+ }
1922
2894
  }
1923
- ],
1924
- "type": {
1925
- "kind": "OBJECT",
1926
- "name": "CreateCustomerPayload",
1927
- "ofType": null
1928
2895
  },
1929
2896
  "isDeprecated": false,
1930
2897
  "deprecationReason": null
1931
2898
  },
1932
2899
  {
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
- ],
2900
+ "name": "totalSavings",
2901
+ "description": null,
2902
+ "args": [],
1951
2903
  "type": {
1952
- "kind": "OBJECT",
1953
- "name": "RejectOfferPayload",
1954
- "ofType": null
2904
+ "kind": "NON_NULL",
2905
+ "name": null,
2906
+ "ofType": {
2907
+ "kind": "SCALAR",
2908
+ "name": "Money",
2909
+ "ofType": null
2910
+ }
1955
2911
  },
1956
2912
  "isDeprecated": false,
1957
2913
  "deprecationReason": null
1958
2914
  },
1959
2915
  {
1960
- "name": "UpdateCustomer",
2916
+ "name": "updatedAt",
1961
2917
  "description": null,
1962
- "args": [
1963
- {
1964
- "name": "input",
1965
- "description": null,
1966
- "type": {
1967
- "kind": "NON_NULL",
1968
- "name": null,
1969
- "ofType": {
1970
- "kind": "INPUT_OBJECT",
1971
- "name": "UpdateCustomerInput",
1972
- "ofType": null
1973
- }
1974
- },
1975
- "defaultValue": null
1976
- }
1977
- ],
2918
+ "args": [],
1978
2919
  "type": {
1979
- "kind": "OBJECT",
1980
- "name": "UpdateCustomerPayload",
1981
- "ofType": null
2920
+ "kind": "NON_NULL",
2921
+ "name": null,
2922
+ "ofType": {
2923
+ "kind": "SCALAR",
2924
+ "name": "DateTime",
2925
+ "ofType": null
2926
+ }
1982
2927
  },
1983
2928
  "isDeprecated": false,
1984
2929
  "deprecationReason": null
@@ -2477,20 +3422,74 @@
2477
3422
  },
2478
3423
  "isDeprecated": false,
2479
3424
  "deprecationReason": null
2480
- }
2481
- ],
2482
- "inputFields": null,
2483
- "interfaces": [],
2484
- "enumValues": null,
2485
- "possibleTypes": null
2486
- },
2487
- {
2488
- "kind": "OBJECT",
2489
- "name": "Query",
2490
- "description": null,
2491
- "fields": [
3425
+ }
3426
+ ],
3427
+ "inputFields": null,
3428
+ "interfaces": [],
3429
+ "enumValues": null,
3430
+ "possibleTypes": null
3431
+ },
3432
+ {
3433
+ "kind": "OBJECT",
3434
+ "name": "Query",
3435
+ "description": null,
3436
+ "fields": [
3437
+ {
3438
+ "name": "FindBill",
3439
+ "description": null,
3440
+ "args": [
3441
+ {
3442
+ "name": "id",
3443
+ "description": null,
3444
+ "type": {
3445
+ "kind": "NON_NULL",
3446
+ "name": null,
3447
+ "ofType": {
3448
+ "kind": "SCALAR",
3449
+ "name": "ID",
3450
+ "ofType": null
3451
+ }
3452
+ },
3453
+ "defaultValue": null
3454
+ }
3455
+ ],
3456
+ "type": {
3457
+ "kind": "OBJECT",
3458
+ "name": "Bill",
3459
+ "ofType": null
3460
+ },
3461
+ "isDeprecated": false,
3462
+ "deprecationReason": null
3463
+ },
3464
+ {
3465
+ "name": "FindCustomer",
3466
+ "description": null,
3467
+ "args": [
3468
+ {
3469
+ "name": "id",
3470
+ "description": null,
3471
+ "type": {
3472
+ "kind": "NON_NULL",
3473
+ "name": null,
3474
+ "ofType": {
3475
+ "kind": "SCALAR",
3476
+ "name": "ID",
3477
+ "ofType": null
3478
+ }
3479
+ },
3480
+ "defaultValue": null
3481
+ }
3482
+ ],
3483
+ "type": {
3484
+ "kind": "OBJECT",
3485
+ "name": "Customer",
3486
+ "ofType": null
3487
+ },
3488
+ "isDeprecated": false,
3489
+ "deprecationReason": null
3490
+ },
2492
3491
  {
2493
- "name": "FindBill",
3492
+ "name": "FindInformationRequest",
2494
3493
  "description": null,
2495
3494
  "args": [
2496
3495
  {
@@ -2510,14 +3509,14 @@
2510
3509
  ],
2511
3510
  "type": {
2512
3511
  "kind": "OBJECT",
2513
- "name": "Bill",
3512
+ "name": "InformationRequest",
2514
3513
  "ofType": null
2515
3514
  },
2516
3515
  "isDeprecated": false,
2517
3516
  "deprecationReason": null
2518
3517
  },
2519
3518
  {
2520
- "name": "FindCustomer",
3519
+ "name": "FindOffer",
2521
3520
  "description": null,
2522
3521
  "args": [
2523
3522
  {
@@ -2537,7 +3536,7 @@
2537
3536
  ],
2538
3537
  "type": {
2539
3538
  "kind": "OBJECT",
2540
- "name": "Customer",
3539
+ "name": "Offer",
2541
3540
  "ofType": null
2542
3541
  },
2543
3542
  "isDeprecated": false,
@@ -2774,6 +3773,113 @@
2774
3773
  "isDeprecated": false,
2775
3774
  "deprecationReason": null
2776
3775
  },
3776
+ {
3777
+ "name": "ListInformationRequests",
3778
+ "description": null,
3779
+ "args": [
3780
+ {
3781
+ "name": "sortBy",
3782
+ "description": null,
3783
+ "type": {
3784
+ "kind": "SCALAR",
3785
+ "name": "String",
3786
+ "ofType": null
3787
+ },
3788
+ "defaultValue": "\"created_at\""
3789
+ },
3790
+ {
3791
+ "name": "sortDirection",
3792
+ "description": null,
3793
+ "type": {
3794
+ "kind": "SCALAR",
3795
+ "name": "String",
3796
+ "ofType": null
3797
+ },
3798
+ "defaultValue": "\"desc\""
3799
+ },
3800
+ {
3801
+ "name": "limit",
3802
+ "description": null,
3803
+ "type": {
3804
+ "kind": "SCALAR",
3805
+ "name": "Int",
3806
+ "ofType": null
3807
+ },
3808
+ "defaultValue": "25"
3809
+ },
3810
+ {
3811
+ "name": "offset",
3812
+ "description": null,
3813
+ "type": {
3814
+ "kind": "SCALAR",
3815
+ "name": "Int",
3816
+ "ofType": null
3817
+ },
3818
+ "defaultValue": "0"
3819
+ },
3820
+ {
3821
+ "name": "customerId",
3822
+ "description": null,
3823
+ "type": {
3824
+ "kind": "SCALAR",
3825
+ "name": "ID",
3826
+ "ofType": null
3827
+ },
3828
+ "defaultValue": null
3829
+ },
3830
+ {
3831
+ "name": "after",
3832
+ "description": "Returns the elements in the list that come after the specified cursor.",
3833
+ "type": {
3834
+ "kind": "SCALAR",
3835
+ "name": "String",
3836
+ "ofType": null
3837
+ },
3838
+ "defaultValue": null
3839
+ },
3840
+ {
3841
+ "name": "before",
3842
+ "description": "Returns the elements in the list that come before the specified cursor.",
3843
+ "type": {
3844
+ "kind": "SCALAR",
3845
+ "name": "String",
3846
+ "ofType": null
3847
+ },
3848
+ "defaultValue": null
3849
+ },
3850
+ {
3851
+ "name": "first",
3852
+ "description": "Returns the first _n_ elements from the list.",
3853
+ "type": {
3854
+ "kind": "SCALAR",
3855
+ "name": "Int",
3856
+ "ofType": null
3857
+ },
3858
+ "defaultValue": null
3859
+ },
3860
+ {
3861
+ "name": "last",
3862
+ "description": "Returns the last _n_ elements from the list.",
3863
+ "type": {
3864
+ "kind": "SCALAR",
3865
+ "name": "Int",
3866
+ "ofType": null
3867
+ },
3868
+ "defaultValue": null
3869
+ }
3870
+ ],
3871
+ "type": {
3872
+ "kind": "NON_NULL",
3873
+ "name": null,
3874
+ "ofType": {
3875
+ "kind": "OBJECT",
3876
+ "name": "InformationRequestConnection",
3877
+ "ofType": null
3878
+ }
3879
+ },
3880
+ "isDeprecated": false,
3881
+ "deprecationReason": null
3882
+ },
2777
3883
  {
2778
3884
  "name": "ListOffers",
2779
3885
  "description": null,
@@ -3021,6 +4127,138 @@
3021
4127
  "enumValues": null,
3022
4128
  "possibleTypes": null
3023
4129
  },
4130
+ {
4131
+ "kind": "INPUT_OBJECT",
4132
+ "name": "RespondToInformationRequestInput",
4133
+ "description": "Autogenerated input type of RespondToInformationRequest",
4134
+ "fields": null,
4135
+ "inputFields": [
4136
+ {
4137
+ "name": "id",
4138
+ "description": "Id of the information request",
4139
+ "type": {
4140
+ "kind": "NON_NULL",
4141
+ "name": null,
4142
+ "ofType": {
4143
+ "kind": "SCALAR",
4144
+ "name": "ID",
4145
+ "ofType": null
4146
+ }
4147
+ },
4148
+ "defaultValue": null
4149
+ },
4150
+ {
4151
+ "name": "informationRequest",
4152
+ "description": null,
4153
+ "type": {
4154
+ "kind": "NON_NULL",
4155
+ "name": null,
4156
+ "ofType": {
4157
+ "kind": "INPUT_OBJECT",
4158
+ "name": "InformationRequestAttributes",
4159
+ "ofType": null
4160
+ }
4161
+ },
4162
+ "defaultValue": null
4163
+ },
4164
+ {
4165
+ "name": "clientMutationId",
4166
+ "description": "A unique identifier for the client performing the mutation.",
4167
+ "type": {
4168
+ "kind": "SCALAR",
4169
+ "name": "String",
4170
+ "ofType": null
4171
+ },
4172
+ "defaultValue": null
4173
+ }
4174
+ ],
4175
+ "interfaces": null,
4176
+ "enumValues": null,
4177
+ "possibleTypes": null
4178
+ },
4179
+ {
4180
+ "kind": "OBJECT",
4181
+ "name": "RespondToInformationRequestPayload",
4182
+ "description": "Autogenerated return type of RespondToInformationRequest",
4183
+ "fields": [
4184
+ {
4185
+ "name": "bill",
4186
+ "description": null,
4187
+ "args": [],
4188
+ "type": {
4189
+ "kind": "OBJECT",
4190
+ "name": "Bill",
4191
+ "ofType": null
4192
+ },
4193
+ "isDeprecated": false,
4194
+ "deprecationReason": null
4195
+ },
4196
+ {
4197
+ "name": "clientMutationId",
4198
+ "description": "A unique identifier for the client performing the mutation.",
4199
+ "args": [],
4200
+ "type": {
4201
+ "kind": "SCALAR",
4202
+ "name": "String",
4203
+ "ofType": null
4204
+ },
4205
+ "isDeprecated": false,
4206
+ "deprecationReason": null
4207
+ },
4208
+ {
4209
+ "name": "errors",
4210
+ "description": null,
4211
+ "args": [],
4212
+ "type": {
4213
+ "kind": "NON_NULL",
4214
+ "name": null,
4215
+ "ofType": {
4216
+ "kind": "LIST",
4217
+ "name": null,
4218
+ "ofType": {
4219
+ "kind": "NON_NULL",
4220
+ "name": null,
4221
+ "ofType": {
4222
+ "kind": "SCALAR",
4223
+ "name": "String",
4224
+ "ofType": null
4225
+ }
4226
+ }
4227
+ }
4228
+ },
4229
+ "isDeprecated": false,
4230
+ "deprecationReason": null
4231
+ },
4232
+ {
4233
+ "name": "informationRequest",
4234
+ "description": null,
4235
+ "args": [],
4236
+ "type": {
4237
+ "kind": "OBJECT",
4238
+ "name": "InformationRequest",
4239
+ "ofType": null
4240
+ },
4241
+ "isDeprecated": false,
4242
+ "deprecationReason": null
4243
+ },
4244
+ {
4245
+ "name": "negotiation",
4246
+ "description": null,
4247
+ "args": [],
4248
+ "type": {
4249
+ "kind": "OBJECT",
4250
+ "name": "Negotiation",
4251
+ "ofType": null
4252
+ },
4253
+ "isDeprecated": false,
4254
+ "deprecationReason": null
4255
+ }
4256
+ ],
4257
+ "inputFields": null,
4258
+ "interfaces": [],
4259
+ "enumValues": null,
4260
+ "possibleTypes": null
4261
+ },
3024
4262
  {
3025
4263
  "kind": "SCALAR",
3026
4264
  "name": "String",