billfixers-partner 1.1.7 → 1.2.3

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: d694178a104c7c506bb08c5aef147484b7b3d6b1168d5e628f6e54a3d2e97a39
4
- data.tar.gz: 252f1ec52acb3116c111c89e3d773c35e18e6f63fc6fc8c78ea9c8627ea53eaa
3
+ metadata.gz: 4d03fecf53ba94d473db4b3a6ae819f202cf77683a25cd6e4f1205800d5a9a7f
4
+ data.tar.gz: 787115f962172cb98ac18b1b4e19f51c785950ef7ab6703bb7f1521761b23958
5
5
  SHA512:
6
- metadata.gz: 052be6f040d85f499bb727ada49f4e827470583d9168c8cb2930d9d0532a323b625296878f855bef7d25ab74e11ddf655bb2bc6b0fdff9c539212e89917f7a4f
7
- data.tar.gz: dfb98fad4258124d7490a2056a2a8327e8b85516e362dda6a425ccaadb571d9b1106446141a8415df6bad892fb3a981b443f660b30a875635bc31aad7499b8bb
6
+ metadata.gz: aaeea7b81d2f011b678f8e40060fdd789450a2918a77aac94ab3fc22a7db1242241fd4772f5fd7218f1c8a01c1673dcc049c249a3680908b6eefab78e3295ccc
7
+ data.tar.gz: eb0a3f318572a57b5ee7321052d7196fbf9d38ffa1296c4ac010fbf60b93d26230f66c6df85d28369d25c20dbcc98d18ffe92589ae4a8b830eedbe836d41a300
data/.gitignore CHANGED
@@ -7,3 +7,4 @@
7
7
  /spec/reports/
8
8
  /tmp/
9
9
  .byebug_history
10
+ *.gem
@@ -6,14 +6,15 @@ require 'graphlient'
6
6
  module Billfixers
7
7
  module Partner
8
8
  class Client
9
- def initialize(email:, token:, test_mode: false)
10
- endpoint = test_mode ? 'https://billfixers-staging.herokuapp.com/partner/graphql' : 'https://billfixers.herokuapp.com/partner/graphql'
9
+ def initialize(api_key:)
10
+ test_mode = api_key.start_with?('test_')
11
+
12
+ endpoint = test_mode ? 'https://billfixers-partner-sandbox.herokuapp.com/partner/graphql' : 'https://billfixers.herokuapp.com/partner/graphql'
11
13
 
12
14
  @gql = Graphlient::Client.new(endpoint,
13
15
  schema_path: File.join(File.dirname(__FILE__), '../../../partner_schema.json'),
14
16
  headers: {
15
- "X-PartnerUser-Email": email,
16
- "X-PartnerUser-Token": token
17
+ "X-Partner-ApiKey": api_key
17
18
  })
18
19
  end
19
20
 
@@ -190,6 +191,18 @@ module Billfixers
190
191
  response.data.calculate_savings_estimate
191
192
  end
192
193
 
194
+ def provide_documentless_info(bill_id, documentless_info)
195
+ response = @gql.query(
196
+ PROVIDE_DOCUMENTLESS_INFO_MUTATION,
197
+ {
198
+ bill_id: bill_id,
199
+ documentless_info: documentless_info
200
+ }
201
+ )
202
+
203
+ response.data.provide_documentless_info
204
+ end
205
+
193
206
  private
194
207
 
195
208
  def camelize(hsh)
@@ -50,6 +50,7 @@ module Billfixers
50
50
  updatedAt
51
51
  autoRenegotiate
52
52
  allowsContract
53
+ documentlessInfo
53
54
 
54
55
  items {
55
56
  #{BILL_ITEM_FRAGMENT}
@@ -299,24 +300,39 @@ module Billfixers
299
300
 
300
301
  CALCULATE_SAVINGS_ESTIMATE = %(
301
302
  query(
302
- $providerId: ID!
303
- $currentMonthlyAmount: Float!
303
+ $provider_id: ID!
304
+ $current_monthly_amount: Float!
304
305
  ) {
305
306
  CalculateSavingsEstimate {
306
307
  estimatedAnnualSavings(
307
- providerId: $providerId
308
- currentMonthlyAmount: $currentMonthlyAmount
308
+ providerId: $provider_id
309
+ currentMonthlyAmount: $current_monthly_amount
309
310
  )
310
311
  estimatedMonthlySavings(
311
- providerId: $providerId
312
- currentMonthlyAmount: $currentMonthlyAmount
312
+ providerId: $provider_id
313
+ currentMonthlyAmount: $current_monthly_amount
313
314
  )
314
315
  percentageSavings(
315
- providerId: $providerId
316
- currentMonthlyAmount: $currentMonthlyAmount
316
+ providerId: $provider_id
317
+ currentMonthlyAmount: $current_monthly_amount
317
318
  )
318
319
  }
319
320
  }
320
321
  )
322
+
323
+ PROVIDE_DOCUMENTLESS_INFO_MUTATION = %(
324
+ mutation($bill_id: ID!, $documentless_info: JSON!) {
325
+ ProvideDocumentlessInfo(input: {
326
+ billId: $bill_id,
327
+ documentlessInfo: $documentless_info
328
+ }) {
329
+ success
330
+ errors
331
+ bill {
332
+ #{BILL_FRAGMENT}
333
+ }
334
+ }
335
+ }
336
+ )
321
337
  end
322
338
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Billfixers
4
4
  module Partner
5
- VERSION = '1.1.7'
5
+ VERSION = '1.2.3'
6
6
  end
7
7
  end
data/partner_schema.json CHANGED
@@ -216,6 +216,50 @@
216
216
  "isDeprecated": false,
217
217
  "deprecationReason": null
218
218
  },
219
+ {
220
+ "name": "documentlessAllowed",
221
+ "description": "Allows documentless submission of a bill",
222
+ "args": [],
223
+ "type": {
224
+ "kind": "NON_NULL",
225
+ "name": null,
226
+ "ofType": {
227
+ "kind": "SCALAR",
228
+ "name": "Boolean",
229
+ "ofType": null
230
+ }
231
+ },
232
+ "isDeprecated": false,
233
+ "deprecationReason": null
234
+ },
235
+ {
236
+ "name": "documentlessInfo",
237
+ "description": "A JSON object containing fields needed for documentless negotiation related to this bill's provider.",
238
+ "args": [],
239
+ "type": {
240
+ "kind": "SCALAR",
241
+ "name": "JSON",
242
+ "ofType": null
243
+ },
244
+ "isDeprecated": false,
245
+ "deprecationReason": null
246
+ },
247
+ {
248
+ "name": "grossSavings",
249
+ "description": "The lifetime value gained from negotiations",
250
+ "args": [],
251
+ "type": {
252
+ "kind": "NON_NULL",
253
+ "name": null,
254
+ "ofType": {
255
+ "kind": "SCALAR",
256
+ "name": "Money",
257
+ "ofType": null
258
+ }
259
+ },
260
+ "isDeprecated": false,
261
+ "deprecationReason": null
262
+ },
219
263
  {
220
264
  "name": "id",
221
265
  "description": "Alpha-numeric unique identifier",
@@ -232,6 +276,30 @@
232
276
  "isDeprecated": false,
233
277
  "deprecationReason": null
234
278
  },
279
+ {
280
+ "name": "informationRequests",
281
+ "description": null,
282
+ "args": [],
283
+ "type": {
284
+ "kind": "NON_NULL",
285
+ "name": null,
286
+ "ofType": {
287
+ "kind": "LIST",
288
+ "name": null,
289
+ "ofType": {
290
+ "kind": "NON_NULL",
291
+ "name": null,
292
+ "ofType": {
293
+ "kind": "OBJECT",
294
+ "name": "InformationRequest",
295
+ "ofType": null
296
+ }
297
+ }
298
+ }
299
+ },
300
+ "isDeprecated": false,
301
+ "deprecationReason": null
302
+ },
235
303
  {
236
304
  "name": "items",
237
305
  "description": "The items on the bill",
@@ -346,7 +414,7 @@
346
414
  },
