@promoboxx/graphql-gateway-types 1.11.0 → 1.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2763,116 +2763,6 @@
2763
2763
  "enumValues": null,
2764
2764
  "possibleTypes": null
2765
2765
  },
2766
- {
2767
- "kind": "INPUT_OBJECT",
2768
- "name": "AddFundsParams",
2769
- "description": null,
2770
- "fields": null,
2771
- "inputFields": [
2772
- {
2773
- "name": "amount_cents",
2774
- "description": null,
2775
- "type": {
2776
- "kind": "NON_NULL",
2777
- "name": null,
2778
- "ofType": {
2779
- "kind": "SCALAR",
2780
- "name": "String",
2781
- "ofType": null
2782
- }
2783
- },
2784
- "defaultValue": null,
2785
- "isDeprecated": false,
2786
- "deprecationReason": null
2787
- },
2788
- {
2789
- "name": "brand_id",
2790
- "description": null,
2791
- "type": {
2792
- "kind": "NON_NULL",
2793
- "name": null,
2794
- "ofType": {
2795
- "kind": "SCALAR",
2796
- "name": "ID",
2797
- "ofType": null
2798
- }
2799
- },
2800
- "defaultValue": null,
2801
- "isDeprecated": false,
2802
- "deprecationReason": null
2803
- },
2804
- {
2805
- "name": "source",
2806
- "description": null,
2807
- "type": {
2808
- "kind": "NON_NULL",
2809
- "name": null,
2810
- "ofType": {
2811
- "kind": "SCALAR",
2812
- "name": "String",
2813
- "ofType": null
2814
- }
2815
- },
2816
- "defaultValue": null,
2817
- "isDeprecated": false,
2818
- "deprecationReason": null
2819
- },
2820
- {
2821
- "name": "source_id",
2822
- "description": null,
2823
- "type": {
2824
- "kind": "NON_NULL",
2825
- "name": null,
2826
- "ofType": {
2827
- "kind": "SCALAR",
2828
- "name": "ID",
2829
- "ofType": null
2830
- }
2831
- },
2832
- "defaultValue": null,
2833
- "isDeprecated": false,
2834
- "deprecationReason": null
2835
- }
2836
- ],
2837
- "interfaces": null,
2838
- "enumValues": null,
2839
- "possibleTypes": null
2840
- },
2841
- {
2842
- "kind": "OBJECT",
2843
- "name": "AddFundsResponse",
2844
- "description": null,
2845
- "fields": [
2846
- {
2847
- "name": "deposit_id",
2848
- "description": null,
2849
- "args": [],
2850
- "type": {
2851
- "kind": "SCALAR",
2852
- "name": "ID",
2853
- "ofType": null
2854
- },
2855
- "isDeprecated": false,
2856
- "deprecationReason": null
2857
- },
2858
- {
2859
- "name": "transaction_id",
2860
- "description": null,
2861
- "args": [],
2862
- "type": {
2863
- "kind": "SCALAR",
2864
- "name": "ID",
2865
- "ofType": null
2866
- },
2867
- "isDeprecated": false,
2868
- "deprecationReason": null
2869
- }
2870
- ],
2871
- "inputFields": null,
2872
- "interfaces": [],
2873
- "enumValues": null,
2874
- "possibleTypes": null
2875
- },
2876
2766
  {
2877
2767
  "kind": "INPUT_OBJECT",
2878
2768
  "name": "AddLogoToAdAccountParams",
@@ -8417,49 +8307,6 @@
8417
8307
  ],
8418
8308
  "possibleTypes": null
8419
8309
  },