347
415
  {
348
416
  "name": "totalSavings",
349
- "description": "The total value gained from negotiations",
417
+ "description": "The current value gained from negotiations",
350
418
  "args": [],
351
419
  "type": {
352
420
  "kind": "NON_NULL",
@@ -860,6 +928,22 @@
860
928
  "name": "Customer",
861
929
  "description": "The person being billed by a provider",
862
930
  "fields": [
931
+ {
932
+ "name": "allTimeGrossSavings",
933
+ "description": null,
934
+ "args": [],
935
+ "type": {
936
+ "kind": "NON_NULL",
937
+ "name": null,
938
+ "ofType": {
939
+ "kind": "SCALAR",
940
+ "name": "Money",
941
+ "ofType": null
942
+ }
943
+ },
944
+ "isDeprecated": false,
945
+ "deprecationReason": null
946
+ },
863
947
  {
864
948
  "name": "avatarUrl",
865
949
  "description": null,
@@ -892,6 +976,22 @@
892
976
  "isDeprecated": false,
893
977
  "deprecationReason": null
894
978
  },
979
+ {
980
+ "name": "billCount",
981
+ "description": null,
982
+ "args": [],
983
+ "type": {
984
+ "kind": "NON_NULL",
985
+ "name": null,
986
+ "ofType": {
987
+ "kind": "SCALAR",
988
+ "name": "Int",
989
+ "ofType": null
990
+ }
991
+ },
992
+ "isDeprecated": false,
993
+ "deprecationReason": null
994
+ },
895
995
  {
896
996
  "name": "bills",
897
997
  "description": null,
@@ -970,13 +1070,9 @@
970
1070
  "description": null,
971
1071
  "args": [],
972
1072
  "type": {
973
- "kind": "NON_NULL",
974
- "name": null,
975
- "ofType": {
976
- "kind": "SCALAR",
977
- "name": "String",
978
- "ofType": null
979
- }
1073
+ "kind": "SCALAR",
1074
+ "name": "String",
1075
+ "ofType": null
980
1076
  },
981
1077
  "isDeprecated": false,
982
1078
  "deprecationReason": null
@@ -1049,6 +1145,38 @@
1049
1145
  "isDeprecated": false,
1050
1146
  "deprecationReason": null
1051
1147
  },
1148
+ {
1149
+ "name": "readyBillCount",
1150
+ "description": null,
1151
+ "args": [],
1152
+ "type": {
1153
+ "kind": "NON_NULL",
1154
+ "name": null,
1155
+ "ofType": {
1156
+ "kind": "SCALAR",
1157
+ "name": "Int",
1158
+ "ofType": null
1159
+ }
1160
+ },
1161
+ "isDeprecated": false,
1162
+ "deprecationReason": null
1163
+ },
1164
+ {
1165
+ "name": "type",
1166
+ "description": null,
1167
+ "args": [],
1168
+ "type": {
1169
+ "kind": "NON_NULL",
1170
+ "name": null,
1171
+ "ofType": {
1172
+ "kind": "SCALAR",
1173
+ "name": "String",
1174
+ "ofType": null
1175
+ }
1176
+ },
1177
+ "isDeprecated": false,
1178
+ "deprecationReason": null
1179
+ },
1052
1180
  {
1053
1181
  "name": "updatedAt",
1054
1182
  "description": null,
@@ -2093,6 +2221,22 @@
2093
2221
  "isDeprecated": false,
2094
2222
  "deprecationReason": null
2095
2223
  },
2224
+ {
2225
+ "name": "expired",
2226
+ "description": "Whether or not the savings for this item have expired",
2227
+ "args": [],
2228
+ "type": {
2229
+ "kind": "NON_NULL",
2230
+ "name": null,
2231
+ "ofType": {
2232
+ "kind": "SCALAR",
2233
+ "name": "Boolean",
2234
+ "ofType": null
2235
+ }
2236
+ },
2237
+ "isDeprecated": false,
2238
+ "deprecationReason": null
2239
+ },
2096
2240
  {
2097
2241
  "name": "name",
2098
2242
  "description": "Name of the good or service",
@@ -2243,6 +2387,16 @@
2243
2387
  "enumValues": null,
2244
2388
  "possibleTypes": null
2245
2389
  },
2390
+ {
2391
+ "kind": "SCALAR",
2392
+ "name": "JSON",
2393
+ "description": "Represents untyped JSON",
2394
+ "fields": null,
2395
+ "inputFields": null,
2396
+ "interfaces": null,
2397
+ "enumValues": null,
2398
+ "possibleTypes": null
2399
+ },
2246
2400
  {
2247
2401
  "kind": "SCALAR",
2248
2402
  "name": "Money",
@@ -2339,6 +2493,33 @@
2339
2493
  "isDeprecated": false,
2340
2494
  "deprecationReason": null
2341
2495
  },
2496
+ {
2497
+ "name": "ProvideDocumentlessInfo",
2498
+ "description": null,
2499
+ "args": [
2500
+ {
2501
+ "name": "input",
2502
+ "description": "Parameters for ProvideDocumentlessInfo",
2503
+ "type": {
2504
+ "kind": "NON_NULL",
2505
+ "name": null,
2506
+ "ofType": {
2507
+ "kind": "INPUT_OBJECT",
2508
+ "name": "ProvideDocumentlessInfoInput",
2509
+ "ofType": null
2510
+ }
2511
+ },
2512
+ "defaultValue": null
2513
+ }
2514
+ ],
2515
+ "type": {
2516
+ "kind": "OBJECT",
2517
+ "name": "ProvideDocumentlessInfoPayload",
2518
+ "ofType": null
2519
+ },
2520
+ "isDeprecated": false,
2521
+ "deprecationReason": null
2522
+ },
2342
2523
  {
2343
2524
  "name": "RejectOffer",
2344
2525
  "description": "Reject an offer",
@@ -2420,6 +2601,87 @@
2420
2601
  "isDeprecated": false,
2421
2602
  "deprecationReason": null
2422
2603
  },
2604
+ {
2605
+ "name": "SandboxGenerateNegotiation",
2606
+ "description": null,
2607
+ "args": [
2608
+ {
2609
+ "name": "input",
2610
+ "description": "Parameters for SandboxGenerateNegotiation",
2611
+ "type": {
2612
+ "kind": "NON_NULL",
2613
+ "name": null,
2614
+ "ofType": {
2615
+ "kind": "INPUT_OBJECT",
2616
+ "name": "SandboxGenerateNegotiationInput",
2617
+ "ofType": null
2618
+ }
2619
+ },
2620
+ "defaultValue": null
2621
+ }
2622
+ ],
2623
+ "type": {
2624
+ "kind": "OBJECT",
2625
+ "name": "SandboxGenerateNegotiationPayload",
2626
+ "ofType": null
2627
+ },
2628
+ "isDeprecated": false,
2629
+ "deprecationReason": null
2630
+ },
2631
+ {
2632
+ "name": "SandboxResetBill",
2633
+ "description": null,
2634
+ "args": [
2635
+ {
2636
+ "name": "input",
2637
+ "description": "Parameters for SandboxResetBill",
2638
+ "type": {
2639
+ "kind": "NON_NULL",
2640
+ "name": null,
2641
+ "ofType": {
2642
+ "kind": "INPUT_OBJECT",
2643
+ "name": "SandboxResetBillInput",
2644
+ "ofType": null
2645
+ }
2646
+ },
2647
+ "defaultValue": null
2648
+ }
2649
+ ],
2650
+ "type": {
2651
+ "kind": "OBJECT",
2652
+ "name": "SandboxResetBillPayload",
2653
+ "ofType": null
2654
+ },
2655
+ "isDeprecated": false,
2656
+ "deprecationReason": null
2657
+ },
2658
+ {
2659
+ "name": "SandboxTransitionNegotiation",
2660
+ "description": null,
2661
+ "args": [
2662
+ {
2663
+ "name": "input",
2664
+ "description": "Parameters for SandboxTransitionNegotiation",
2665
+ "type": {
2666
+ "kind": "NON_NULL",
2667
+ "name": null,
2668
+ "ofType": {
2669
+ "kind": "INPUT_OBJECT",
2670
+ "name": "SandboxTransitionNegotiationInput",
2671
+ "ofType": null
2672
+ }
2673
+ },
2674
+ "defaultValue": null
2675
+ }
2676
+ ],
2677
+ "type": {
2678
+ "kind": "OBJECT",
2679
+ "name": "SandboxTransitionNegotiationPayload",
2680
+ "ofType": null
2681
+ },
2682
+ "isDeprecated": false,
2683
+ "deprecationReason": null
2684
+ },
2423
2685
  {
2424
2686
  "name": "StopNegotiating",
2425
2687
  "description": null,
@@ -2887,18 +3149,152 @@
2887
3149
  },
2888
3150
  {
2889
3151
  "kind": "OBJECT",
2890
- "name": "Offer",
2891
- "description": null,
3152
+ "name": "NegotiationConnection",
3153
+ "description": "The connection type for Negotiation.",
2892
3154
  "fields": [
2893
3155
  {
2894
- "name": "acceptedAt",
2895
- "description": null,
3156
+ "name": "edges",
3157
+ "description": "A list of edges.",
2896
3158
  "args": [],
2897
3159
  "type": {
2898
- "kind": "SCALAR",
2899
- "name": "DateTime",
2900
- "ofType": null
2901
- },
3160
+ "kind": "NON_NULL",
3161
+ "name": null,
3162
+ "ofType": {
3163
+ "kind": "LIST",
3164
+ "name": null,
3165
+ "ofType": {
3166
+ "kind": "NON_NULL",
3167
+ "name": null,
3168
+ "ofType": {
3169
+ "kind": "OBJECT",
3170
+ "name": "NegotiationEdge",
3171
+ "ofType": null
3172
+ }
3173
+ }
3174
+ }
3175
+ },
3176
+ "isDeprecated": false,
3177
+ "deprecationReason": null
3178
+ },
3179
+ {
3180
+ "name": "nodes",
3181
+ "description": "A list of nodes.",
3182
+ "args": [],
3183
+ "type": {
3184
+ "kind": "NON_NULL",
3185
+ "name": null,
3186
+ "ofType": {
3187
+ "kind": "LIST",
3188
+ "name": null,
3189
+ "ofType": {
3190
+ "kind": "NON_NULL",
3191
+ "name": null,
3192
+ "ofType": {
3193
+ "kind": "OBJECT",
3194
+ "name": "Negotiation",
3195
+ "ofType": null
3196
+ }
3197
+ }
3198
+ }
3199
+ },
3200
+ "isDeprecated": false,
3201
+ "deprecationReason": null
3202
+ },
3203
+ {
3204
+ "name": "pageInfo",
3205
+ "description": "Information to aid in pagination.",
3206
+ "args": [],
3207
+ "type": {
3208
+ "kind": "NON_NULL",
3209
+ "name": null,
3210
+ "ofType": {
3211
+ "kind": "OBJECT",
3212
+ "name": "PageInfo",
3213
+ "ofType": null
3214
+ }
3215
+ },
3216
+ "isDeprecated": false,
3217
+ "deprecationReason": null
3218
+ },
3219
+ {
3220
+ "name": "totalCount",
3221
+ "description": null,
3222
+ "args": [],
3223
+ "type": {
3224
+ "kind": "NON_NULL",
3225
+ "name": null,
3226
+ "ofType": {
3227
+ "kind": "SCALAR",
3228
+ "name": "Int",
3229
+ "ofType": null
3230
+ }
3231
+ },
3232
+ "isDeprecated": false,
3233
+ "deprecationReason": null
3234
+ }
3235
+ ],
3236
+ "inputFields": null,
3237
+ "interfaces": [],
3238
+ "enumValues": null,
3239
+ "possibleTypes": null
3240
+ },
3241
+ {
3242
+ "kind": "OBJECT",
3243
+ "name": "NegotiationEdge",
3244
+ "description": "An edge in a connection.",
3245
+ "fields": [
3246
+ {
3247
+ "name": "cursor",
3248
+ "description": "A cursor for use in pagination.",
3249
+ "args": [],
3250
+ "type": {
3251
+ "kind": "NON_NULL",
3252
+ "name": null,
3253
+ "ofType": {
3254
+ "kind": "SCALAR",
3255
+ "name": "String",
3256
+ "ofType": null
3257
+ }
3258
+ },
3259
+ "isDeprecated": false,
3260
+ "deprecationReason": null
3261
+ },
3262
+ {
3263
+ "name": "node",
3264
+ "description": "The item at the end of the edge.",
3265
+ "args": [],
3266
+ "type": {
3267
+ "kind": "NON_NULL",
3268
+ "name": null,
3269
+ "ofType": {
3270
+ "kind": "OBJECT",
3271
+ "name": "Negotiation",
3272
+ "ofType": null
3273
+ }
3274
+ },
3275
+ "isDeprecated": false,
3276
+ "deprecationReason": null
3277
+ }
3278
+ ],
3279
+ "inputFields": null,
3280
+ "interfaces": [],
3281
+ "enumValues": null,
3282
+ "possibleTypes": null
3283
+ },
3284
+ {
3285
+ "kind": "OBJECT",
3286
+ "name": "Offer",
3287
+ "description": null,
3288
+ "fields": [
3289
+ {
3290
+ "name": "acceptedAt",
3291
+ "description": null,
3292
+ "args": [],
3293
+ "type": {
3294
+ "kind": "SCALAR",
3295
+ "name": "DateTime",
3296
+ "ofType": null
3297
+ },
2902
3298
  "isDeprecated": false,
2903
3299
  "deprecationReason": null
2904
3300
  },
@@ -3267,15 +3663,15 @@
3267
3663
  "description": null,
3268
3664
  "fields": [
3269
3665
  {
3270
- "name": "createdAt",
3271
- "description": null,
3666
+ "name": "apiKey",
3667
+ "description": "Live API key",
3272
3668
  "args": [],
3273
3669
  "type": {
3274
3670
  "kind": "NON_NULL",
3275
3671
  "name": null,
3276
3672
  "ofType": {
3277
3673
  "kind": "SCALAR",
3278
- "name": "DateTime",
3674
+ "name": "String",
3279
3675
  "ofType": null
3280
3676
  }
3281
3677
  },
@@ -3283,15 +3679,15 @@
3283
3679
  "deprecationReason": null
3284
3680
  },
3285
3681
  {
3286
- "name": "id",
3287
- "description": "Alpha-numeric unique identifier",
3682
+ "name": "averageSavingsPerBill",
3683
+ "description": null,
3288
3684
  "args": [],
3289
3685
  "type": {
3290
3686
  "kind": "NON_NULL",
3291
3687
  "name": null,
3292
3688
  "ofType": {
3293
3689
  "kind": "SCALAR",
3294
- "name": "String",
3690
+ "name": "Money",
3295
3691
  "ofType": null
3296
3692
  }
3297
3693
  },
@@ -3299,27 +3695,31 @@
3299
3695
  "deprecationReason": null
3300
3696
  },
3301
3697
  {
3302
- "name": "liveWebhookUrl",
3303
- "description": "Webhook URL for live/production requests",
3698
+ "name": "averageSavingsPerCustomer",
3699
+ "description": null,
3304
3700
  "args": [],
3305
3701
  "type": {
3306
- "kind": "SCALAR",
3307
- "name": "String",
3308
- "ofType": null
3702
+ "kind": "NON_NULL",
3703
+ "name": null,
3704
+ "ofType": {
3705
+ "kind": "SCALAR",
3706
+ "name": "Money",
3707
+ "ofType": null
3708
+ }
3309
3709
  },
3310
3710
  "isDeprecated": false,
3311
3711
  "deprecationReason": null
3312
3712
  },
3313
3713
  {
3314
- "name": "name",
3315
- "description": "Name of the partner",
3714
+ "name": "averageSavingsPerReadyBill",
3715
+ "description": null,
3316
3716
  "args": [],
3317
3717
  "type": {
3318
3718
  "kind": "NON_NULL",
3319
3719
  "name": null,
3320
3720
  "ofType": {
3321
3721
  "kind": "SCALAR",
3322
- "name": "String",
3722
+ "name": "Money",
3323
3723
  "ofType": null
3324
3724
  }
3325
3725
  },
@@ -3327,27 +3727,31 @@
3327
3727
  "deprecationReason": null
3328
3728
  },
3329
3729
  {
3330
- "name": "referralCode",
3331
- "description": "The partner's referral code",
3730
+ "name": "billCount",
3731
+ "description": null,
3332
3732
  "args": [],
3333
3733
  "type": {
3334
- "kind": "SCALAR",
3335
- "name": "String",
3336
- "ofType": null
3734
+ "kind": "NON_NULL",
3735
+ "name": null,
3736
+ "ofType": {
3737
+ "kind": "SCALAR",
3738
+ "name": "Int",
3739
+ "ofType": null
3740
+ }
3337
3741
  },
3338
3742
  "isDeprecated": false,
3339
3743
  "deprecationReason": null
3340
3744
  },
3341
3745
  {
3342
- "name": "referralLink",
3343
- "description": "The partner's referral link",
3746
+ "name": "createdAt",
3747
+ "description": null,
3344
3748
  "args": [],
3345
3749
  "type": {
3346
3750
  "kind": "NON_NULL",
3347
3751
  "name": null,
3348
3752
  "ofType": {
3349
3753
  "kind": "SCALAR",
3350
- "name": "String",
3754
+ "name": "DateTime",
3351
3755
  "ofType": null
3352
3756
  }
3353
3757
  },
@@ -3355,19 +3759,23 @@
3355
3759
  "deprecationReason": null
3356
3760
  },
3357
3761
  {
3358
- "name": "testWebhookUrl",
3359
- "description": "Webhook URL for test/development requests",
3762
+ "name": "customerCount",
3763
+ "description": null,
3360
3764
  "args": [],
3361
3765
  "type": {
3362
- "kind": "SCALAR",
3363
- "name": "String",
3364
- "ofType": null
3766
+ "kind": "NON_NULL",
3767
+ "name": null,
3768
+ "ofType": {
3769
+ "kind": "SCALAR",
3770
+ "name": "Int",
3771
+ "ofType": null
3772
+ }
3365
3773
  },
3366
3774
  "isDeprecated": false,
3367
3775
  "deprecationReason": null
3368
3776
  },
3369
3777
  {
3370
- "name": "updatedAt",
3778
+ "name": "customersWithReadyBillsCount",
3371
3779
  "description": null,
3372
3780
  "args": [],
3373
3781
  "type": {
@@ -3375,58 +3783,39 @@
3375
3783
  "name": null,
3376
3784
  "ofType": {
3377
3785
  "kind": "SCALAR",
3378
- "name": "DateTime",
3786
+ "name": "Int",
3379
3787
  "ofType": null
3380
3788
  }
3381
3789
  },
3382
3790
  "isDeprecated": false,
3383
3791
  "deprecationReason": null
3384
- }
3385
- ],
3386
- "inputFields": null,
3387
- "interfaces": [],
3388
- "enumValues": null,
3389
- "possibleTypes": null
3390
- },
3391
- {
3392
- "kind": "OBJECT",
3393
- "name": "Provider",
3394
- "description": null,
3395
- "fields": [
3792
+ },
3396
3793
  {
3397
- "name": "billFields",
3794
+ "name": "customersWithoutReadyBillsCount",
3398
3795
  "description": null,
3399
3796
  "args": [],
3400
3797
  "type": {
3401
3798
  "kind": "NON_NULL",
3402
3799
  "name": null,
3403
3800
  "ofType": {
3404
- "kind": "LIST",
3405
- "name": null,
3406
- "ofType": {
3407
- "kind": "NON_NULL",
3408
- "name": null,
3409
- "ofType": {
3410
- "kind": "SCALAR",
3411
- "name": "String",
3412
- "ofType": null
3413
- }
3414
- }
3801
+ "kind": "SCALAR",
3802
+ "name": "Int",
3803
+ "ofType": null
3415
3804
  }
3416
3805
  },
3417
3806
  "isDeprecated": false,
3418
3807
  "deprecationReason": null
3419
3808
  },
3420
3809
  {
3421
- "name": "createdAt",
3422
- "description": null,
3810
+ "name": "id",
3811
+ "description": "Alpha-numeric unique identifier",
3423
3812
  "args": [],
3424
3813
  "type": {
3425
3814
  "kind": "NON_NULL",
3426
3815
  "name": null,
3427
3816
  "ofType": {
3428
3817
  "kind": "SCALAR",
3429
- "name": "DateTime",
3818
+ "name": "String",
3430
3819
  "ofType": null
3431
3820
  }
3432
3821
  },
@@ -3434,7 +3823,7 @@
3434
3823
  "deprecationReason": null
3435
3824
  },
3436
3825
  {
3437
- "name": "id",
3826
+ "name": "lastNinetyDaysSignups",
3438
3827
  "description": null,
3439
3828
  "args": [],
3440
3829
  "type": {
@@ -3442,7 +3831,7 @@
3442
3831
  "name": null,
3443
3832
  "ofType": {
3444
3833
  "kind": "SCALAR",
3445
- "name": "ID",
3834
+ "name": "Int",
3446
3835
  "ofType": null
3447
3836
  }
3448
3837
  },
@@ -3450,19 +3839,23 @@
3450
3839
  "deprecationReason": null
3451
3840
  },
3452
3841
  {
3453
- "name": "logo",
3842
+ "name": "lastSevenDaysSignups",
3454
3843
  "description": null,
3455
3844
  "args": [],
3456
3845
  "type": {
3457
- "kind": "OBJECT",
3458
- "name": "Image",
3459
- "ofType": null
3846
+ "kind": "NON_NULL",
3847
+ "name": null,
3848
+ "ofType": {
3849
+ "kind": "SCALAR",
3850
+ "name": "Int",
3851
+ "ofType": null
3852
+ }
3460
3853
  },
3461
3854
  "isDeprecated": false,
3462
3855
  "deprecationReason": null
3463
3856
  },
3464
3857
  {
3465
- "name": "name",
3858
+ "name": "lastThirtyDaysSignups",
3466
3859
  "description": null,
3467
3860
  "args": [],
3468
3861
  "type": {
@@ -3470,7 +3863,7 @@
3470
3863
  "name": null,
3471
3864
  "ofType": {
3472
3865
  "kind": "SCALAR",
3473
- "name": "String",
3866
+ "name": "Int",
3474
3867
  "ofType": null
3475
3868
  }
3476
3869
  },
@@ -3478,15 +3871,406 @@
3478
3871
  "deprecationReason": null
3479
3872
  },
3480
3873
  {
3481
- "name": "services",
3482
- "description": null,
3874
+ "name": "liveWebhookUrl",
3875
+ "description": "Webhook URL for live/production requests",
3483
3876
  "args": [],
3484
3877
  "type": {
3485
- "kind": "NON_NULL",
3486
- "name": null,
3487
- "ofType": {
3488
- "kind": "LIST",
3489
- "name": null,
3878
+ "kind": "SCALAR",
3879
+ "name": "String",
3880
+ "ofType": null
3881
+ },
3882
+ "isDeprecated": false,
3883
+ "deprecationReason": null
3884
+ },
3885
+ {
3886
+ "name": "name",
3887
+ "description": "Name of the partner",
3888
+ "args": [],
3889
+ "type": {
3890
+ "kind": "NON_NULL",
3891
+ "name": null,
3892
+ "ofType": {
3893
+ "kind": "SCALAR",
3894
+ "name": "String",
3895
+ "ofType": null
3896
+ }
3897
+ },
3898
+ "isDeprecated": false,
3899
+ "deprecationReason": null
3900
+ },
3901
+ {
3902
+ "name": "readyBillCount",
3903
+ "description": null,
3904
+ "args": [],
3905
+ "type": {
3906
+ "kind": "NON_NULL",
3907
+ "name": null,
3908
+ "ofType": {
3909
+ "kind": "SCALAR",
3910
+ "name": "Int",
3911
+ "ofType": null
3912
+ }
3913
+ },
3914
+ "isDeprecated": false,
3915
+ "deprecationReason": null
3916
+ },
3917
+ {
3918
+ "name": "referralCode",
3919
+ "description": "The partner's referral code",
3920
+ "args": [],
3921
+ "type": {
3922
+ "kind": "SCALAR",
3923
+ "name": "String",
3924
+ "ofType": null
3925
+ },
3926
+ "isDeprecated": false,
3927
+ "deprecationReason": null
3928
+ },
3929
+ {
3930
+ "name": "referralLink",
3931
+ "description": "The partner's referral link",
3932
+ "args": [],
3933
+ "type": {
3934
+ "kind": "NON_NULL",
3935
+ "name": null,
3936
+ "ofType": {
3937
+ "kind": "SCALAR",
3938
+ "name": "String",
3939
+ "ofType": null
3940
+ }
3941
+ },
3942
+ "isDeprecated": false,
3943
+ "deprecationReason": null
3944
+ },
3945
+ {
3946
+ "name": "testApiKey",
3947
+ "description": "Test API key",
3948
+ "args": [],
3949
+ "type": {
3950
+ "kind": "NON_NULL",
3951
+ "name": null,
3952
+ "ofType": {
3953
+ "kind": "SCALAR",
3954
+ "name": "String",
3955
+ "ofType": null
3956
+ }
3957
+ },
3958
+ "isDeprecated": false,
3959
+ "deprecationReason": null
3960
+ },
3961
+ {
3962
+ "name": "testWebhookUrl",
3963
+ "description": "Webhook URL for test/development requests",
3964
+ "args": [],
3965
+ "type": {
3966
+ "kind": "SCALAR",
3967
+ "name": "String",
3968
+ "ofType": null
3969
+ },
3970
+ "isDeprecated": false,
3971
+ "deprecationReason": null
3972
+ },
3973
+ {
3974
+ "name": "totalSavings",
3975
+ "description": null,
3976
+ "args": [],
3977
+ "type": {
3978
+ "kind": "NON_NULL",
3979
+ "name": null,
3980
+ "ofType": {
3981
+ "kind": "SCALAR",
3982
+ "name": "Money",
3983
+ "ofType": null
3984
+ }
3985
+ },
3986
+ "isDeprecated": false,
3987
+ "deprecationReason": null
3988
+ },
3989
+ {
3990
+ "name": "updatedAt",
3991
+ "description": null,
3992
+ "args": [],
3993
+ "type": {
3994
+ "kind": "NON_NULL",
3995
+ "name": null,
3996
+ "ofType": {
3997
+ "kind": "SCALAR",
3998
+ "name": "DateTime",
3999
+ "ofType": null
4000
+ }
4001
+ },
4002
+ "isDeprecated": false,
4003
+ "deprecationReason": null
4004
+ }
4005
+ ],
4006
+ "inputFields": null,
4007
+ "interfaces": [],
4008
+ "enumValues": null,
4009
+ "possibleTypes": null
4010
+ },
4011
+ {
4012
+ "kind": "INPUT_OBJECT",
4013
+ "name": "ProvideDocumentlessInfoInput",
4014
+ "description": "Autogenerated input type of ProvideDocumentlessInfo",
4015
+ "fields": null,
4016
+ "inputFields": [
4017
+ {
4018
+ "name": "billId",
4019
+ "description": null,
4020
+ "type": {
4021
+ "kind": "NON_NULL",
4022
+ "name": null,
4023
+ "ofType": {
4024
+ "kind": "SCALAR",
4025
+ "name": "ID",
4026
+ "ofType": null
4027
+ }
4028
+ },
4029
+ "defaultValue": null
4030
+ },
4031
+ {
4032
+ "name": "documentlessInfo",
4033
+ "description": null,
4034
+ "type": {
4035
+ "kind": "NON_NULL",
4036
+ "name": null,
4037
+ "ofType": {
4038
+ "kind": "SCALAR",
4039
+ "name": "JSON",
4040
+ "ofType": null
4041
+ }
4042
+ },
4043
+ "defaultValue": null
4044
+ },
4045
+ {
4046
+ "name": "clientMutationId",
4047
+ "description": "A unique identifier for the client performing the mutation.",
4048
+ "type": {
4049
+ "kind": "SCALAR",
4050
+ "name": "String",
4051
+ "ofType": null
4052
+ },
4053
+ "defaultValue": null
4054
+ }
4055
+ ],
4056
+ "interfaces": null,
4057
+ "enumValues": null,
4058
+ "possibleTypes": null
4059
+ },
4060
+ {
4061
+ "kind": "OBJECT",
4062
+ "name": "ProvideDocumentlessInfoPayload",
4063
+ "description": "Autogenerated return type of ProvideDocumentlessInfo",
4064
+ "fields": [
4065
+ {
4066
+ "name": "bill",
4067
+ "description": null,
4068
+ "args": [],
4069
+ "type": {
4070
+ "kind": "OBJECT",
4071
+ "name": "Bill",
4072
+ "ofType": null
4073
+ },
4074
+ "isDeprecated": false,
4075
+ "deprecationReason": null
4076
+ },
4077
+ {
4078
+ "name": "clientMutationId",
4079
+ "description": "A unique identifier for the client performing the mutation.",
4080
+ "args": [],
4081
+ "type": {
4082
+ "kind": "SCALAR",
4083
+ "name": "String",
4084
+ "ofType": null
4085
+ },
4086
+ "isDeprecated": false,
4087
+ "deprecationReason": null
4088
+ },
4089
+ {
4090
+ "name": "errors",
4091
+ "description": null,
4092
+ "args": [],
4093
+ "type": {
4094
+ "kind": "NON_NULL",
4095
+ "name": null,
4096
+ "ofType": {
4097
+ "kind": "LIST",
4098
+ "name": null,
4099
+ "ofType": {
4100
+ "kind": "NON_NULL",
4101
+ "name": null,
4102
+ "ofType": {
4103
+ "kind": "SCALAR",
4104
+ "name": "String",
4105
+ "ofType": null
4106
+ }
4107
+ }
4108
+ }
4109
+ },
4110
+ "isDeprecated": false,
4111
+ "deprecationReason": null
4112
+ },
4113
+ {
4114
+ "name": "success",
4115
+ "description": null,
4116
+ "args": [],
4117
+ "type": {
4118
+ "kind": "NON_NULL",
4119
+ "name": null,
4120
+ "ofType": {
4121
+ "kind": "SCALAR",
4122
+ "name": "Boolean",
4123
+ "ofType": null
4124
+ }
4125
+ },
4126
+ "isDeprecated": false,
4127
+ "deprecationReason": null
4128
+ }
4129
+ ],
4130
+ "inputFields": null,
4131
+ "interfaces": [],
4132
+ "enumValues": null,
4133
+ "possibleTypes": null
4134
+ },
4135
+ {
4136
+ "kind": "OBJECT",
4137
+ "name": "Provider",
4138
+ "description": null,
4139
+ "fields": [
4140
+ {
4141
+ "name": "billFields",
4142
+ "description": null,
4143
+ "args": [],
4144
+ "type": {
4145
+ "kind": "NON_NULL",
4146
+ "name": null,
4147
+ "ofType": {
4148
+ "kind": "LIST",
4149
+ "name": null,
4150
+ "ofType": {
4151
+ "kind": "NON_NULL",
4152
+ "name": null,
4153
+ "ofType": {
4154
+ "kind": "SCALAR",
4155
+ "name": "String",
4156
+ "ofType": null
4157
+ }
4158
+ }
4159
+ }
4160
+ },
4161
+ "isDeprecated": false,
4162
+ "deprecationReason": null
4163
+ },
4164
+ {
4165
+ "name": "createdAt",
4166
+ "description": null,
4167
+ "args": [],
4168
+ "type": {
4169
+ "kind": "NON_NULL",
4170
+ "name": null,
4171
+ "ofType": {
4172
+ "kind": "SCALAR",
4173
+ "name": "DateTime",
4174
+ "ofType": null
4175
+ }
4176
+ },
4177
+ "isDeprecated": false,
4178
+ "deprecationReason": null
4179
+ },
4180
+ {
4181
+ "name": "documentlessAllowed",
4182
+ "description": "Allows documentless submission of a bill",
4183
+ "args": [],
4184
+ "type": {
4185
+ "kind": "NON_NULL",
4186
+ "name": null,
4187
+ "ofType": {
4188
+ "kind": "SCALAR",
4189
+ "name": "Boolean",
4190
+ "ofType": null
4191
+ }
4192
+ },
4193
+ "isDeprecated": false,
4194
+ "deprecationReason": null
4195
+ },
4196
+ {
4197
+ "name": "id",
4198
+ "description": null,
4199
+ "args": [],
4200
+ "type": {
4201
+ "kind": "NON_NULL",
4202
+ "name": null,
4203
+ "ofType": {
4204
+ "kind": "SCALAR",
4205
+ "name": "ID",
4206
+ "ofType": null
4207
+ }
4208
+ },
4209
+ "isDeprecated": false,
4210
+ "deprecationReason": null
4211
+ },
4212
+ {
4213
+ "name": "logo",
4214
+ "description": null,
4215
+ "args": [],
4216
+ "type": {
4217
+ "kind": "OBJECT",
4218
+ "name": "Image",
4219
+ "ofType": null
4220
+ },
4221
+ "isDeprecated": false,
4222
+ "deprecationReason": null
4223
+ },
4224
+ {
4225
+ "name": "name",
4226
+ "description": null,
4227
+ "args": [],
4228
+ "type": {
4229
+ "kind": "NON_NULL",
4230
+ "name": null,
4231
+ "ofType": {
4232
+ "kind": "SCALAR",
4233
+ "name": "String",
4234
+ "ofType": null
4235
+ }
4236
+ },
4237
+ "isDeprecated": false,
4238
+ "deprecationReason": null
4239
+ },
4240
+ {
4241
+ "name": "providerBillFields",
4242
+ "description": null,
4243
+ "args": [],
4244
+ "type": {
4245
+ "kind": "NON_NULL",
4246
+ "name": null,
4247
+ "ofType": {
4248
+ "kind": "LIST",
4249
+ "name": null,
4250
+ "ofType": {
4251
+ "kind": "NON_NULL",
4252
+ "name": null,
4253
+ "ofType": {
4254
+ "kind": "OBJECT",
4255
+ "name": "ProviderBillField",
4256
+ "ofType": null
4257
+ }
4258
+ }
4259
+ }
4260
+ },
4261
+ "isDeprecated": false,
4262
+ "deprecationReason": null
4263
+ },
4264
+ {
4265
+ "name": "services",
4266
+ "description": null,
4267
+ "args": [],
4268
+ "type": {
4269
+ "kind": "NON_NULL",
4270
+ "name": null,
4271
+ "ofType": {
4272
+ "kind": "LIST",
4273
+ "name": null,
3490
4274
  "ofType": {
3491
4275
  "kind": "NON_NULL",
3492
4276
  "name": null,
@@ -3523,6 +4307,193 @@
3523
4307
  "enumValues": null,
3524
4308
  "possibleTypes": null
3525
4309
  },
4310
+ {
4311
+ "kind": "OBJECT",
4312
+ "name": "ProviderBillField",
4313
+ "description": null,
4314
+ "fields": [
4315
+ {
4316
+ "name": "createdAt",
4317
+ "description": null,
4318
+ "args": [],
4319
+ "type": {
4320
+ "kind": "NON_NULL",
4321
+ "name": null,
4322
+ "ofType": {
4323
+ "kind": "SCALAR",
4324
+ "name": "DateTime",
4325
+ "ofType": null
4326
+ }
4327
+ },
4328
+ "isDeprecated": false,
4329
+ "deprecationReason": null
4330
+ },
4331
+ {
4332
+ "name": "dataType",
4333
+ "description": null,
4334
+ "args": [],
4335
+ "type": {
4336
+ "kind": "NON_NULL",
4337
+ "name": null,
4338
+ "ofType": {
4339
+ "kind": "SCALAR",
4340
+ "name": "String",
4341
+ "ofType": null
4342
+ }
4343
+ },
4344
+ "isDeprecated": false,
4345
+ "deprecationReason": null
4346
+ },
4347
+ {
4348
+ "name": "formatHashString",
4349
+ "description": null,
4350
+ "args": [],
4351
+ "type": {
4352
+ "kind": "SCALAR",
4353
+ "name": "String",
4354
+ "ofType": null
4355
+ },
4356
+ "isDeprecated": false,
4357
+ "deprecationReason": null
4358
+ },
4359
+ {
4360
+ "name": "helpText",
4361
+ "description": null,
4362
+ "args": [],
4363
+ "type": {
4364
+ "kind": "SCALAR",
4365
+ "name": "String",
4366
+ "ofType": null
4367
+ },
4368
+ "isDeprecated": false,
4369
+ "deprecationReason": null
4370
+ },
4371
+ {
4372
+ "name": "id",
4373
+ "description": null,
4374
+ "args": [],
4375
+ "type": {
4376
+ "kind": "NON_NULL",
4377
+ "name": null,
4378
+ "ofType": {
4379
+ "kind": "SCALAR",
4380
+ "name": "ID",
4381
+ "ofType": null
4382
+ }
4383
+ },
4384
+ "isDeprecated": false,
4385
+ "deprecationReason": null
4386
+ },
4387
+ {
4388
+ "name": "label",
4389
+ "description": null,
4390
+ "args": [],
4391
+ "type": {
4392
+ "kind": "NON_NULL",
4393
+ "name": null,
4394
+ "ofType": {
4395
+ "kind": "SCALAR",
4396
+ "name": "String",
4397
+ "ofType": null
4398
+ }
4399
+ },
4400
+ "isDeprecated": false,
4401
+ "deprecationReason": null
4402
+ },
4403
+ {
4404
+ "name": "name",
4405
+ "description": null,
4406
+ "args": [],
4407
+ "type": {
4408
+ "kind": "NON_NULL",
4409
+ "name": null,
4410
+ "ofType": {
4411
+ "kind": "SCALAR",
4412
+ "name": "String",
4413
+ "ofType": null
4414
+ }
4415
+ },
4416
+ "isDeprecated": false,
4417
+ "deprecationReason": null
4418
+ },
4419
+ {
4420
+ "name": "placeholder",
4421
+ "description": null,
4422
+ "args": [],
4423
+ "type": {
4424
+ "kind": "SCALAR",
4425
+ "name": "String",
4426
+ "ofType": null
4427
+ },
4428
+ "isDeprecated": false,
4429
+ "deprecationReason": null
4430
+ },
4431
+ {
4432
+ "name": "providerId",
4433
+ "description": null,
4434
+ "args": [],
4435
+ "type": {
4436
+ "kind": "NON_NULL",
4437
+ "name": null,
4438
+ "ofType": {
4439
+ "kind": "SCALAR",
4440
+ "name": "ID",
4441
+ "ofType": null
4442
+ }
4443
+ },
4444
+ "isDeprecated": false,
4445
+ "deprecationReason": null
4446
+ },
4447
+ {
4448
+ "name": "required",
4449
+ "description": null,
4450
+ "args": [],
4451
+ "type": {
4452
+ "kind": "NON_NULL",
4453
+ "name": null,
4454
+ "ofType": {
4455
+ "kind": "SCALAR",
4456
+ "name": "Boolean",
4457
+ "ofType": null
4458
+ }
4459
+ },
4460
+ "isDeprecated": false,
4461
+ "deprecationReason": null
4462
+ },
4463
+ {
4464
+ "name": "requiredResponseLength",
4465
+ "description": null,
4466
+ "args": [],
4467
+ "type": {
4468
+ "kind": "SCALAR",
4469
+ "name": "Int",
4470
+ "ofType": null
4471
+ },
4472
+ "isDeprecated": false,
4473
+ "deprecationReason": null
4474
+ },
4475
+ {
4476
+ "name": "updatedAt",
4477
+ "description": null,
4478
+ "args": [],
4479
+ "type": {
4480
+ "kind": "NON_NULL",
4481
+ "name": null,
4482
+ "ofType": {
4483
+ "kind": "SCALAR",
4484
+ "name": "DateTime",
4485
+ "ofType": null
4486
+ }
4487
+ },
4488
+ "isDeprecated": false,
4489
+ "deprecationReason": null
4490
+ }
4491
+ ],
4492
+ "inputFields": null,
4493
+ "interfaces": [],
4494
+ "enumValues": null,
4495
+ "possibleTypes": null
4496
+ },
3526
4497
  {
3527
4498
  "kind": "OBJECT",
3528
4499
  "name": "Query",
@@ -4105,16 +5076,291 @@
4105
5076
  "kind": "NON_NULL",
4106
5077
  "name": null,
4107
5078
  "ofType": {
4108
- "kind": "OBJECT",
4109
- "name": "OfferConnection",
5079
+ "kind": "OBJECT",
5080
+ "name": "OfferConnection",
5081
+ "ofType": null
5082
+ }
5083
+ },
5084
+ "isDeprecated": false,
5085
+ "deprecationReason": null
5086
+ },
5087
+ {
5088
+ "name": "ListProviders",
5089
+ "description": null,
5090
+ "args": [],
5091
+ "type": {
5092
+ "kind": "NON_NULL",
5093
+ "name": null,
5094
+ "ofType": {
5095
+ "kind": "LIST",
5096
+ "name": null,
5097
+ "ofType": {
5098
+ "kind": "NON_NULL",
5099
+ "name": null,
5100
+ "ofType": {
5101
+ "kind": "OBJECT",
5102
+ "name": "Provider",
5103
+ "ofType": null
5104
+ }
5105
+ }
5106
+ }
5107
+ },
5108
+ "isDeprecated": false,
5109
+ "deprecationReason": null
5110
+ },
5111
+ {
5112
+ "name": "SandboxListNegotiationsForBill",
5113
+ "description": null,
5114
+ "args": [
5115
+ {
5116
+ "name": "billId",
5117
+ "description": "",
5118
+ "type": {
5119
+ "kind": "NON_NULL",
5120
+ "name": null,
5121
+ "ofType": {
5122
+ "kind": "SCALAR",
5123
+ "name": "ID",
5124
+ "ofType": null
5125
+ }
5126
+ },
5127
+ "defaultValue": null
5128
+ },
5129
+ {
5130
+ "name": "after",
5131
+ "description": "Returns the elements in the list that come after the specified cursor.",
5132
+ "type": {
5133
+ "kind": "SCALAR",
5134
+ "name": "String",
5135
+ "ofType": null
5136
+ },
5137
+ "defaultValue": null
5138
+ },
5139
+ {
5140
+ "name": "before",
5141
+ "description": "Returns the elements in the list that come before the specified cursor.",
5142
+ "type": {
5143
+ "kind": "SCALAR",
5144
+ "name": "String",
5145
+ "ofType": null
5146
+ },
5147
+ "defaultValue": null
5148
+ },
5149
+ {
5150
+ "name": "first",
5151
+ "description": "Returns the first _n_ elements from the list.",
5152
+ "type": {
5153
+ "kind": "SCALAR",
5154
+ "name": "Int",
5155
+ "ofType": null
5156
+ },
5157
+ "defaultValue": null
5158
+ },
5159
+ {
5160
+ "name": "last",
5161
+ "description": "Returns the last _n_ elements from the list.",
5162
+ "type": {
5163
+ "kind": "SCALAR",
5164
+ "name": "Int",
5165
+ "ofType": null
5166
+ },
5167
+ "defaultValue": null
5168
+ }
5169
+ ],
5170
+ "type": {
5171
+ "kind": "NON_NULL",
5172
+ "name": null,
5173
+ "ofType": {
5174
+ "kind": "OBJECT",
5175
+ "name": "NegotiationConnection",
5176
+ "ofType": null
5177
+ }
5178
+ },
5179
+ "isDeprecated": false,
5180
+ "deprecationReason": null
5181
+ }
5182
+ ],
5183
+ "inputFields": null,
5184
+ "interfaces": [],
5185
+ "enumValues": null,
5186
+ "possibleTypes": null
5187
+ },
5188
+ {
5189
+ "kind": "INPUT_OBJECT",
5190
+ "name": "RejectOfferInput",
5191
+ "description": "Autogenerated input type of RejectOffer",
5192
+ "fields": null,
5193
+ "inputFields": [
5194
+ {
5195
+ "name": "id",
5196
+ "description": null,
5197
+ "type": {
5198
+ "kind": "NON_NULL",
5199
+ "name": null,
5200
+ "ofType": {
5201
+ "kind": "SCALAR",
5202
+ "name": "ID",
5203
+ "ofType": null
5204
+ }
5205
+ },
5206
+ "defaultValue": null
5207
+ },
5208
+ {
5209
+ "name": "clientMutationId",
5210
+ "description": "A unique identifier for the client performing the mutation.",
5211
+ "type": {
5212
+ "kind": "SCALAR",
5213
+ "name": "String",
5214
+ "ofType": null
5215
+ },
5216
+ "defaultValue": null
5217
+ }
5218
+ ],
5219
+ "interfaces": null,
5220
+ "enumValues": null,
5221
+ "possibleTypes": null
5222
+ },
5223
+ {
5224
+ "kind": "OBJECT",
5225
+ "name": "RejectOfferPayload",
5226
+ "description": "Autogenerated return type of RejectOffer",
5227
+ "fields": [
5228
+ {
5229
+ "name": "clientMutationId",
5230
+ "description": "A unique identifier for the client performing the mutation.",
5231
+ "args": [],
5232
+ "type": {
5233
+ "kind": "SCALAR",
5234
+ "name": "String",
5235
+ "ofType": null
5236
+ },
5237
+ "isDeprecated": false,
5238
+ "deprecationReason": null
5239
+ },
5240
+ {
5241
+ "name": "errors",
5242
+ "description": null,
5243
+ "args": [],
5244
+ "type": {
5245
+ "kind": "NON_NULL",
5246
+ "name": null,
5247
+ "ofType": {
5248
+ "kind": "LIST",
5249
+ "name": null,
5250
+ "ofType": {
5251
+ "kind": "NON_NULL",
5252
+ "name": null,
5253
+ "ofType": {
5254
+ "kind": "SCALAR",
5255
+ "name": "String",
5256
+ "ofType": null
5257
+ }
5258
+ }
5259
+ }
5260
+ },
5261
+ "isDeprecated": false,
5262
+ "deprecationReason": null
5263
+ },
5264
+ {
5265
+ "name": "offer",
5266
+ "description": null,
5267
+ "args": [],
5268
+ "type": {
5269
+ "kind": "OBJECT",
5270
+ "name": "Offer",
5271
+ "ofType": null
5272
+ },
5273
+ "isDeprecated": false,
5274
+ "deprecationReason": null
5275
+ },
5276
+ {
5277
+ "name": "success",
5278
+ "description": null,
5279
+ "args": [],
5280
+ "type": {
5281
+ "kind": "NON_NULL",
5282
+ "name": null,
5283
+ "ofType": {
5284
+ "kind": "SCALAR",
5285
+ "name": "Boolean",
5286
+ "ofType": null
5287
+ }
5288
+ },
5289
+ "isDeprecated": false,
5290
+ "deprecationReason": null
5291
+ }
5292
+ ],
5293
+ "inputFields": null,
5294
+ "interfaces": [],
5295
+ "enumValues": null,
5296
+ "possibleTypes": null
5297
+ },
5298
+ {
5299
+ "kind": "INPUT_OBJECT",
5300
+ "name": "RenegotiateBillInput",
5301
+ "description": "Autogenerated input type of RenegotiateBill",
5302
+ "fields": null,
5303
+ "inputFields": [
5304
+ {
5305
+ "name": "id",
5306
+ "description": "Id of the bill that should be renegotiated",
5307
+ "type": {
5308
+ "kind": "NON_NULL",
5309
+ "name": null,
5310
+ "ofType": {
5311
+ "kind": "SCALAR",
5312
+ "name": "ID",
4110
5313
  "ofType": null
4111
5314
  }
4112
5315
  },
5316
+ "defaultValue": null
5317
+ },
5318
+ {
5319
+ "name": "clientMutationId",
5320
+ "description": "A unique identifier for the client performing the mutation.",
5321
+ "type": {
5322
+ "kind": "SCALAR",
5323
+ "name": "String",
5324
+ "ofType": null
5325
+ },
5326
+ "defaultValue": null
5327
+ }
5328
+ ],
5329
+ "interfaces": null,
5330
+ "enumValues": null,
5331
+ "possibleTypes": null
5332
+ },
5333
+ {
5334
+ "kind": "OBJECT",
5335
+ "name": "RenegotiateBillPayload",
5336
+ "description": "Autogenerated return type of RenegotiateBill",
5337
+ "fields": [
5338
+ {
5339
+ "name": "bill",
5340
+ "description": null,
5341
+ "args": [],
5342
+ "type": {
5343
+ "kind": "OBJECT",
5344
+ "name": "Bill",
5345
+ "ofType": null
5346
+ },
4113
5347
  "isDeprecated": false,
4114
5348
  "deprecationReason": null
4115
5349
  },
4116
5350
  {
4117
- "name": "ListProviders",
5351
+ "name": "clientMutationId",
5352
+ "description": "A unique identifier for the client performing the mutation.",
5353
+ "args": [],
5354
+ "type": {
5355
+ "kind": "SCALAR",
5356
+ "name": "String",
5357
+ "ofType": null
5358
+ },
5359
+ "isDeprecated": false,
5360
+ "deprecationReason": null
5361
+ },
5362
+ {
5363
+ "name": "errors",
4118
5364
  "description": null,
4119
5365
  "args": [],
4120
5366
  "type": {
@@ -4127,8 +5373,8 @@
4127
5373
  "kind": "NON_NULL",
4128
5374
  "name": null,
4129
5375
  "ofType": {
4130
- "kind": "OBJECT",
4131
- "name": "Provider",
5376
+ "kind": "SCALAR",
5377
+ "name": "String",
4132
5378
  "ofType": null
4133
5379
  }
4134
5380
  }
@@ -4136,6 +5382,22 @@
4136
5382
  },
4137
5383
  "isDeprecated": false,
4138
5384
  "deprecationReason": null
5385
+ },
5386
+ {
5387
+ "name": "success",
5388
+ "description": null,
5389
+ "args": [],
5390
+ "type": {
5391
+ "kind": "NON_NULL",
5392
+ "name": null,
5393
+ "ofType": {
5394
+ "kind": "SCALAR",
5395
+ "name": "Boolean",
5396
+ "ofType": null
5397
+ }
5398
+ },
5399
+ "isDeprecated": false,
5400
+ "deprecationReason": null
4139
5401
  }
4140
5402
  ],
4141
5403
  "inputFields": null,
@@ -4145,13 +5407,13 @@
4145
5407
  },
4146
5408
  {
4147
5409
  "kind": "INPUT_OBJECT",
4148
- "name": "RejectOfferInput",
4149
- "description": "Autogenerated input type of RejectOffer",
5410
+ "name": "RespondToInformationRequestInput",
5411
+ "description": "Autogenerated input type of RespondToInformationRequest",
4150
5412
  "fields": null,
4151
5413
  "inputFields": [
4152
5414
  {
4153
5415
  "name": "id",
4154
- "description": null,
5416
+ "description": "Id of the information request",
4155
5417
  "type": {
4156
5418
  "kind": "NON_NULL",
4157
5419
  "name": null,
@@ -4163,6 +5425,20 @@
4163
5425
  },
4164
5426
  "defaultValue": null
4165
5427
  },
5428
+ {
5429
+ "name": "informationRequest",
5430
+ "description": null,
5431
+ "type": {
5432
+ "kind": "NON_NULL",
5433
+ "name": null,
5434
+ "ofType": {
5435
+ "kind": "INPUT_OBJECT",
5436
+ "name": "InformationRequestAttributes",
5437
+ "ofType": null
5438
+ }
5439
+ },
5440
+ "defaultValue": null
5441
+ },
4166
5442
  {
4167
5443
  "name": "clientMutationId",
4168
5444
  "description": "A unique identifier for the client performing the mutation.",
@@ -4180,9 +5456,21 @@
4180
5456
  },
4181
5457
  {
4182
5458
  "kind": "OBJECT",
4183
- "name": "RejectOfferPayload",
4184
- "description": "Autogenerated return type of RejectOffer",
5459
+ "name": "RespondToInformationRequestPayload",
5460
+ "description": "Autogenerated return type of RespondToInformationRequest",
4185
5461
  "fields": [
5462
+ {
5463
+ "name": "bill",
5464
+ "description": null,
5465
+ "args": [],
5466
+ "type": {
5467
+ "kind": "OBJECT",
5468
+ "name": "Bill",
5469
+ "ofType": null
5470
+ },
5471
+ "isDeprecated": false,
5472
+ "deprecationReason": null
5473
+ },
4186
5474
  {
4187
5475
  "name": "clientMutationId",
4188
5476
  "description": "A unique identifier for the client performing the mutation.",
@@ -4220,12 +5508,24 @@
4220
5508
  "deprecationReason": null
4221
5509
  },
4222
5510
  {
4223
- "name": "offer",
5511
+ "name": "informationRequest",
4224
5512
  "description": null,
4225
5513
  "args": [],
4226
5514
  "type": {
4227
5515
  "kind": "OBJECT",
4228
- "name": "Offer",
5516
+ "name": "InformationRequest",
5517
+ "ofType": null
5518
+ },
5519
+ "isDeprecated": false,
5520
+ "deprecationReason": null
5521
+ },
5522
+ {
5523
+ "name": "negotiation",
5524
+ "description": null,
5525
+ "args": [],
5526
+ "type": {
5527
+ "kind": "OBJECT",
5528
+ "name": "Negotiation",
4229
5529
  "ofType": null
4230
5530
  },
4231
5531
  "isDeprecated": false,
@@ -4255,13 +5555,13 @@
4255
5555
  },
4256
5556
  {
4257
5557
  "kind": "INPUT_OBJECT",
4258
- "name": "RenegotiateBillInput",
4259
- "description": "Autogenerated input type of RenegotiateBill",
5558
+ "name": "SandboxGenerateNegotiationInput",
5559
+ "description": "Autogenerated input type of SandboxGenerateNegotiation",
4260
5560
  "fields": null,
4261
5561
  "inputFields": [
4262
5562
  {
4263
- "name": "id",
4264
- "description": "Id of the bill that should be renegotiated",
5563
+ "name": "billId",
5564
+ "description": "",
4265
5565
  "type": {
4266
5566
  "kind": "NON_NULL",
4267
5567
  "name": null,
@@ -4290,8 +5590,8 @@
4290
5590
  },
4291
5591
  {
4292
5592
  "kind": "OBJECT",
4293
- "name": "RenegotiateBillPayload",
4294
- "description": "Autogenerated return type of RenegotiateBill",
5593
+ "name": "SandboxGenerateNegotiationPayload",
5594
+ "description": "Autogenerated return type of SandboxGenerateNegotiation",
4295
5595
  "fields": [
4296
5596
  {
4297
5597
  "name": "bill",
@@ -4365,13 +5665,13 @@
4365
5665
  },
4366
5666
  {
4367
5667
  "kind": "INPUT_OBJECT",
4368
- "name": "RespondToInformationRequestInput",
4369
- "description": "Autogenerated input type of RespondToInformationRequest",
5668
+ "name": "SandboxResetBillInput",
5669
+ "description": "Autogenerated input type of SandboxResetBill",
4370
5670
  "fields": null,
4371
5671
  "inputFields": [
4372
5672
  {
4373
- "name": "id",
4374
- "description": "Id of the information request",
5673
+ "name": "billId",
5674
+ "description": "",
4375
5675
  "type": {
4376
5676
  "kind": "NON_NULL",
4377
5677
  "name": null,
@@ -4383,20 +5683,6 @@
4383
5683
  },
4384
5684
  "defaultValue": null
4385
5685
  },
4386
- {
4387
- "name": "informationRequest",
4388
- "description": null,
4389
- "type": {
4390
- "kind": "NON_NULL",
4391
- "name": null,
4392
- "ofType": {
4393
- "kind": "INPUT_OBJECT",
4394
- "name": "InformationRequestAttributes",
4395
- "ofType": null
4396
- }
4397
- },
4398
- "defaultValue": null
4399
- },
4400
5686
  {
4401
5687
  "name": "clientMutationId",
4402
5688
  "description": "A unique identifier for the client performing the mutation.",
@@ -4414,8 +5700,8 @@
4414
5700
  },
4415
5701
  {
4416
5702
  "kind": "OBJECT",
4417
- "name": "RespondToInformationRequestPayload",
4418
- "description": "Autogenerated return type of RespondToInformationRequest",
5703
+ "name": "SandboxResetBillPayload",
5704
+ "description": "Autogenerated return type of SandboxResetBill",
4419
5705
  "fields": [
4420
5706
  {
4421
5707
  "name": "bill",
@@ -4466,17 +5752,117 @@
4466
5752
  "deprecationReason": null
4467
5753
  },
4468
5754
  {
4469
- "name": "informationRequest",
5755
+ "name": "success",
4470
5756
  "description": null,
4471
5757
  "args": [],
4472
5758
  "type": {
4473
- "kind": "OBJECT",
4474
- "name": "InformationRequest",
5759
+ "kind": "NON_NULL",
5760
+ "name": null,
5761
+ "ofType": {
5762
+ "kind": "SCALAR",
5763
+ "name": "Boolean",
5764
+ "ofType": null
5765
+ }
5766
+ },
5767
+ "isDeprecated": false,
5768
+ "deprecationReason": null
5769
+ }
5770
+ ],
5771
+ "inputFields": null,
5772
+ "interfaces": [],
5773
+ "enumValues": null,
5774
+ "possibleTypes": null
5775
+ },
5776
+ {
5777
+ "kind": "INPUT_OBJECT",
5778
+ "name": "SandboxTransitionNegotiationInput",
5779
+ "description": "Autogenerated input type of SandboxTransitionNegotiation",
5780
+ "fields": null,
5781
+ "inputFields": [
5782
+ {
5783
+ "name": "negId",
5784
+ "description": "Id of the negotiation that will transition",
5785
+ "type": {
5786
+ "kind": "NON_NULL",
5787
+ "name": null,
5788
+ "ofType": {
5789
+ "kind": "SCALAR",
5790
+ "name": "ID",
5791
+ "ofType": null
5792
+ }
5793
+ },
5794
+ "defaultValue": null
5795
+ },
5796
+ {
5797
+ "name": "transition",
5798
+ "description": null,
5799
+ "type": {
5800
+ "kind": "NON_NULL",
5801
+ "name": null,
5802
+ "ofType": {
5803
+ "kind": "SCALAR",
5804
+ "name": "String",
5805
+ "ofType": null
5806
+ }
5807
+ },
5808
+ "defaultValue": null
5809
+ },
5810
+ {
5811
+ "name": "clientMutationId",
5812
+ "description": "A unique identifier for the client performing the mutation.",
5813
+ "type": {
5814
+ "kind": "SCALAR",
5815
+ "name": "String",
5816
+ "ofType": null
5817
+ },
5818
+ "defaultValue": null
5819
+ }
5820
+ ],
5821
+ "interfaces": null,
5822
+ "enumValues": null,
5823
+ "possibleTypes": null
5824
+ },
5825
+ {
5826
+ "kind": "OBJECT",
5827
+ "name": "SandboxTransitionNegotiationPayload",
5828
+ "description": "Autogenerated return type of SandboxTransitionNegotiation",
5829
+ "fields": [
5830
+ {
5831
+ "name": "clientMutationId",
5832
+ "description": "A unique identifier for the client performing the mutation.",
5833
+ "args": [],
5834
+ "type": {
5835
+ "kind": "SCALAR",
5836
+ "name": "String",
4475
5837
  "ofType": null
4476
5838
  },
4477
5839
  "isDeprecated": false,
4478
5840
  "deprecationReason": null
4479
5841
  },
5842
+ {
5843
+ "name": "errors",
5844
+ "description": null,
5845
+ "args": [],
5846
+ "type": {
5847
+ "kind": "NON_NULL",
5848
+ "name": null,
5849
+ "ofType": {
5850
+ "kind": "LIST",
5851
+ "name": null,
5852
+ "ofType": {
5853
+ "kind": "NON_NULL",
5854
+ "name": null,
5855
+ "ofType": {
5856
+ "kind": "SCALAR",
5857
+ "name": "String",
5858
+ "ofType": null
5859
+ }
5860
+ }
5861
+ }
5862
+ },
5863
+ "isDeprecated": false,
5864
+ "deprecationReason": null
5865
+ },
4480
5866
  {
4481
5867
  "name": "negotiation",
4482
5868
  "description": null,