8420
- {
8421
- "kind": "OBJECT",
8422
- "name": "BrandWallet",
8423
- "description": null,
8424
- "fields": [
8425
- {
8426
- "name": "id",
8427
- "description": null,
8428
- "args": [],
8429
- "type": {
8430
- "kind": "SCALAR",
8431
- "name": "String",
8432
- "ofType": null
8433
- },
8434
- "isDeprecated": false,
8435
- "deprecationReason": null
8436
- },
8437
- {
8438
- "name": "payment_methods",
8439
- "description": null,
8440
- "args": [],
8441
- "type": {
8442
- "kind": "LIST",
8443
- "name": null,
8444
- "ofType": {
8445
- "kind": "NON_NULL",
8446
- "name": null,
8447
- "ofType": {
8448
- "kind": "OBJECT",
8449
- "name": "PaymentMethod",
8450
- "ofType": null
8451
- }
8452
- }
8453
- },
8454
- "isDeprecated": false,
8455
- "deprecationReason": null
8456
- }
8457
- ],
8458
- "inputFields": null,
8459
- "interfaces": [],
8460
- "enumValues": null,
8461
- "possibleTypes": null
8462
- },
8463
8310
  {
8464
8311
  "kind": "ENUM",
8465
8312
  "name": "BulkCollectionOperation",
@@ -34007,12 +33854,60 @@
34007
33854
  {
34008
33855
  "kind": "OBJECT",
34009
33856
  "name": "Ledger",
34010
- "description": null,
33857
+ "description": "Ledger Type\nbelongs to a wallet, represents an amount of money that can be spent based on a set of restriction",
34011
33858
  "fields": [
34012
33859
  {
34013
33860
  "name": "balance",
34014
33861
  "description": null,
34015
33862
  "args": [],
33863
+ "type": {
33864
+ "kind": "NON_NULL",
33865
+ "name": null,
33866
+ "ofType": {
33867
+ "kind": "SCALAR",
33868
+ "name": "String",
33869
+ "ofType": null
33870
+ }
33871
+ },
33872
+ "isDeprecated": false,
33873
+ "deprecationReason": null
33874
+ },
33875
+ {
33876
+ "name": "created_at",
33877
+ "description": null,
33878
+ "args": [],
33879
+ "type": {
33880
+ "kind": "NON_NULL",
33881
+ "name": null,
33882
+ "ofType": {
33883
+ "kind": "SCALAR",
33884
+ "name": "String",
33885
+ "ofType": null
33886
+ }
33887
+ },
33888
+ "isDeprecated": false,
33889
+ "deprecationReason": null
33890
+ },
33891
+ {
33892
+ "name": "created_by_id",
33893
+ "description": null,
33894
+ "args": [],
33895
+ "type": {
33896
+ "kind": "NON_NULL",
33897
+ "name": null,
33898
+ "ofType": {
33899
+ "kind": "SCALAR",
33900
+ "name": "String",
33901
+ "ofType": null
33902
+ }
33903
+ },
33904
+ "isDeprecated": false,
33905
+ "deprecationReason": null
33906
+ },
33907
+ {
33908
+ "name": "expiration_date",
33909
+ "description": null,
33910
+ "args": [],
34016
33911
  "type": {
34017
33912
  "kind": "SCALAR",
34018
33913
  "name": "String",
@@ -34025,6 +33920,22 @@
34025
33920
  "name": "id",
34026
33921
  "description": null,
34027
33922
  "args": [],
33923
+ "type": {
33924
+ "kind": "NON_NULL",
33925
+ "name": null,
33926
+ "ofType": {
33927
+ "kind": "SCALAR",
33928
+ "name": "ID",
33929
+ "ofType": null
33930
+ }
33931
+ },
33932
+ "isDeprecated": false,
33933
+ "deprecationReason": null
33934
+ },
33935
+ {
33936
+ "name": "refunded_at",
33937
+ "description": null,
33938
+ "args": [],
34028
33939
  "type": {
34029
33940
  "kind": "SCALAR",
34030
33941
  "name": "String",
@@ -34038,15 +33949,19 @@
34038
33949
  "description": null,
34039
33950
  "args": [],
34040
33951
  "type": {
34041
- "kind": "LIST",
33952
+ "kind": "NON_NULL",
34042
33953
  "name": null,
34043
33954
  "ofType": {
34044
- "kind": "NON_NULL",
33955
+ "kind": "LIST",
34045
33956
  "name": null,
34046
33957
  "ofType": {
34047
- "kind": "OBJECT",
34048
- "name": "Restriction",
34049
- "ofType": null
33958
+ "kind": "NON_NULL",
33959
+ "name": null,
33960
+ "ofType": {
33961
+ "kind": "OBJECT",
33962
+ "name": "Restriction",
33963
+ "ofType": null
33964
+ }
34050
33965
  }
34051
33966
  }
34052
33967
  },
@@ -34058,10 +33973,288 @@
34058
33973
  "description": null,
34059
33974
  "args": [],
34060
33975
  "type": {
34061
- "kind": "SCALAR",
34062
- "name": "ID",
33976
+ "kind": "NON_NULL",
33977
+ "name": null,
33978
+ "ofType": {
33979
+ "kind": "SCALAR",
33980
+ "name": "ID",
33981
+ "ofType": null
33982
+ }
33983
+ },
33984
+ "isDeprecated": false,
33985
+ "deprecationReason": null
33986
+ }
33987
+ ],
33988
+ "inputFields": null,
33989
+ "interfaces": [],
33990
+ "enumValues": null,
33991
+ "possibleTypes": null
33992
+ },
33993
+ {
33994
+ "kind": "OBJECT",
33995
+ "name": "LedgersResponse",
33996
+ "description": null,
33997
+ "fields": [
33998
+ {
33999
+ "name": "ledgers",
34000
+ "description": null,
34001
+ "args": [],
34002
+ "type": {
34003
+ "kind": "NON_NULL",
34004
+ "name": null,
34005
+ "ofType": {
34006
+ "kind": "LIST",
34007
+ "name": null,
34008
+ "ofType": {
34009
+ "kind": "NON_NULL",
34010
+ "name": null,
34011
+ "ofType": {
34012
+ "kind": "OBJECT",
34013
+ "name": "Ledger",
34014
+ "ofType": null
34015
+ }
34016
+ }
34017
+ }
34018
+ },
34019
+ "isDeprecated": false,
34020
+ "deprecationReason": null
34021
+ }
34022
+ ],
34023
+ "inputFields": null,
34024
+ "interfaces": [],
34025
+ "enumValues": null,
34026
+ "possibleTypes": null
34027
+ },
34028
+ {
34029
+ "kind": "INPUT_OBJECT",
34030
+ "name": "LegacyWithdrawal",
34031
+ "description": null,
34032
+ "fields": null,
34033
+ "inputFields": [
34034
+ {
34035
+ "name": "amount_cents",
34036
+ "description": "The amount to withdraw in cents",
34037
+ "type": {
34038
+ "kind": "NON_NULL",
34039
+ "name": null,
34040
+ "ofType": {
34041
+ "kind": "SCALAR",
34042
+ "name": "String",
34043
+ "ofType": null
34044
+ }
34045
+ },
34046
+ "defaultValue": null,
34047
+ "isDeprecated": false,
34048
+ "deprecationReason": null
34049
+ },
34050
+ {
34051
+ "name": "destination",
34052
+ "description": null,
34053
+ "type": {
34054
+ "kind": "INPUT_OBJECT",
34055
+ "name": "LegacyWithdrawalDestination",
34056
+ "ofType": null
34057
+ },
34058
+ "defaultValue": null,
34059
+ "isDeprecated": false,
34060
+ "deprecationReason": null
34061
+ },
34062
+ {
34063
+ "name": "metadata",
34064
+ "description": null,
34065
+ "type": {
34066
+ "kind": "INPUT_OBJECT",
34067
+ "name": "LegacyWithdrawalMetadata",
34068
+ "ofType": null
34069
+ },
34070
+ "defaultValue": null,
34071
+ "isDeprecated": false,
34072
+ "deprecationReason": null
34073
+ },
34074
+ {
34075
+ "name": "source",
34076
+ "description": null,
34077
+ "type": {
34078
+ "kind": "INPUT_OBJECT",
34079
+ "name": "LegacyWithdrawalSource",
34080
+ "ofType": null
34081
+ },
34082
+ "defaultValue": null,
34083
+ "isDeprecated": false,
34084
+ "deprecationReason": null
34085
+ },
34086
+ {
34087
+ "name": "transaction_type",
34088
+ "description": "Abitrary type of the withdrawl\nex: brand-withdrawal-to-pbxx-wallet",
34089
+ "type": {
34090
+ "kind": "NON_NULL",
34091
+ "name": null,
34092
+ "ofType": {
34093
+ "kind": "SCALAR",
34094
+ "name": "String",
34095
+ "ofType": null
34096
+ }
34097
+ },
34098
+ "defaultValue": null,
34099
+ "isDeprecated": false,
34100
+ "deprecationReason": null
34101
+ }
34102
+ ],
34103
+ "interfaces": null,
34104
+ "enumValues": null,
34105
+ "possibleTypes": null
34106
+ },
34107
+ {
34108
+ "kind": "INPUT_OBJECT",
34109
+ "name": "LegacyWithdrawalDestination",
34110
+ "description": "The destination.\nThis example is like a black hole... the magic wallet\nkey: promoboxx\nvalue: 00000000-0000-0000-0000-000000000000",
34111
+ "fields": null,
34112
+ "inputFields": [
34113
+ {
34114
+ "name": "restriction",
34115
+ "description": null,
34116
+ "type": {
34117
+ "kind": "INPUT_OBJECT",
34118
+ "name": "LegacyWithdrawalRestriction",
34063
34119
  "ofType": null
34064
34120
  },
34121
+ "defaultValue": null,
34122
+ "isDeprecated": false,
34123
+ "deprecationReason": null
34124
+ }
34125
+ ],
34126
+ "interfaces": null,
34127
+ "enumValues": null,
34128
+ "possibleTypes": null
34129
+ },
34130
+ {
34131
+ "kind": "INPUT_OBJECT",
34132
+ "name": "LegacyWithdrawalMetadata",
34133
+ "description": "The who/how for the withdrawal\nex:\nsent_via: postman\nsent_by: tsharkey",
34134
+ "fields": null,
34135
+ "inputFields": [
34136
+ {
34137
+ "name": "sent_by",
34138
+ "description": null,
34139
+ "type": {
34140
+ "kind": "NON_NULL",
34141
+ "name": null,
34142
+ "ofType": {
34143
+ "kind": "SCALAR",
34144
+ "name": "String",
34145
+ "ofType": null
34146
+ }
34147
+ },
34148
+ "defaultValue": null,
34149
+ "isDeprecated": false,
34150
+ "deprecationReason": null
34151
+ },
34152
+ {
34153
+ "name": "sent_via",
34154
+ "description": null,
34155
+ "type": {
34156
+ "kind": "NON_NULL",
34157
+ "name": null,
34158
+ "ofType": {
34159
+ "kind": "SCALAR",
34160
+ "name": "String",
34161
+ "ofType": null
34162
+ }
34163
+ },
34164
+ "defaultValue": null,
34165
+ "isDeprecated": false,
34166
+ "deprecationReason": null
34167
+ }
34168
+ ],
34169
+ "interfaces": null,
34170
+ "enumValues": null,
34171
+ "possibleTypes": null
34172
+ },
34173
+ {
34174
+ "kind": "INPUT_OBJECT",
34175
+ "name": "LegacyWithdrawalParams",
34176
+ "description": null,
34177
+ "fields": null,
34178
+ "inputFields": [
34179
+ {
34180
+ "name": "idempotency_key",
34181
+ "description": "Unique key to be used to ensure the withdrawal, once processed, will not be processed again.\nFor most use cases directly from the UI this can just be a random uuid.\nNote, this does need to be int he proper uuid format.",
34182
+ "type": {
34183
+ "kind": "NON_NULL",
34184
+ "name": null,
34185
+ "ofType": {
34186
+ "kind": "SCALAR",
34187
+ "name": "String",
34188
+ "ofType": null
34189
+ }
34190
+ },
34191
+ "defaultValue": null,
34192
+ "isDeprecated": false,
34193
+ "deprecationReason": null
34194
+ },
34195
+ {
34196
+ "name": "withdrawals",
34197
+ "description": null,
34198
+ "type": {
34199
+ "kind": "NON_NULL",
34200
+ "name": null,
34201
+ "ofType": {
34202
+ "kind": "LIST",
34203
+ "name": null,
34204
+ "ofType": {
34205
+ "kind": "NON_NULL",
34206
+ "name": null,
34207
+ "ofType": {
34208
+ "kind": "INPUT_OBJECT",
34209
+ "name": "LegacyWithdrawal",
34210
+ "ofType": null
34211
+ }
34212
+ }
34213
+ }
34214
+ },
34215
+ "defaultValue": null,
34216
+ "isDeprecated": false,
34217
+ "deprecationReason": null
34218
+ }
34219
+ ],
34220
+ "interfaces": null,
34221
+ "enumValues": null,
34222
+ "possibleTypes": null
34223
+ },
34224
+ {
34225
+ "kind": "OBJECT",
34226
+ "name": "LegacyWithdrawalResponse",
34227
+ "description": null,
34228
+ "fields": [
34229
+ {
34230
+ "name": "wallet_balance",
34231
+ "description": null,
34232
+ "args": [],
34233
+ "type": {
34234
+ "kind": "NON_NULL",
34235
+ "name": null,
34236
+ "ofType": {
34237
+ "kind": "SCALAR",
34238
+ "name": "String",
34239
+ "ofType": null
34240
+ }
34241
+ },
34242
+ "isDeprecated": false,
34243
+ "deprecationReason": null
34244
+ },
34245
+ {
34246
+ "name": "wallet_id",
34247
+ "description": null,
34248
+ "args": [],
34249
+ "type": {
34250
+ "kind": "NON_NULL",
34251
+ "name": null,
34252
+ "ofType": {
34253
+ "kind": "SCALAR",
34254
+ "name": "String",
34255
+ "ofType": null
34256
+ }
34257
+ },
34065
34258
  "isDeprecated": false,
34066
34259
  "deprecationReason": null
34067
34260
  }
@@ -34071,6 +34264,104 @@
34071
34264
  "enumValues": null,
34072
34265
  "possibleTypes": null
34073
34266
  },
34267
+ {
34268
+ "kind": "INPUT_OBJECT",
34269
+ "name": "LegacyWithdrawalRestriction",
34270
+ "description": null,
34271
+ "fields": null,
34272
+ "inputFields": [
34273
+ {
34274
+ "name": "key",
34275
+ "description": null,
34276
+ "type": {
34277
+ "kind": "NON_NULL",
34278
+ "name": null,
34279
+ "ofType": {
34280
+ "kind": "SCALAR",
34281
+ "name": "String",
34282
+ "ofType": null
34283
+ }
34284
+ },
34285
+ "defaultValue": null,
34286
+ "isDeprecated": false,
34287
+ "deprecationReason": null
34288
+ },
34289
+ {
34290
+ "name": "value",
34291
+ "description": null,
34292
+ "type": {
34293
+ "kind": "NON_NULL",
34294
+ "name": null,
34295
+ "ofType": {
34296
+ "kind": "SCALAR",
34297
+ "name": "String",
34298
+ "ofType": null
34299
+ }
34300
+ },
34301
+ "defaultValue": null,
34302
+ "isDeprecated": false,
34303
+ "deprecationReason": null
34304
+ }
34305
+ ],
34306
+ "interfaces": null,
34307
+ "enumValues": null,
34308
+ "possibleTypes": null
34309
+ },
34310
+ {
34311
+ "kind": "INPUT_OBJECT",
34312
+ "name": "LegacyWithdrawalSource",
34313
+ "description": null,
34314
+ "fields": null,
34315
+ "inputFields": [
34316
+ {
34317
+ "name": "id",
34318
+ "description": null,
34319
+ "type": {
34320
+ "kind": "NON_NULL",
34321
+ "name": null,
34322
+ "ofType": {
34323
+ "kind": "SCALAR",
34324
+ "name": "String",
34325
+ "ofType": null
34326
+ }
34327
+ },
34328
+ "defaultValue": null,
34329
+ "isDeprecated": false,
34330
+ "deprecationReason": null
34331
+ },
34332
+ {
34333
+ "name": "restriction",
34334
+ "description": null,
34335
+ "type": {
34336
+ "kind": "INPUT_OBJECT",
34337
+ "name": "LegacyWithdrawalRestriction",
34338
+ "ofType": null
34339
+ },
34340
+ "defaultValue": null,
34341
+ "isDeprecated": false,
34342
+ "deprecationReason": null
34343
+ },
34344
+ {
34345
+ "name": "type",
34346
+ "description": null,
34347
+ "type": {
34348
+ "kind": "NON_NULL",
34349
+ "name": null,
34350
+ "ofType": {
34351
+ "kind": "SCALAR",
34352
+ "name": "String",
34353
+ "ofType": null
34354
+ }
34355
+ },
34356
+ "defaultValue": null,
34357
+ "isDeprecated": false,
34358
+ "deprecationReason": null
34359
+ }
34360
+ ],
34361
+ "interfaces": null,
34362
+ "enumValues": null,
34363
+ "possibleTypes": null
34364
+ },
34074
34365
  {
34075
34366
  "kind": "OBJECT",
34076
34367
  "name": "Legend",
@@ -35794,6 +36085,199 @@
35794
36085
  "enumValues": null,
35795
36086
  "possibleTypes": null
35796
36087
  },
36088
+ {
36089
+ "kind": "INPUT_OBJECT",
36090
+ "name": "MakeDepositData",
36091
+ "description": null,
36092
+ "fields": null,
36093
+ "inputFields": [
36094
+ {
36095
+ "name": "amount_cents",
36096
+ "description": null,
36097
+ "type": {
36098
+ "kind": "NON_NULL",
36099
+ "name": null,
36100
+ "ofType": {
36101
+ "kind": "SCALAR",
36102
+ "name": "String",
36103
+ "ofType": null
36104
+ }
36105
+ },
36106
+ "defaultValue": null,
36107
+ "isDeprecated": false,
36108
+ "deprecationReason": null
36109
+ },
36110
+ {
36111
+ "name": "destination",
36112
+ "description": null,
36113
+ "type": {
36114
+ "kind": "INPUT_OBJECT",
36115
+ "name": "WalletTargetData",
36116
+ "ofType": null
36117
+ },
36118
+ "defaultValue": null,
36119
+ "isDeprecated": false,
36120
+ "deprecationReason": null
36121
+ },
36122
+ {
36123
+ "name": "idempotency_key",
36124
+ "description": null,
36125
+ "type": {
36126
+ "kind": "NON_NULL",
36127
+ "name": null,
36128
+ "ofType": {
36129
+ "kind": "SCALAR",
36130
+ "name": "String",
36131
+ "ofType": null
36132
+ }
36133
+ },
36134
+ "defaultValue": null,
36135
+ "isDeprecated": false,
36136
+ "deprecationReason": null
36137
+ },
36138
+ {
36139
+ "name": "metadata",
36140
+ "description": null,
36141
+ "type": {
36142
+ "kind": "SCALAR",
36143
+ "name": "String",
36144
+ "ofType": null
36145
+ },
36146
+ "defaultValue": null,
36147
+ "isDeprecated": false,
36148
+ "deprecationReason": null
36149
+ },
36150
+ {
36151
+ "name": "source",
36152
+ "description": null,
36153
+ "type": {
36154
+ "kind": "INPUT_OBJECT",
36155
+ "name": "RestrictionData",
36156
+ "ofType": null
36157
+ },
36158
+ "defaultValue": null,
36159
+ "isDeprecated": false,
36160
+ "deprecationReason": null
36161
+ },
36162
+ {
36163
+ "name": "transaction_type",
36164
+ "description": null,
36165
+ "type": {
36166
+ "kind": "NON_NULL",
36167
+ "name": null,
36168
+ "ofType": {
36169
+ "kind": "SCALAR",
36170
+ "name": "String",
36171
+ "ofType": null
36172
+ }
36173
+ },
36174
+ "defaultValue": null,
36175
+ "isDeprecated": false,
36176
+ "deprecationReason": null
36177
+ }
36178
+ ],
36179
+ "interfaces": null,
36180
+ "enumValues": null,
36181
+ "possibleTypes": null
36182
+ },
36183
+ {
36184
+ "kind": "INPUT_OBJECT",
36185
+ "name": "MakeTransferData",
36186
+ "description": null,
36187
+ "fields": null,
36188
+ "inputFields": [
36189
+ {
36190
+ "name": "idempotency_key",
36191
+ "description": null,
36192
+ "type": {
36193
+ "kind": "NON_NULL",
36194
+ "name": null,
36195
+ "ofType": {
36196
+ "kind": "SCALAR",
36197
+ "name": "String",
36198
+ "ofType": null
36199
+ }
36200
+ },
36201
+ "defaultValue": null,
36202
+ "isDeprecated": false,
36203
+ "deprecationReason": null
36204
+ },
36205
+ {
36206
+ "name": "transfers",
36207
+ "description": null,
36208
+ "type": {
36209
+ "kind": "NON_NULL",
36210
+ "name": null,
36211
+ "ofType": {
36212
+ "kind": "LIST",
36213
+ "name": null,
36214
+ "ofType": {
36215
+ "kind": "INPUT_OBJECT",
36216
+ "name": "TransferData",
36217
+ "ofType": null
36218
+ }
36219
+ }
36220
+ },
36221
+ "defaultValue": null,
36222
+ "isDeprecated": false,
36223
+ "deprecationReason": null
36224
+ }
36225
+ ],
36226
+ "interfaces": null,
36227
+ "enumValues": null,
36228
+ "possibleTypes": null
36229
+ },
36230
+ {
36231
+ "kind": "INPUT_OBJECT",
36232
+ "name": "MakeWithdrawalData",
36233
+ "description": null,
36234
+ "fields": null,
36235
+ "inputFields": [
36236
+ {
36237
+ "name": "idempotency_key",
36238
+ "description": null,
36239
+ "type": {
36240
+ "kind": "NON_NULL",
36241
+ "name": null,
36242
+ "ofType": {
36243
+ "kind": "SCALAR",
36244
+ "name": "String",
36245
+ "ofType": null
36246
+ }
36247
+ },
36248
+ "defaultValue": null,
36249
+ "isDeprecated": false,
36250
+ "deprecationReason": null
36251
+ },
36252
+ {
36253
+ "name": "withdrawals",
36254
+ "description": null,
36255
+ "type": {
36256
+ "kind": "NON_NULL",
36257
+ "name": null,
36258
+ "ofType": {
36259
+ "kind": "LIST",
36260
+ "name": null,
36261
+ "ofType": {
36262
+ "kind": "NON_NULL",
36263
+ "name": null,
36264
+ "ofType": {
36265
+ "kind": "INPUT_OBJECT",
36266
+ "name": "WithdrawalData",
36267
+ "ofType": null
36268
+ }
36269
+ }
36270
+ }
36271
+ },
36272
+ "defaultValue": null,
36273
+ "isDeprecated": false,
36274
+ "deprecationReason": null
36275
+ }
36276
+ ],
36277
+ "interfaces": null,
36278
+ "enumValues": null,
36279
+ "possibleTypes": null
36280
+ },
35797
36281
  {
35798
36282
  "kind": "OBJECT",
35799
36283
  "name": "MapChart",
@@ -36207,39 +36691,6 @@
36207
36691
  "isDeprecated": false,
36208
36692
  "deprecationReason": null
36209
36693
  },
36210
- {
36211
- "name": "addFunds",
36212
- "description": null,
36213
- "args": [
36214
- {
36215
- "name": "params",
36216
- "description": null,
36217
- "type": {
36218
- "kind": "NON_NULL",
36219
- "name": null,
36220
- "ofType": {
36221
- "kind": "INPUT_OBJECT",
36222
- "name": "AddFundsParams",
36223
- "ofType": null
36224
- }
36225
- },
36226
- "defaultValue": null,
36227
- "isDeprecated": false,
36228
- "deprecationReason": null
36229
- }
36230
- ],
36231
- "type": {
36232
- "kind": "NON_NULL",
36233
- "name": null,
36234
- "ofType": {
36235
- "kind": "OBJECT",
36236
- "name": "AddFundsResponse",
36237
- "ofType": null
36238
- }
36239
- },
36240
- "isDeprecated": false,
36241
- "deprecationReason": null
36242
- },
36243
36694
  {
36244
36695
  "name": "addLogoToAdAccount",
36245
36696
  "description": null,
@@ -39664,6 +40115,89 @@
39664
40115
  "isDeprecated": false,
39665
40116
  "deprecationReason": null
39666
40117
  },
40118
+ {
40119
+ "name": "make_deposit",
40120
+ "description": "Make a deposit to a source account\ninternal only",
40121
+ "args": [
40122
+ {
40123
+ "name": "data",
40124
+ "description": null,
40125
+ "type": {
40126
+ "kind": "NON_NULL",
40127
+ "name": null,
40128
+ "ofType": {
40129
+ "kind": "INPUT_OBJECT",
40130
+ "name": "MakeDepositData",
40131
+ "ofType": null
40132
+ }
40133
+ },
40134
+ "defaultValue": null,
40135
+ "isDeprecated": false,
40136
+ "deprecationReason": null
40137
+ }
40138
+ ],
40139
+ "type": {
40140
+ "kind": "OBJECT",
40141
+ "name": "Transaction",
40142
+ "ofType": null
40143
+ },
40144
+ "isDeprecated": false,
40145
+ "deprecationReason": null
40146
+ },
40147
+ {
40148
+ "name": "make_transfer",
40149
+ "description": "Make a transfer between accounts",
40150
+ "args": [
40151
+ {
40152
+ "name": "data",
40153
+ "description": null,
40154
+ "type": {
40155
+ "kind": "INPUT_OBJECT",
40156
+ "name": "MakeTransferData",
40157
+ "ofType": null
40158
+ },
40159
+ "defaultValue": null,
40160
+ "isDeprecated": false,
40161
+ "deprecationReason": null
40162
+ }
40163
+ ],
40164
+ "type": {
40165
+ "kind": "SCALAR",
40166
+ "name": "Boolean",
40167
+ "ofType": null
40168
+ },
40169
+ "isDeprecated": false,
40170
+ "deprecationReason": null
40171
+ },
40172
+ {
40173
+ "name": "make_withdrawal",
40174
+ "description": "Make a withdrawal from a source account\ninternal only",
40175
+ "args": [
40176
+ {
40177
+ "name": "data",
40178
+ "description": null,
40179
+ "type": {
40180
+ "kind": "NON_NULL",
40181
+ "name": null,
40182
+ "ofType": {
40183
+ "kind": "INPUT_OBJECT",
40184
+ "name": "MakeWithdrawalData",
40185
+ "ofType": null
40186
+ }
40187
+ },
40188
+ "defaultValue": null,
40189
+ "isDeprecated": false,
40190
+ "deprecationReason": null
40191
+ }
40192
+ ],
40193
+ "type": {
40194
+ "kind": "OBJECT",
40195
+ "name": "Transaction",
40196
+ "ofType": null
40197
+ },
40198
+ "isDeprecated": false,
40199
+ "deprecationReason": null
40200
+ },
39667
40201
  {
39668
40202
  "name": "markAllAlertsAsRead",
39669
40203
  "description": null,
@@ -40259,8 +40793,41 @@
40259
40793
  "kind": "NON_NULL",
40260
40794
  "name": null,
40261
40795
  "ofType": {
40262
- "kind": "OBJECT",
40263
- "name": "BrandRequest",
40796
+ "kind": "OBJECT",
40797
+ "name": "BrandRequest",
40798
+ "ofType": null
40799
+ }
40800
+ },
40801
+ "isDeprecated": false,
40802
+ "deprecationReason": null
40803
+ },
40804
+ {
40805
+ "name": "resendAccessInvitation",
40806
+ "description": null,
40807
+ "args": [
40808
+ {
40809
+ "name": "id",
40810
+ "description": null,
40811
+ "type": {
40812
+ "kind": "NON_NULL",
40813
+ "name": null,
40814
+ "ofType": {
40815
+ "kind": "SCALAR",
40816
+ "name": "ID",
40817
+ "ofType": null
40818
+ }
40819
+ },
40820
+ "defaultValue": null,
40821
+ "isDeprecated": false,
40822
+ "deprecationReason": null
40823
+ }
40824
+ ],
40825
+ "type": {
40826
+ "kind": "NON_NULL",
40827
+ "name": null,
40828
+ "ofType": {
40829
+ "kind": "SCALAR",
40830
+ "name": "ID",
40264
40831
  "ofType": null
40265
40832
  }
40266
40833
  },
@@ -40268,18 +40835,18 @@
40268
40835
  "deprecationReason": null
40269
40836
  },
40270
40837
  {
40271
- "name": "resendAccessInvitation",
40838
+ "name": "resetInvitations",
40272
40839
  "description": null,
40273
40840
  "args": [
40274
40841
  {
40275
- "name": "id",
40842
+ "name": "params",
40276
40843
  "description": null,
40277
40844
  "type": {
40278
40845
  "kind": "NON_NULL",
40279
40846
  "name": null,
40280
40847
  "ofType": {
40281
- "kind": "SCALAR",
40282
- "name": "ID",
40848
+ "kind": "INPUT_OBJECT",
40849
+ "name": "ResetInvitationsParams",
40283
40850
  "ofType": null
40284
40851
  }
40285
40852
  },
@@ -40292,27 +40859,35 @@
40292
40859
  "kind": "NON_NULL",
40293
40860
  "name": null,
40294
40861
  "ofType": {
40295
- "kind": "SCALAR",
40296
- "name": "ID",
40297
- "ofType": null
40862
+ "kind": "LIST",
40863
+ "name": null,
40864
+ "ofType": {
40865
+ "kind": "NON_NULL",
40866
+ "name": null,
40867
+ "ofType": {
40868
+ "kind": "OBJECT",
40869
+ "name": "Invitations",
40870
+ "ofType": null
40871
+ }
40872
+ }
40298
40873
  }
40299
40874
  },
40300
40875
  "isDeprecated": false,
40301
40876
  "deprecationReason": null
40302
40877
  },
40303
40878
  {
40304
- "name": "resetInvitations",
40305
- "description": null,
40879
+ "name": "reset_transfer",
40880
+ "description": "Reset a transfer given an idempotency key",
40306
40881
  "args": [
40307
40882
  {
40308
- "name": "params",
40883
+ "name": "idempotency_key",
40309
40884
  "description": null,
40310
40885
  "type": {
40311
40886
  "kind": "NON_NULL",
40312
40887
  "name": null,
40313
40888
  "ofType": {
40314
- "kind": "INPUT_OBJECT",
40315
- "name": "ResetInvitationsParams",
40889
+ "kind": "SCALAR",
40890
+ "name": "String",
40316
40891
  "ofType": null
40317
40892
  }
40318
40893
  },
@@ -40322,21 +40897,9 @@
40322
40897
  }
40323
40898
  ],
40324
40899
  "type": {
40325
- "kind": "NON_NULL",
40326
- "name": null,
40327
- "ofType": {
40328
- "kind": "LIST",
40329
- "name": null,
40330
- "ofType": {
40331
- "kind": "NON_NULL",
40332
- "name": null,
40333
- "ofType": {
40334
- "kind": "OBJECT",
40335
- "name": "Invitations",
40336
- "ofType": null
40337
- }
40338
- }
40339
- }
40900
+ "kind": "OBJECT",
40901
+ "name": "Transaction",
40902
+ "ofType": null
40340
40903
  },
40341
40904
  "isDeprecated": false,
40342
40905
  "deprecationReason": null
@@ -42172,7 +42735,7 @@
42172
42735
  "name": null,
42173
42736
  "ofType": {
42174
42737
  "kind": "INPUT_OBJECT",
42175
- "name": "WithdrawalParams",
42738
+ "name": "LegacyWithdrawalParams",
42176
42739
  "ofType": null
42177
42740
  }
42178
42741
  },
@@ -42186,12 +42749,12 @@
42186
42749
  "name": null,
42187
42750
  "ofType": {
42188
42751
  "kind": "OBJECT",
42189
- "name": "WithdrawalResponse",
42752
+ "name": "LegacyWithdrawalResponse",
42190
42753
  "ofType": null
42191
42754
  }
42192
42755
  },
42193
- "isDeprecated": false,
42194
- "deprecationReason": null
42756
+ "isDeprecated": true,
42757
+ "deprecationReason": "Use the supergraph/wallet-service"
42195
42758
  }
42196
42759
  ],
42197
42760
  "inputFields": null,
@@ -42786,17 +43349,21 @@
42786
43349
  },
42787
43350
  {
42788
43351
  "kind": "OBJECT",
42789
- "name": "Paging",
42790
- "description": "The paging parameter response from `getBillboards`",
43352
+ "name": "Pagination",
43353
+ "description": "Type Pagination\nRepresents the pagination information for a request",
42791
43354
  "fields": [
42792
43355
  {
42793
43356
  "name": "offset",
42794
43357
  "description": null,
42795
43358
  "args": [],
42796
43359
  "type": {
42797
- "kind": "SCALAR",
42798
- "name": "Int",
42799
- "ofType": null
43360
+ "kind": "NON_NULL",
43361
+ "name": null,
43362
+ "ofType": {
43363
+ "kind": "SCALAR",
43364
+ "name": "Int",
43365
+ "ofType": null
43366
+ }
42800
43367
  },
42801
43368
  "isDeprecated": false,
42802
43369
  "deprecationReason": null
@@ -42806,27 +43373,43 @@
42806
43373
  "description": null,
42807
43374
  "args": [],
42808
43375
  "type": {
42809
- "kind": "SCALAR",
42810
- "name": "Int",
42811
- "ofType": null
43376
+ "kind": "NON_NULL",
43377
+ "name": null,
43378
+ "ofType": {
43379
+ "kind": "SCALAR",
43380
+ "name": "Int",
43381
+ "ofType": null
43382
+ }
42812
43383
  },
42813
43384
  "isDeprecated": false,
42814
43385
  "deprecationReason": null
42815
43386
  },
42816
43387
  {
42817
- "name": "sort",
43388
+ "name": "sort_fields",
42818
43389
  "description": null,
42819
43390
  "args": [],
42820
43391
  "type": {
42821
- "kind": "SCALAR",
42822
- "name": "String",
42823
- "ofType": null
43392
+ "kind": "NON_NULL",
43393
+ "name": null,
43394
+ "ofType": {
43395
+ "kind": "LIST",
43396
+ "name": null,
43397
+ "ofType": {
43398
+ "kind": "NON_NULL",
43399
+ "name": null,
43400
+ "ofType": {
43401
+ "kind": "OBJECT",
43402
+ "name": "Sort",
43403
+ "ofType": null
43404
+ }
43405
+ }
43406
+ }
42824
43407
  },
42825
43408
  "isDeprecated": false,
42826
43409
  "deprecationReason": null
42827
43410
  },
42828
43411
  {
42829
- "name": "total_results",
43412
+ "name": "total_count",
42830
43413
  "description": null,
42831
43414
  "args": [],
42832
43415
  "type": {
@@ -42848,67 +43431,99 @@
42848
43431
  "possibleTypes": null
42849
43432
  },
42850
43433
  {
42851
- "kind": "INPUT_OBJECT",
42852
- "name": "PaidAdFilterGroups",
42853
- "description": null,
42854
- "fields": null,
42855
- "inputFields": [
43434
+ "kind": "OBJECT",
43435
+ "name": "Paging",
43436
+ "description": "The paging parameter response from `getBillboards`",
43437
+ "fields": [
42856
43438
  {
42857
- "name": "filters",
43439
+ "name": "offset",
42858
43440
  "description": null,
43441
+ "args": [],
42859
43442
  "type": {
42860
- "kind": "LIST",
43443
+ "kind": "SCALAR",
43444
+ "name": "Int",
43445
+ "ofType": null
43446
+ },
43447
+ "isDeprecated": false,
43448
+ "deprecationReason": null
43449
+ },
43450
+ {
43451
+ "name": "page_size",
43452
+ "description": null,
43453
+ "args": [],
43454
+ "type": {
43455
+ "kind": "SCALAR",
43456
+ "name": "Int",
43457
+ "ofType": null
43458
+ },
43459
+ "isDeprecated": false,
43460
+ "deprecationReason": null
43461
+ },
43462
+ {
43463
+ "name": "sort",
43464
+ "description": null,
43465
+ "args": [],
43466
+ "type": {
43467
+ "kind": "SCALAR",
43468
+ "name": "String",
43469
+ "ofType": null
43470
+ },
43471
+ "isDeprecated": false,
43472
+ "deprecationReason": null
43473
+ },
43474
+ {
43475
+ "name": "total_results",
43476
+ "description": null,
43477
+ "args": [],
43478
+ "type": {
43479
+ "kind": "NON_NULL",
42861
43480
  "name": null,
42862
43481
  "ofType": {
42863
- "kind": "NON_NULL",
42864
- "name": null,
42865
- "ofType": {
42866
- "kind": "INPUT_OBJECT",
42867
- "name": "FilterGroups",
42868
- "ofType": null
42869
- }
43482
+ "kind": "SCALAR",
43483
+ "name": "Int",
43484
+ "ofType": null
42870
43485
  }
42871
43486
  },
42872
- "defaultValue": null,
42873
43487
  "isDeprecated": false,
42874
43488
  "deprecationReason": null
42875
43489
  }
42876
43490
  ],
42877
- "interfaces": null,
43491
+ "inputFields": null,
43492
+ "interfaces": [],
42878
43493
  "enumValues": null,
42879
43494
  "possibleTypes": null
42880
43495
  },
42881
43496
  {
42882
43497
  "kind": "OBJECT",
42883
- "name": "PaymentMethod",
43498
+ "name": "PagingResponse",
42884
43499
  "description": null,
42885
43500
  "fields": [
42886
43501
  {
42887
- "name": "balance_cents",
43502
+ "name": "offset",
42888
43503
  "description": null,
42889
43504
  "args": [],
42890
43505
  "type": {
42891
43506
  "kind": "SCALAR",
42892
- "name": "String",
43507
+ "name": "Int",
42893
43508
  "ofType": null
42894
43509
  },
42895
43510
  "isDeprecated": false,
42896
43511
  "deprecationReason": null
42897
43512
  },
42898
43513
  {
42899
- "name": "id",
43514
+ "name": "page_size",
42900
43515
  "description": null,
42901
43516
  "args": [],
42902
43517
  "type": {
42903
43518
  "kind": "SCALAR",
42904
- "name": "String",
43519
+ "name": "Int",
42905
43520
  "ofType": null
42906
43521
  },
42907
43522
  "isDeprecated": false,
42908
43523
  "deprecationReason": null
42909
43524
  },
42910
43525
  {
42911
- "name": "type",
43526
+ "name": "sort",
42912
43527
  "description": null,
42913
43528
  "args": [],
42914
43529
  "type": {
@@ -42918,6 +43533,22 @@
42918
43533
  },
42919
43534
  "isDeprecated": false,
42920
43535
  "deprecationReason": null
43536
+ },
43537
+ {
43538
+ "name": "total_results",
43539
+ "description": null,
43540
+ "args": [],
43541
+ "type": {
43542
+ "kind": "NON_NULL",
43543
+ "name": null,
43544
+ "ofType": {
43545
+ "kind": "SCALAR",
43546
+ "name": "Int",
43547
+ "ofType": null
43548
+ }
43549
+ },
43550
+ "isDeprecated": false,
43551
+ "deprecationReason": null
42921
43552
  }
42922
43553
  ],
42923
43554
  "inputFields": null,
@@ -42925,6 +43556,37 @@
42925
43556
  "enumValues": null,
42926
43557
  "possibleTypes": null
42927
43558
  },
43559
+ {
43560
+ "kind": "INPUT_OBJECT",
43561
+ "name": "PaidAdFilterGroups",
43562
+ "description": null,
43563
+ "fields": null,
43564
+ "inputFields": [
43565
+ {
43566
+ "name": "filters",
43567
+ "description": null,
43568
+ "type": {
43569
+ "kind": "LIST",
43570
+ "name": null,
43571
+ "ofType": {
43572
+ "kind": "NON_NULL",
43573
+ "name": null,
43574
+ "ofType": {
43575
+ "kind": "INPUT_OBJECT",
43576
+ "name": "FilterGroups",
43577
+ "ofType": null
43578
+ }
43579
+ }
43580
+ },
43581
+ "defaultValue": null,
43582
+ "isDeprecated": false,
43583
+ "deprecationReason": null
43584
+ }
43585
+ ],
43586
+ "interfaces": null,
43587
+ "enumValues": null,
43588
+ "possibleTypes": null
43589
+ },
42928
43590
  {
42929
43591
  "kind": "OBJECT",
42930
43592
  "name": "Permission",
@@ -43752,6 +44414,75 @@
43752
44414
  "name": "Query",
43753
44415
  "description": null,
43754
44416
  "fields": [
44417
+ {
44418
+ "name": "brand_retailer_ledgers",
44419
+ "description": "get brand_retailer_ledgers\na list of business/retailer wallets that are associated to the requested brand. \nEach wallet contains the list of ledgers associated to the business/retailer and their expiration date if applicable.",
44420
+ "args": [
44421
+ {
44422
+ "name": "brand_id",
44423
+ "description": null,
44424
+ "type": {
44425
+ "kind": "NON_NULL",
44426
+ "name": null,
44427
+ "ofType": {
44428
+ "kind": "SCALAR",
44429
+ "name": "ID",
44430
+ "ofType": null
44431
+ }
44432
+ },
44433
+ "defaultValue": null,
44434
+ "isDeprecated": false,
44435
+ "deprecationReason": null
44436
+ },
44437
+ {
44438
+ "name": "business_ids",
44439
+ "description": null,
44440
+ "type": {
44441
+ "kind": "NON_NULL",
44442
+ "name": null,
44443
+ "ofType": {
44444
+ "kind": "LIST",
44445
+ "name": null,
44446
+ "ofType": {
44447
+ "kind": "NON_NULL",
44448
+ "name": null,
44449
+ "ofType": {
44450
+ "kind": "SCALAR",
44451
+ "name": "ID",
44452
+ "ofType": null
44453
+ }
44454
+ }
44455
+ }
44456
+ },
44457
+ "defaultValue": null,
44458
+ "isDeprecated": false,
44459
+ "deprecationReason": null
44460
+ },
44461
+ {
44462
+ "name": "funded",
44463
+ "description": null,
44464
+ "type": {
44465
+ "kind": "SCALAR",
44466
+ "name": "Boolean",
44467
+ "ofType": null
44468
+ },
44469
+ "defaultValue": null,
44470
+ "isDeprecated": false,
44471
+ "deprecationReason": null
44472
+ }
44473
+ ],
44474
+ "type": {
44475
+ "kind": "NON_NULL",
44476
+ "name": null,
44477
+ "ofType": {
44478
+ "kind": "OBJECT",
44479
+ "name": "WalletsResponse",
44480
+ "ofType": null
44481
+ }
44482
+ },
44483
+ "isDeprecated": false,
44484
+ "deprecationReason": null
44485
+ },
43755
44486
  {
43756
44487
  "name": "bulkGetUsersByUuidAndBrandId",
43757
44488
  "description": null,
@@ -49073,20 +49804,52 @@
49073
49804
  "deprecationReason": null
49074
49805
  },
49075
49806
  {
49076
- "name": "getWallets",
49077
- "description": null,
49807
+ "name": "get_ledgers",
49808
+ "description": "get ledgers\nreturns the ledgers for the requested brand or business filtered by the provided restrictions",
49078
49809
  "args": [
49079
49810
  {
49080
- "name": "params",
49811
+ "name": "brand_id",
49081
49812
  "description": null,
49082
49813
  "type": {
49083
- "kind": "NON_NULL",
49084
- "name": null,
49085
- "ofType": {
49086
- "kind": "INPUT_OBJECT",
49087
- "name": "WalletsParams",
49088
- "ofType": null
49089
- }
49814
+ "kind": "SCALAR",
49815
+ "name": "ID",
49816
+ "ofType": null
49817
+ },
49818
+ "defaultValue": null,
49819
+ "isDeprecated": false,
49820
+ "deprecationReason": null
49821
+ },
49822
+ {
49823
+ "name": "business_id",
49824
+ "description": null,
49825
+ "type": {
49826
+ "kind": "SCALAR",
49827
+ "name": "ID",
49828
+ "ofType": null
49829
+ },
49830
+ "defaultValue": null,
49831
+ "isDeprecated": false,
49832
+ "deprecationReason": null
49833
+ },
49834
+ {
49835
+ "name": "exclusions",
49836
+ "description": null,
49837
+ "type": {
49838
+ "kind": "SCALAR",
49839
+ "name": "String",
49840
+ "ofType": null
49841
+ },
49842
+ "defaultValue": null,
49843
+ "isDeprecated": false,
49844
+ "deprecationReason": null
49845
+ },
49846
+ {
49847
+ "name": "restrictions",
49848
+ "description": null,
49849
+ "type": {
49850
+ "kind": "SCALAR",
49851
+ "name": "String",
49852
+ "ofType": null
49090
49853
  },
49091
49854
  "defaultValue": null,
49092
49855
  "isDeprecated": false,
@@ -49098,7 +49861,125 @@
49098
49861
  "name": null,
49099
49862
  "ofType": {
49100
49863
  "kind": "OBJECT",
49101
- "name": "WalletResponse",
49864
+ "name": "LedgersResponse",
49865
+ "ofType": null
49866
+ }
49867
+ },
49868
+ "isDeprecated": false,
49869
+ "deprecationReason": null
49870
+ },
49871
+ {
49872
+ "name": "get_transaction_history",
49873
+ "description": "get transaction history\nreturns the transaction history for the requested brand or business",
49874
+ "args": [
49875
+ {
49876
+ "name": "brand_id",
49877
+ "description": null,
49878
+ "type": {
49879
+ "kind": "SCALAR",
49880
+ "name": "ID",
49881
+ "ofType": null
49882
+ },
49883
+ "defaultValue": null,
49884
+ "isDeprecated": false,
49885
+ "deprecationReason": null
49886
+ },
49887
+ {
49888
+ "name": "business_id",
49889
+ "description": null,
49890
+ "type": {
49891
+ "kind": "SCALAR",
49892
+ "name": "ID",
49893
+ "ofType": null
49894
+ },
49895
+ "defaultValue": null,
49896
+ "isDeprecated": false,
49897
+ "deprecationReason": null
49898
+ },
49899
+ {
49900
+ "name": "limit",
49901
+ "description": null,
49902
+ "type": {
49903
+ "kind": "SCALAR",
49904
+ "name": "Int",
49905
+ "ofType": null
49906
+ },
49907
+ "defaultValue": null,
49908
+ "isDeprecated": false,
49909
+ "deprecationReason": null
49910
+ },
49911
+ {
49912
+ "name": "offset",
49913
+ "description": null,
49914
+ "type": {
49915
+ "kind": "SCALAR",
49916
+ "name": "Int",
49917
+ "ofType": null
49918
+ },
49919
+ "defaultValue": null,
49920
+ "isDeprecated": false,
49921
+ "deprecationReason": null
49922
+ },
49923
+ {
49924
+ "name": "sort",
49925
+ "description": null,
49926
+ "type": {
49927
+ "kind": "SCALAR",
49928
+ "name": "String",
49929
+ "ofType": null
49930
+ },
49931
+ "defaultValue": null,
49932
+ "isDeprecated": false,
49933
+ "deprecationReason": null
49934
+ }
49935
+ ],
49936
+ "type": {
49937
+ "kind": "NON_NULL",
49938
+ "name": null,
49939
+ "ofType": {
49940
+ "kind": "OBJECT",
49941
+ "name": "TransactionHistory",
49942
+ "ofType": null
49943
+ }
49944
+ },
49945
+ "isDeprecated": false,
49946
+ "deprecationReason": null
49947
+ },
49948
+ {
49949
+ "name": "get_wallet_by_brand_or_business",
49950
+ "description": "get wallet by brand or business\nreturns the wallet and the associated ledgers for the requested brand or business",
49951
+ "args": [
49952
+ {
49953
+ "name": "brand_id",
49954
+ "description": null,
49955
+ "type": {
49956
+ "kind": "SCALAR",
49957
+ "name": "ID",
49958
+ "ofType": null
49959
+ },
49960
+ "defaultValue": null,
49961
+ "isDeprecated": false,
49962
+ "deprecationReason": null
49963
+ },
49964
+ {
49965
+ "name": "business_id",
49966
+ "description": null,
49967
+ "type": {
49968
+ "kind": "SCALAR",
49969
+ "name": "ID",
49970
+ "ofType": null
49971
+ },
49972
+ "defaultValue": null,
49973
+ "isDeprecated": false,
49974
+ "deprecationReason": null
49975
+ }
49976
+ ],
49977
+ "type": {
49978
+ "kind": "NON_NULL",
49979
+ "name": null,
49980
+ "ofType": {
49981
+ "kind": "OBJECT",
49982
+ "name": "Wallet",
49102
49983
  "ofType": null
49103
49984
  }
49104
49985
  },
@@ -50127,28 +51008,36 @@
50127
51008
  {
50128
51009
  "kind": "OBJECT",
50129
51010
  "name": "Restriction",
50130
- "description": null,
51011
+ "description": "Restriction Type\nused to restrict the use of a ledger\ni.e. a ledger can be restricted to a specific brand or business or campaign",
50131
51012
  "fields": [
50132
51013
  {
50133
- "name": "key",
51014
+ "name": "filter_value",
50134
51015
  "description": null,
50135
51016
  "args": [],
50136
51017
  "type": {
50137
- "kind": "SCALAR",
50138
- "name": "String",
50139
- "ofType": null
51018
+ "kind": "NON_NULL",
51019
+ "name": null,
51020
+ "ofType": {
51021
+ "kind": "SCALAR",
51022
+ "name": "String",
51023
+ "ofType": null
51024
+ }
50140
51025
  },
50141
51026
  "isDeprecated": false,
50142
51027
  "deprecationReason": null
50143
51028
  },
50144
51029
  {
50145
- "name": "value",
51030
+ "name": "key",
50146
51031
  "description": null,
50147
51032
  "args": [],
50148
51033
  "type": {
50149
- "kind": "SCALAR",
50150
- "name": "String",
50151
- "ofType": null
51034
+ "kind": "NON_NULL",
51035
+ "name": null,
51036
+ "ofType": {
51037
+ "kind": "SCALAR",
51038
+ "name": "String",
51039
+ "ofType": null
51040
+ }
50152
51041
  },
50153
51042
  "isDeprecated": false,
50154
51043
  "deprecationReason": null
@@ -50159,6 +51048,49 @@
50159
51048
  "enumValues": null,
50160
51049
  "possibleTypes": null
50161
51050
  },
51051
+ {
51052
+ "kind": "INPUT_OBJECT",
51053
+ "name": "RestrictionData",
51054
+ "description": null,
51055
+ "fields": null,
51056
+ "inputFields": [
51057
+ {
51058
+ "name": "type",
51059
+ "description": null,
51060
+ "type": {
51061
+ "kind": "NON_NULL",
51062
+ "name": null,
51063
+ "ofType": {
51064
+ "kind": "SCALAR",
51065
+ "name": "String",
51066
+ "ofType": null
51067
+ }
51068
+ },
51069
+ "defaultValue": null,
51070
+ "isDeprecated": false,
51071
+ "deprecationReason": null
51072
+ },
51073
+ {
51074
+ "name": "value",
51075
+ "description": null,
51076
+ "type": {
51077
+ "kind": "NON_NULL",
51078
+ "name": null,
51079
+ "ofType": {
51080
+ "kind": "SCALAR",
51081
+ "name": "String",
51082
+ "ofType": null
51083
+ }
51084
+ },
51085
+ "defaultValue": null,
51086
+ "isDeprecated": false,
51087
+ "deprecationReason": null
51088
+ }
51089
+ ],
51090
+ "interfaces": null,
51091
+ "enumValues": null,
51092
+ "possibleTypes": null
51093
+ },
50162
51094
  {
50163
51095
  "kind": "OBJECT",
50164
51096
  "name": "Retailer",
@@ -55113,6 +56045,49 @@
55113
56045
  "enumValues": null,
55114
56046
  "possibleTypes": null
55115
56047
  },
56048
+ {
56049
+ "kind": "OBJECT",
56050
+ "name": "Sort",
56051
+ "description": "Type Sort\nRepresents the sort information for a request",
56052
+ "fields": [
56053
+ {
56054
+ "name": "direction",
56055
+ "description": null,
56056
+ "args": [],
56057
+ "type": {
56058
+ "kind": "NON_NULL",
56059
+ "name": null,
56060
+ "ofType": {
56061
+ "kind": "SCALAR",
56062
+ "name": "String",
56063
+ "ofType": null
56064
+ }
56065
+ },
56066
+ "isDeprecated": false,
56067
+ "deprecationReason": null
56068
+ },
56069
+ {
56070
+ "name": "field",
56071
+ "description": null,
56072
+ "args": [],
56073
+ "type": {
56074
+ "kind": "NON_NULL",
56075
+ "name": null,
56076
+ "ofType": {
56077
+ "kind": "SCALAR",
56078
+ "name": "String",
56079
+ "ofType": null
56080
+ }
56081
+ },
56082
+ "isDeprecated": false,
56083
+ "deprecationReason": null
56084
+ }
56085
+ ],
56086
+ "inputFields": null,
56087
+ "interfaces": [],
56088
+ "enumValues": null,
56089
+ "possibleTypes": null
56090
+ },
55116
56091
  {
55117
56092
  "kind": "INPUT_OBJECT",
55118
56093
  "name": "SortFields",
@@ -56582,6 +57557,418 @@
56582
57557
  "enumValues": null,
56583
57558
  "possibleTypes": null
56584
57559
  },
57560
+ {
57561
+ "kind": "OBJECT",
57562
+ "name": "Transaction",
57563
+ "description": "Type Transaction\nRepresents the source and destination, destination, amount and type of a transaction",
57564
+ "fields": [
57565
+ {
57566
+ "name": "amount",
57567
+ "description": null,
57568
+ "args": [],
57569
+ "type": {
57570
+ "kind": "NON_NULL",
57571
+ "name": null,
57572
+ "ofType": {
57573
+ "kind": "SCALAR",
57574
+ "name": "String",
57575
+ "ofType": null
57576
+ }
57577
+ },
57578
+ "isDeprecated": false,
57579
+ "deprecationReason": null
57580
+ },
57581
+ {
57582
+ "name": "created_at",
57583
+ "description": null,
57584
+ "args": [],
57585
+ "type": {
57586
+ "kind": "NON_NULL",
57587
+ "name": null,
57588
+ "ofType": {
57589
+ "kind": "SCALAR",
57590
+ "name": "String",
57591
+ "ofType": null
57592
+ }
57593
+ },
57594
+ "isDeprecated": false,
57595
+ "deprecationReason": null
57596
+ },
57597
+ {
57598
+ "name": "created_by_id",
57599
+ "description": null,
57600
+ "args": [],
57601
+ "type": {
57602
+ "kind": "NON_NULL",
57603
+ "name": null,
57604
+ "ofType": {
57605
+ "kind": "SCALAR",
57606
+ "name": "ID",
57607
+ "ofType": null
57608
+ }
57609
+ },
57610
+ "isDeprecated": false,
57611
+ "deprecationReason": null
57612
+ },
57613
+ {
57614
+ "name": "destination_wallet_id",
57615
+ "description": null,
57616
+ "args": [],
57617
+ "type": {
57618
+ "kind": "SCALAR",
57619
+ "name": "ID",
57620
+ "ofType": null
57621
+ },
57622
+ "isDeprecated": false,
57623
+ "deprecationReason": null
57624
+ },
57625
+ {
57626
+ "name": "destination_wallet_type",
57627
+ "description": null,
57628
+ "args": [],
57629
+ "type": {
57630
+ "kind": "NON_NULL",
57631
+ "name": null,
57632
+ "ofType": {
57633
+ "kind": "SCALAR",
57634
+ "name": "String",
57635
+ "ofType": null
57636
+ }
57637
+ },
57638
+ "isDeprecated": false,
57639
+ "deprecationReason": null
57640
+ },
57641
+ {
57642
+ "name": "id",
57643
+ "description": null,
57644
+ "args": [],
57645
+ "type": {
57646
+ "kind": "NON_NULL",
57647
+ "name": null,
57648
+ "ofType": {
57649
+ "kind": "SCALAR",
57650
+ "name": "ID",
57651
+ "ofType": null
57652
+ }
57653
+ },
57654
+ "isDeprecated": false,
57655
+ "deprecationReason": null
57656
+ },
57657
+ {
57658
+ "name": "idempotency_key",
57659
+ "description": null,
57660
+ "args": [],
57661
+ "type": {
57662
+ "kind": "NON_NULL",
57663
+ "name": null,
57664
+ "ofType": {
57665
+ "kind": "SCALAR",
57666
+ "name": "String",
57667
+ "ofType": null
57668
+ }
57669
+ },
57670
+ "isDeprecated": false,
57671
+ "deprecationReason": null
57672
+ },
57673
+ {
57674
+ "name": "metadata",
57675
+ "description": null,
57676
+ "args": [],
57677
+ "type": {
57678
+ "kind": "SCALAR",
57679
+ "name": "String",
57680
+ "ofType": null
57681
+ },
57682
+ "isDeprecated": false,
57683
+ "deprecationReason": null
57684
+ },
57685
+ {
57686
+ "name": "source_wallet_id",
57687
+ "description": null,
57688
+ "args": [],
57689
+ "type": {
57690
+ "kind": "SCALAR",
57691
+ "name": "ID",
57692
+ "ofType": null
57693
+ },
57694
+ "isDeprecated": false,
57695
+ "deprecationReason": null
57696
+ },
57697
+ {
57698
+ "name": "source_wallet_type",
57699
+ "description": null,
57700
+ "args": [],
57701
+ "type": {
57702
+ "kind": "NON_NULL",
57703
+ "name": null,
57704
+ "ofType": {
57705
+ "kind": "SCALAR",
57706
+ "name": "String",
57707
+ "ofType": null
57708
+ }
57709
+ },
57710
+ "isDeprecated": false,
57711
+ "deprecationReason": null
57712
+ },
57713
+ {
57714
+ "name": "transaction_type",
57715
+ "description": null,
57716
+ "args": [],
57717
+ "type": {
57718
+ "kind": "NON_NULL",
57719
+ "name": null,
57720
+ "ofType": {
57721
+ "kind": "SCALAR",
57722
+ "name": "String",
57723
+ "ofType": null
57724
+ }
57725
+ },
57726
+ "isDeprecated": false,
57727
+ "deprecationReason": null
57728
+ },
57729
+ {
57730
+ "name": "wallet_id",
57731
+ "description": null,
57732
+ "args": [],
57733
+ "type": {
57734
+ "kind": "NON_NULL",
57735
+ "name": null,
57736
+ "ofType": {
57737
+ "kind": "SCALAR",
57738
+ "name": "ID",
57739
+ "ofType": null
57740
+ }
57741
+ },
57742
+ "isDeprecated": false,
57743
+ "deprecationReason": null
57744
+ },
57745
+ {
57746
+ "name": "wallet_running_balance",
57747
+ "description": null,
57748
+ "args": [],
57749
+ "type": {
57750
+ "kind": "NON_NULL",
57751
+ "name": null,
57752
+ "ofType": {
57753
+ "kind": "SCALAR",
57754
+ "name": "String",
57755
+ "ofType": null
57756
+ }
57757
+ },
57758
+ "isDeprecated": false,
57759
+ "deprecationReason": null
57760
+ }
57761
+ ],
57762
+ "inputFields": null,
57763
+ "interfaces": [],
57764
+ "enumValues": null,
57765
+ "possibleTypes": null
57766
+ },
57767
+ {
57768
+ "kind": "OBJECT",
57769
+ "name": "TransactionHistory",
57770
+ "description": "Type TransactionHistory\nRepresents a list of transactions",
57771
+ "fields": [
57772
+ {
57773
+ "name": "paging",
57774
+ "description": null,
57775
+ "args": [],
57776
+ "type": {
57777
+ "kind": "OBJECT",
57778
+ "name": "Pagination",
57779
+ "ofType": null
57780
+ },
57781
+ "isDeprecated": false,
57782
+ "deprecationReason": null
57783
+ },
57784
+ {
57785
+ "name": "transactions",
57786
+ "description": null,
57787
+ "args": [],
57788
+ "type": {
57789
+ "kind": "NON_NULL",
57790
+ "name": null,
57791
+ "ofType": {
57792
+ "kind": "LIST",
57793
+ "name": null,
57794
+ "ofType": {
57795
+ "kind": "NON_NULL",
57796
+ "name": null,
57797
+ "ofType": {
57798
+ "kind": "OBJECT",
57799
+ "name": "Transaction",
57800
+ "ofType": null
57801
+ }
57802
+ }
57803
+ }
57804
+ },
57805
+ "isDeprecated": false,
57806
+ "deprecationReason": null
57807
+ }
57808
+ ],
57809
+ "inputFields": null,
57810
+ "interfaces": [],
57811
+ "enumValues": null,
57812
+ "possibleTypes": null
57813
+ },
57814
+ {
57815
+ "kind": "OBJECT",
57816
+ "name": "Transfer",
57817
+ "description": "Type Transfer\nRepresents a transfer from one wallet to another",
57818
+ "fields": [
57819
+ {
57820
+ "name": "amount_cents",
57821
+ "description": null,
57822
+ "args": [],
57823
+ "type": {
57824
+ "kind": "NON_NULL",
57825
+ "name": null,
57826
+ "ofType": {
57827
+ "kind": "SCALAR",
57828
+ "name": "String",
57829
+ "ofType": null
57830
+ }
57831
+ },
57832
+ "isDeprecated": false,
57833
+ "deprecationReason": null
57834
+ },
57835
+ {
57836
+ "name": "destination",
57837
+ "description": null,
57838
+ "args": [],
57839
+ "type": {
57840
+ "kind": "OBJECT",
57841
+ "name": "WalletTarget",
57842
+ "ofType": null
57843
+ },
57844
+ "isDeprecated": false,
57845
+ "deprecationReason": null
57846
+ },
57847
+ {
57848
+ "name": "metadata",
57849
+ "description": null,
57850
+ "args": [],
57851
+ "type": {
57852
+ "kind": "SCALAR",
57853
+ "name": "String",
57854
+ "ofType": null
57855
+ },
57856
+ "isDeprecated": false,
57857
+ "deprecationReason": null
57858
+ },
57859
+ {
57860
+ "name": "source",
57861
+ "description": null,
57862
+ "args": [],
57863
+ "type": {
57864
+ "kind": "OBJECT",
57865
+ "name": "WalletTarget",
57866
+ "ofType": null
57867
+ },
57868
+ "isDeprecated": false,
57869
+ "deprecationReason": null
57870
+ },
57871
+ {
57872
+ "name": "transaction_type",
57873
+ "description": null,
57874
+ "args": [],
57875
+ "type": {
57876
+ "kind": "NON_NULL",
57877
+ "name": null,
57878
+ "ofType": {
57879
+ "kind": "SCALAR",
57880
+ "name": "String",
57881
+ "ofType": null
57882
+ }
57883
+ },
57884
+ "isDeprecated": false,
57885
+ "deprecationReason": null
57886
+ }
57887
+ ],
57888
+ "inputFields": null,
57889
+ "interfaces": [],
57890
+ "enumValues": null,
57891
+ "possibleTypes": null
57892
+ },
57893
+ {
57894
+ "kind": "INPUT_OBJECT",
57895
+ "name": "TransferData",
57896
+ "description": "A transfer is a transaction between two accounts",
57897
+ "fields": null,
57898
+ "inputFields": [
57899
+ {
57900
+ "name": "amount_cents",
57901
+ "description": null,
57902
+ "type": {
57903
+ "kind": "NON_NULL",
57904
+ "name": null,
57905
+ "ofType": {
57906
+ "kind": "SCALAR",
57907
+ "name": "String",
57908
+ "ofType": null
57909
+ }
57910
+ },
57911
+ "defaultValue": null,
57912
+ "isDeprecated": false,
57913
+ "deprecationReason": null
57914
+ },
57915
+ {
57916
+ "name": "destination",
57917
+ "description": null,
57918
+ "type": {
57919
+ "kind": "INPUT_OBJECT",
57920
+ "name": "WalletTargetData",
57921
+ "ofType": null
57922
+ },
57923
+ "defaultValue": null,
57924
+ "isDeprecated": false,
57925
+ "deprecationReason": null
57926
+ },
57927
+ {
57928
+ "name": "metadata",
57929
+ "description": null,
57930
+ "type": {
57931
+ "kind": "SCALAR",
57932
+ "name": "String",
57933
+ "ofType": null
57934
+ },
57935
+ "defaultValue": null,
57936
+ "isDeprecated": false,
57937
+ "deprecationReason": null
57938
+ },
57939
+ {
57940
+ "name": "source",
57941
+ "description": null,
57942
+ "type": {
57943
+ "kind": "INPUT_OBJECT",
57944
+ "name": "WalletTargetData",
57945
+ "ofType": null
57946
+ },
57947
+ "defaultValue": null,
57948
+ "isDeprecated": false,
57949
+ "deprecationReason": null
57950
+ },
57951
+ {
57952
+ "name": "transaction_type",
57953
+ "description": null,
57954
+ "type": {
57955
+ "kind": "NON_NULL",
57956
+ "name": null,
57957
+ "ofType": {
57958
+ "kind": "SCALAR",
57959
+ "name": "String",
57960
+ "ofType": null
57961
+ }
57962
+ },
57963
+ "defaultValue": null,
57964
+ "isDeprecated": false,
57965
+ "deprecationReason": null
57966
+ }
57967
+ ],
57968
+ "interfaces": null,
57969
+ "enumValues": null,
57970
+ "possibleTypes": null
57971
+ },
56585
57972
  {
56586
57973
  "kind": "OBJECT",
56587
57974
  "name": "TwitterAccount",
@@ -60988,16 +62375,20 @@
60988
62375
  {
60989
62376
  "kind": "OBJECT",
60990
62377
  "name": "Wallet",
60991
- "description": null,
62378
+ "description": "Wallet Type\nRepresents a wallet for a brand or business\na wallet will only have a brand id or a business id set which indicates the type of wallet",
60992
62379
  "fields": [
60993
62380
  {
60994
62381
  "name": "balance",
60995
62382
  "description": null,
60996
62383
  "args": [],
60997
62384
  "type": {
60998
- "kind": "SCALAR",
60999
- "name": "String",
61000
- "ofType": null
62385
+ "kind": "NON_NULL",
62386
+ "name": null,
62387
+ "ofType": {
62388
+ "kind": "SCALAR",
62389
+ "name": "String",
62390
+ "ofType": null
62391
+ }
61001
62392
  },
61002
62393
  "isDeprecated": false,
61003
62394
  "deprecationReason": null
@@ -61027,31 +62418,67 @@
61027
62418
  "deprecationReason": null
61028
62419
  },
61029
62420
  {
61030
- "name": "id",
62421
+ "name": "created_at",
62422
+ "description": null,
62423
+ "args": [],
62424
+ "type": {
62425
+ "kind": "NON_NULL",
62426
+ "name": null,
62427
+ "ofType": {
62428
+ "kind": "SCALAR",
62429
+ "name": "String",
62430
+ "ofType": null
62431
+ }
62432
+ },
62433
+ "isDeprecated": false,
62434
+ "deprecationReason": null
62435
+ },
62436
+ {
62437
+ "name": "created_by_id",
61031
62438
  "description": null,
61032
62439
  "args": [],
61033
62440
  "type": {
61034
62441
  "kind": "SCALAR",
61035
- "name": "String",
62442
+ "name": "ID",
61036
62443
  "ofType": null
61037
62444
  },
61038
62445
  "isDeprecated": false,
61039
62446
  "deprecationReason": null
61040
62447
  },
62448
+ {
62449
+ "name": "id",
62450
+ "description": null,
62451
+ "args": [],
62452
+ "type": {
62453
+ "kind": "NON_NULL",
62454
+ "name": null,
62455
+ "ofType": {
62456
+ "kind": "SCALAR",
62457
+ "name": "ID",
62458
+ "ofType": null
62459
+ }
62460
+ },
62461
+ "isDeprecated": false,
62462
+ "deprecationReason": null
62463
+ },
61041
62464
  {
61042
62465
  "name": "ledgers",
61043
62466
  "description": null,
61044
62467
  "args": [],
61045
62468
  "type": {
61046
- "kind": "LIST",
62469
+ "kind": "NON_NULL",
61047
62470
  "name": null,
61048
62471
  "ofType": {
61049
- "kind": "NON_NULL",
62472
+ "kind": "LIST",
61050
62473
  "name": null,
61051
62474
  "ofType": {
61052
- "kind": "OBJECT",
61053
- "name": "Ledger",
61054
- "ofType": null
62475
+ "kind": "NON_NULL",
62476
+ "name": null,
62477
+ "ofType": {
62478
+ "kind": "OBJECT",
62479
+ "name": "Ledger",
62480
+ "ofType": null
62481
+ }
61055
62482
  }
61056
62483
  }
61057
62484
  },
@@ -61066,74 +62493,83 @@
61066
62493
  },
61067
62494
  {
61068
62495
  "kind": "OBJECT",
61069
- "name": "WalletResponse",
61070
- "description": null,
62496
+ "name": "WalletTarget",
62497
+ "description": "Type WalletTarget\nRepresents the source or destination of a transaction",
61071
62498
  "fields": [
61072
62499
  {
61073
- "name": "wallets",
62500
+ "name": "expiration",
61074
62501
  "description": null,
61075
62502
  "args": [],
61076
62503
  "type": {
61077
- "kind": "LIST",
62504
+ "kind": "SCALAR",
62505
+ "name": "String",
62506
+ "ofType": null
62507
+ },
62508
+ "isDeprecated": false,
62509
+ "deprecationReason": null
62510
+ },
62511
+ {
62512
+ "name": "id",
62513
+ "description": null,
62514
+ "args": [],
62515
+ "type": {
62516
+ "kind": "NON_NULL",
61078
62517
  "name": null,
61079
62518
  "ofType": {
61080
- "kind": "NON_NULL",
61081
- "name": null,
61082
- "ofType": {
61083
- "kind": "OBJECT",
61084
- "name": "Wallet",
61085
- "ofType": null
61086
- }
62519
+ "kind": "SCALAR",
62520
+ "name": "ID",
62521
+ "ofType": null
61087
62522
  }
61088
62523
  },
61089
62524
  "isDeprecated": false,
61090
62525
  "deprecationReason": null
61091
- }
61092
- ],
61093
- "inputFields": null,
61094
- "interfaces": [],
61095
- "enumValues": null,
61096
- "possibleTypes": null
61097
- },
61098
- {
61099
- "kind": "INPUT_OBJECT",
61100
- "name": "WalletsParams",
61101
- "description": null,
61102
- "fields": null,
61103
- "inputFields": [
62526
+ },
61104
62527
  {
61105
- "name": "brand_id",
62528
+ "name": "restriction",
61106
62529
  "description": null,
62530
+ "args": [],
62531
+ "type": {
62532
+ "kind": "OBJECT",
62533
+ "name": "Restriction",
62534
+ "ofType": null
62535
+ },
62536
+ "isDeprecated": false,
62537
+ "deprecationReason": null
62538
+ },
62539
+ {
62540
+ "name": "type",
62541
+ "description": null,
62542
+ "args": [],
61107
62543
  "type": {
61108
62544
  "kind": "NON_NULL",
61109
62545
  "name": null,
61110
62546
  "ofType": {
61111
62547
  "kind": "SCALAR",
61112
- "name": "ID",
62548
+ "name": "String",
61113
62549
  "ofType": null
61114
62550
  }
61115
62551
  },
61116
- "defaultValue": null,
61117
62552
  "isDeprecated": false,
61118
62553
  "deprecationReason": null
61119
62554
  }
61120
62555
  ],
61121
- "interfaces": null,
62556
+ "inputFields": null,
62557
+ "interfaces": [],
61122
62558
  "enumValues": null,
61123
62559
  "possibleTypes": null
61124
62560
  },
61125
62561
  {
61126
62562
  "kind": "INPUT_OBJECT",
61127
- "name": "WeakCreateFilterDataFilterRuleSetCriteria",
62563
+ "name": "WalletTargetData",
61128
62564
  "description": null,
61129
62565
  "fields": null,
61130
62566
  "inputFields": [
61131
62567
  {
61132
- "name": "operator",
62568
+ "name": "expiration",
61133
62569
  "description": null,
61134
62570
  "type": {
61135
- "kind": "ENUM",
61136
- "name": "SmartGroupOperator",
62571
+ "kind": "SCALAR",
62572
+ "name": "String",
61137
62573
  "ofType": null
61138
62574
  },
61139
62575
  "defaultValue": null,
@@ -61141,23 +62577,27 @@
61141
62577
  "deprecationReason": null
61142
62578
  },
61143
62579
  {
61144
- "name": "parameter",
62580
+ "name": "id",
61145
62581
  "description": null,
61146
62582
  "type": {
61147
- "kind": "SCALAR",
61148
- "name": "String",
61149
- "ofType": null
62583
+ "kind": "NON_NULL",
62584
+ "name": null,
62585
+ "ofType": {
62586
+ "kind": "SCALAR",
62587
+ "name": "ID",
62588
+ "ofType": null
62589
+ }
61150
62590
  },
61151
62591
  "defaultValue": null,
61152
62592
  "isDeprecated": false,
61153
62593
  "deprecationReason": null
61154
62594
  },
61155
62595
  {
61156
- "name": "resource",
62596
+ "name": "restriction",
61157
62597
  "description": null,
61158
62598
  "type": {
61159
- "kind": "SCALAR",
61160
- "name": "String",
62599
+ "kind": "INPUT_OBJECT",
62600
+ "name": "RestrictionData",
61161
62601
  "ofType": null
61162
62602
  },
61163
62603
  "defaultValue": null,
@@ -61165,82 +62605,85 @@
61165
62605
  "deprecationReason": null
61166
62606
  },
61167
62607
  {
61168
- "name": "value",
62608
+ "name": "type",
61169
62609
  "description": null,
61170
62610
  "type": {
61171
- "kind": "SCALAR",
61172
- "name": "String",
61173
- "ofType": null
62611
+ "kind": "NON_NULL",
62612
+ "name": null,
62613
+ "ofType": {
62614
+ "kind": "SCALAR",
62615
+ "name": "String",
62616
+ "ofType": null
62617
+ }
61174
62618
  },
61175
62619
  "defaultValue": null,
61176
62620
  "isDeprecated": false,
61177
62621
  "deprecationReason": null
61178
- },
62622
+ }
62623
+ ],
62624
+ "interfaces": null,
62625
+ "enumValues": null,
62626
+ "possibleTypes": null
62627
+ },
62628
+ {
62629
+ "kind": "OBJECT",
62630
+ "name": "WalletsResponse",
62631
+ "description": "get brand_retailer_ledgers",
62632
+ "fields": [
61179
62633
  {
61180
- "name": "values",
62634
+ "name": "wallets",
61181
62635
  "description": null,
62636
+ "args": [],
61182
62637
  "type": {
61183
- "kind": "LIST",
62638
+ "kind": "NON_NULL",
61184
62639
  "name": null,
61185
62640
  "ofType": {
61186
- "kind": "NON_NULL",
62641
+ "kind": "LIST",
61187
62642
  "name": null,
61188
62643
  "ofType": {
61189
- "kind": "SCALAR",
61190
- "name": "String",
61191
- "ofType": null
62644
+ "kind": "NON_NULL",
62645
+ "name": null,
62646
+ "ofType": {
62647
+ "kind": "OBJECT",
62648
+ "name": "Wallet",
62649
+ "ofType": null
62650
+ }
61192
62651
  }
61193
62652
  }
61194
62653
  },
61195
- "defaultValue": null,
61196
- "isDeprecated": false,
61197
- "deprecationReason": null
61198
- },
61199
- {
61200
- "name": "within_days",
61201
- "description": null,
61202
- "type": {
61203
- "kind": "SCALAR",
61204
- "name": "String",
61205
- "ofType": null
61206
- },
61207
- "defaultValue": null,
61208
62654
  "isDeprecated": false,
61209
62655
  "deprecationReason": null
61210
62656
  }
61211
62657
  ],
61212
- "interfaces": null,
62658
+ "inputFields": null,
62659
+ "interfaces": [],
61213
62660
  "enumValues": null,
61214
62661
  "possibleTypes": null
61215
62662
  },
61216
62663
  {
61217
62664
  "kind": "INPUT_OBJECT",
61218
- "name": "Withdrawal",
62665
+ "name": "WeakCreateFilterDataFilterRuleSetCriteria",
61219
62666
  "description": null,
61220
62667
  "fields": null,
61221
62668
  "inputFields": [
61222
62669
  {
61223
- "name": "amount_cents",
61224
- "description": "The amount to withdraw in cents",
62670
+ "name": "operator",
62671
+ "description": null,
61225
62672
  "type": {
61226
- "kind": "NON_NULL",
61227
- "name": null,
61228
- "ofType": {
61229
- "kind": "SCALAR",
61230
- "name": "String",
61231
- "ofType": null
61232
- }
62673
+ "kind": "ENUM",
62674
+ "name": "SmartGroupOperator",
62675
+ "ofType": null
61233
62676
  },
61234
62677
  "defaultValue": null,
61235
62678
  "isDeprecated": false,
61236
62679
  "deprecationReason": null
61237
62680
  },
61238
62681
  {
61239
- "name": "destination",
62682
+ "name": "parameter",
61240
62683
  "description": null,
61241
62684
  "type": {
61242
- "kind": "INPUT_OBJECT",
61243
- "name": "WithdrawalDestination",
62685
+ "kind": "SCALAR",
62686
+ "name": "String",
61244
62687
  "ofType": null
61245
62688
  },
61246
62689
  "defaultValue": null,
@@ -61248,11 +62691,11 @@
61248
62691
  "deprecationReason": null
61249
62692
  },
61250
62693
  {
61251
- "name": "metadata",
62694
+ "name": "resource",
61252
62695
  "description": null,
61253
62696
  "type": {
61254
- "kind": "INPUT_OBJECT",
61255
- "name": "WithdrawalMetadata",
62697
+ "kind": "SCALAR",
62698
+ "name": "String",
61256
62699
  "ofType": null
61257
62700
  },
61258
62701
  "defaultValue": null,
@@ -61260,11 +62703,11 @@
61260
62703
  "deprecationReason": null
61261
62704
  },
61262
62705
  {
61263
- "name": "source",
62706
+ "name": "value",
61264
62707
  "description": null,
61265
62708
  "type": {
61266
- "kind": "INPUT_OBJECT",
61267
- "name": "WithdrawalSource",
62709
+ "kind": "SCALAR",
62710
+ "name": "String",
61268
62711
  "ofType": null
61269
62712
  },
61270
62713
  "defaultValue": null,
@@ -61272,38 +62715,31 @@
61272
62715
  "deprecationReason": null
61273
62716
  },
61274
62717
  {
61275
- "name": "transaction_type",
61276
- "description": "Abitrary type of the withdrawl\nex: brand-withdrawal-to-pbxx-wallet",
62718
+ "name": "values",
62719
+ "description": null,
61277
62720
  "type": {
61278
- "kind": "NON_NULL",
62721
+ "kind": "LIST",
61279
62722
  "name": null,
61280
62723
  "ofType": {
61281
- "kind": "SCALAR",
61282
- "name": "String",
61283
- "ofType": null
62724
+ "kind": "NON_NULL",
62725
+ "name": null,
62726
+ "ofType": {
62727
+ "kind": "SCALAR",
62728
+ "name": "String",
62729
+ "ofType": null
62730
+ }
61284
62731
  }
61285
62732
  },
61286
62733
  "defaultValue": null,
61287
62734
  "isDeprecated": false,
61288
62735
  "deprecationReason": null
61289
- }
61290
- ],
61291
- "interfaces": null,
61292
- "enumValues": null,
61293
- "possibleTypes": null
61294
- },
61295
- {
61296
- "kind": "INPUT_OBJECT",
61297
- "name": "WithdrawalDestination",
61298
- "description": "The destination.\nThis example is like a black hole... the magic wallet\nkey: promoboxx\nvalue: 00000000-0000-0000-0000-000000000000",
61299
- "fields": null,
61300
- "inputFields": [
62736
+ },
61301
62737
  {
61302
- "name": "restriction",
62738
+ "name": "within_days",
61303
62739
  "description": null,
61304
62740
  "type": {
61305
- "kind": "INPUT_OBJECT",
61306
- "name": "WithdrawalRestriction",
62741
+ "kind": "SCALAR",
62742
+ "name": "String",
61307
62743
  "ofType": null
61308
62744
  },
61309
62745
  "defaultValue": null,
@@ -61316,14 +62752,14 @@
61316
62752
  "possibleTypes": null
61317
62753
  },
61318
62754
  {
61319
- "kind": "INPUT_OBJECT",
61320
- "name": "WithdrawalMetadata",
61321
- "description": "The who/how for the withdrawal\nex:\nsent_via: postman\nsent_by: tsharkey",
61322
- "fields": null,
61323
- "inputFields": [
62755
+ "kind": "OBJECT",
62756
+ "name": "Withdrawal",
62757
+ "description": "Type Withdrawal\nRepresents a withdrawal from a wallet",
62758
+ "fields": [
61324
62759
  {
61325
- "name": "sent_by",
62760
+ "name": "amount_cents",
61326
62761
  "description": null,
62762
+ "args": [],
61327
62763
  "type": {
61328
62764
  "kind": "NON_NULL",
61329
62765
  "name": null,
@@ -61333,105 +62769,47 @@
61333
62769
  "ofType": null
61334
62770
  }
61335
62771
  },
61336
- "defaultValue": null,
61337
62772
  "isDeprecated": false,
61338
62773
  "deprecationReason": null
61339
62774
  },
61340
62775
  {
61341
- "name": "sent_via",
62776
+ "name": "destination",
61342
62777
  "description": null,
62778
+ "args": [],
61343
62779
  "type": {
61344
- "kind": "NON_NULL",
61345
- "name": null,
61346
- "ofType": {
61347
- "kind": "SCALAR",
61348
- "name": "String",
61349
- "ofType": null
61350
- }
61351
- },
61352
- "defaultValue": null,
61353
- "isDeprecated": false,
61354
- "deprecationReason": null
61355
- }
61356
- ],
61357
- "interfaces": null,
61358
- "enumValues": null,
61359
- "possibleTypes": null
61360
- },
61361
- {
61362
- "kind": "INPUT_OBJECT",
61363
- "name": "WithdrawalParams",
61364
- "description": null,
61365
- "fields": null,
61366
- "inputFields": [
61367
- {
61368
- "name": "idempotency_key",
61369
- "description": "Unique key to be used to ensure the withdrawal, once processed, will not be processed again.\nFor most use cases directly from the UI this can just be a random uuid.\nNote, this does need to be int he proper uuid format.",
61370
- "type": {
61371
- "kind": "NON_NULL",
61372
- "name": null,
61373
- "ofType": {
61374
- "kind": "SCALAR",
61375
- "name": "String",
61376
- "ofType": null
61377
- }
62780
+ "kind": "OBJECT",
62781
+ "name": "Restriction",
62782
+ "ofType": null
61378
62783
  },
61379
- "defaultValue": null,
61380
62784
  "isDeprecated": false,
61381
62785
  "deprecationReason": null
61382
62786
  },
61383
62787
  {
61384
- "name": "withdrawals",
62788
+ "name": "metadata",
61385
62789
  "description": null,
62790
+ "args": [],
61386
62791
  "type": {
61387
- "kind": "NON_NULL",
61388
- "name": null,
61389
- "ofType": {
61390
- "kind": "LIST",
61391
- "name": null,
61392
- "ofType": {
61393
- "kind": "NON_NULL",
61394
- "name": null,
61395
- "ofType": {
61396
- "kind": "INPUT_OBJECT",
61397
- "name": "Withdrawal",
61398
- "ofType": null
61399
- }
61400
- }
61401
- }
62792
+ "kind": "SCALAR",
62793
+ "name": "String",
62794
+ "ofType": null
61402
62795
  },
61403
- "defaultValue": null,
61404
62796
  "isDeprecated": false,
61405
62797
  "deprecationReason": null
61406
- }
61407
- ],
61408
- "interfaces": null,
61409
- "enumValues": null,
61410
- "possibleTypes": null
61411
- },
61412
- {
61413
- "kind": "OBJECT",
61414
- "name": "WithdrawalResponse",
61415
- "description": null,
61416
- "fields": [
62798
+ },
61417
62799
  {
61418
- "name": "wallet_balance",
62800
+ "name": "source",
61419
62801
  "description": null,
61420
62802
  "args": [],
61421
62803
  "type": {
61422
- "kind": "NON_NULL",
61423
- "name": null,
61424
- "ofType": {
61425
- "kind": "SCALAR",
61426
- "name": "String",
61427
- "ofType": null
61428
- }
62804
+ "kind": "OBJECT",
62805
+ "name": "WalletTarget",
62806
+ "ofType": null
61429
62807
  },
61430
62808
  "isDeprecated": false,
61431
62809
  "deprecationReason": null
61432
62810
  },
61433
62811
  {
61434
- "name": "wallet_id",
62812
+ "name": "transaction_type",
61435
62813
  "description": null,
61436
62814
  "args": [],
61437
62815
  "type": {
@@ -61454,12 +62832,12 @@
61454
62832
  },
61455
62833
  {
61456
62834
  "kind": "INPUT_OBJECT",
61457
- "name": "WithdrawalRestriction",
62835
+ "name": "WithdrawalData",
61458
62836
  "description": null,
61459
62837
  "fields": null,
61460
62838
  "inputFields": [
61461
62839
  {
61462
- "name": "key",
62840
+ "name": "amount_cents",
61463
62841
  "description": null,
61464
62842
  "type": {
61465
62843
  "kind": "NON_NULL",
@@ -61475,54 +62853,35 @@
61475
62853
  "deprecationReason": null
61476
62854
  },
61477
62855
  {
61478
- "name": "value",
62856
+ "name": "destination",
61479
62857
  "description": null,
61480
62858
  "type": {
61481
- "kind": "NON_NULL",
61482
- "name": null,
61483
- "ofType": {
61484
- "kind": "SCALAR",
61485
- "name": "String",
61486
- "ofType": null
61487
- }
62859
+ "kind": "INPUT_OBJECT",
62860
+ "name": "RestrictionData",
62861
+ "ofType": null
61488
62862
  },
61489
62863
  "defaultValue": null,
61490
62864
  "isDeprecated": false,
61491
62865
  "deprecationReason": null
61492
- }
61493
- ],
61494
- "interfaces": null,
61495
- "enumValues": null,
61496
- "possibleTypes": null
61497
- },
61498
- {
61499
- "kind": "INPUT_OBJECT",
61500
- "name": "WithdrawalSource",
61501
- "description": "Source of the withdrawal\nex:\nsource: {\n id: <brand_uuid>\n type: \"brand\"\n restriction: {\n key: \"brand\"\n value: <brand_uuid>\n }\n}",
61502
- "fields": null,
61503
- "inputFields": [
62866
+ },
61504
62867
  {
61505
- "name": "id",
62868
+ "name": "metadata",
61506
62869
  "description": null,
61507
62870
  "type": {
61508
- "kind": "NON_NULL",
61509
- "name": null,
61510
- "ofType": {
61511
- "kind": "SCALAR",
61512
- "name": "String",
61513
- "ofType": null
61514
- }
62871
+ "kind": "SCALAR",
62872
+ "name": "String",
62873
+ "ofType": null
61515
62874
  },
61516
62875
  "defaultValue": null,
61517
62876
  "isDeprecated": false,
61518
62877
  "deprecationReason": null
61519
62878
  },
61520
62879
  {
61521
- "name": "restriction",
62880
+ "name": "source",
61522
62881
  "description": null,
61523
62882
  "type": {
61524
62883
  "kind": "INPUT_OBJECT",
61525
- "name": "WithdrawalRestriction",
62884
+ "name": "WalletTargetData",
61526
62885
  "ofType": null
61527
62886
  },
61528
62887
  "defaultValue": null,
@@ -61530,7 +62889,7 @@
61530
62889
  "deprecationReason": null
61531
62890
  },
61532
62891
  {
61533
- "name": "type",
62892
+ "name": "transaction_type",
61534
62893
  "description": null,
61535
62894
  "type": {
61536
62895
  "kind": "NON_NULL",