@promoboxx/graphql-gateway-types 1.99.0 → 1.101.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.
- package/graphql.schema.json +630 -7
- package/index.d.ts +80 -2
- package/package.json +1 -1
- package/schema.graphql +34 -2
package/graphql.schema.json
CHANGED
|
@@ -78,13 +78,9 @@
|
|
|
78
78
|
"description": null,
|
|
79
79
|
"args": [],
|
|
80
80
|
"type": {
|
|
81
|
-
"kind": "
|
|
82
|
-
"name":
|
|
83
|
-
"ofType":
|
|
84
|
-
"kind": "SCALAR",
|
|
85
|
-
"name": "ID",
|
|
86
|
-
"ofType": null
|
|
87
|
-
}
|
|
81
|
+
"kind": "SCALAR",
|
|
82
|
+
"name": "ID",
|
|
83
|
+
"ofType": null
|
|
88
84
|
},
|
|
89
85
|
"isDeprecated": false,
|
|
90
86
|
"deprecationReason": null
|
|
@@ -353,6 +349,18 @@
|
|
|
353
349
|
"name": "AccessRequest",
|
|
354
350
|
"description": null,
|
|
355
351
|
"fields": [
|
|
352
|
+
{
|
|
353
|
+
"name": "brand",
|
|
354
|
+
"description": null,
|
|
355
|
+
"args": [],
|
|
356
|
+
"type": {
|
|
357
|
+
"kind": "OBJECT",
|
|
358
|
+
"name": "Brand",
|
|
359
|
+
"ofType": null
|
|
360
|
+
},
|
|
361
|
+
"isDeprecated": false,
|
|
362
|
+
"deprecationReason": null
|
|
363
|
+
},
|
|
356
364
|
{
|
|
357
365
|
"name": "created_at",
|
|
358
366
|
"description": null,
|
|
@@ -413,6 +421,18 @@
|
|
|
413
421
|
"isDeprecated": false,
|
|
414
422
|
"deprecationReason": null
|
|
415
423
|
},
|
|
424
|
+
{
|
|
425
|
+
"name": "requestable",
|
|
426
|
+
"description": null,
|
|
427
|
+
"args": [],
|
|
428
|
+
"type": {
|
|
429
|
+
"kind": "UNION",
|
|
430
|
+
"name": "AccessRequestRequestable",
|
|
431
|
+
"ofType": null
|
|
432
|
+
},
|
|
433
|
+
"isDeprecated": false,
|
|
434
|
+
"deprecationReason": null
|
|
435
|
+
},
|
|
416
436
|
{
|
|
417
437
|
"name": "requestable_id",
|
|
418
438
|
"description": null,
|
|
@@ -437,6 +457,18 @@
|
|
|
437
457
|
"isDeprecated": false,
|
|
438
458
|
"deprecationReason": null
|
|
439
459
|
},
|
|
460
|
+
{
|
|
461
|
+
"name": "requester",
|
|
462
|
+
"description": null,
|
|
463
|
+
"args": [],
|
|
464
|
+
"type": {
|
|
465
|
+
"kind": "OBJECT",
|
|
466
|
+
"name": "User",
|
|
467
|
+
"ofType": null
|
|
468
|
+
},
|
|
469
|
+
"isDeprecated": false,
|
|
470
|
+
"deprecationReason": null
|
|
471
|
+
},
|
|
440
472
|
{
|
|
441
473
|
"name": "requester_id",
|
|
442
474
|
"description": null,
|
|
@@ -515,6 +547,27 @@
|
|
|
515
547
|
"enumValues": null,
|
|
516
548
|
"possibleTypes": null
|
|
517
549
|
},
|
|
550
|
+
{
|
|
551
|
+
"kind": "UNION",
|
|
552
|
+
"name": "AccessRequestRequestable",
|
|
553
|
+
"description": null,
|
|
554
|
+
"fields": null,
|
|
555
|
+
"inputFields": null,
|
|
556
|
+
"interfaces": null,
|
|
557
|
+
"enumValues": null,
|
|
558
|
+
"possibleTypes": [
|
|
559
|
+
{
|
|
560
|
+
"kind": "OBJECT",
|
|
561
|
+
"name": "Retailer",
|
|
562
|
+
"ofType": null
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
"kind": "OBJECT",
|
|
566
|
+
"name": "RetailerAccount",
|
|
567
|
+
"ofType": null
|
|
568
|
+
}
|
|
569
|
+
]
|
|
570
|
+
},
|
|
518
571
|
{
|
|
519
572
|
"kind": "UNION",
|
|
520
573
|
"name": "Accessible",
|
|
@@ -15518,9 +15571,41 @@
|
|
|
15518
15571
|
"isDeprecated": false,
|
|
15519
15572
|
"deprecationReason": null
|
|
15520
15573
|
},
|
|
15574
|
+
{
|
|
15575
|
+
"name": "accessible_type",
|
|
15576
|
+
"description": null,
|
|
15577
|
+
"type": {
|
|
15578
|
+
"kind": "NON_NULL",
|
|
15579
|
+
"name": null,
|
|
15580
|
+
"ofType": {
|
|
15581
|
+
"kind": "SCALAR",
|
|
15582
|
+
"name": "String",
|
|
15583
|
+
"ofType": null
|
|
15584
|
+
}
|
|
15585
|
+
},
|
|
15586
|
+
"defaultValue": null,
|
|
15587
|
+
"isDeprecated": false,
|
|
15588
|
+
"deprecationReason": null
|
|
15589
|
+
},
|
|
15521
15590
|
{
|
|
15522
15591
|
"name": "name",
|
|
15523
15592
|
"description": null,
|
|
15593
|
+
"type": {
|
|
15594
|
+
"kind": "NON_NULL",
|
|
15595
|
+
"name": null,
|
|
15596
|
+
"ofType": {
|
|
15597
|
+
"kind": "SCALAR",
|
|
15598
|
+
"name": "String",
|
|
15599
|
+
"ofType": null
|
|
15600
|
+
}
|
|
15601
|
+
},
|
|
15602
|
+
"defaultValue": null,
|
|
15603
|
+
"isDeprecated": false,
|
|
15604
|
+
"deprecationReason": null
|
|
15605
|
+
},
|
|
15606
|
+
{
|
|
15607
|
+
"name": "recipient_email_address",
|
|
15608
|
+
"description": null,
|
|
15524
15609
|
"type": {
|
|
15525
15610
|
"kind": "SCALAR",
|
|
15526
15611
|
"name": "String",
|
|
@@ -15529,6 +15614,42 @@
|
|
|
15529
15614
|
"defaultValue": null,
|
|
15530
15615
|
"isDeprecated": false,
|
|
15531
15616
|
"deprecationReason": null
|
|
15617
|
+
},
|
|
15618
|
+
{
|
|
15619
|
+
"name": "recipient_user_id",
|
|
15620
|
+
"description": null,
|
|
15621
|
+
"type": {
|
|
15622
|
+
"kind": "SCALAR",
|
|
15623
|
+
"name": "ID",
|
|
15624
|
+
"ofType": null
|
|
15625
|
+
},
|
|
15626
|
+
"defaultValue": null,
|
|
15627
|
+
"isDeprecated": false,
|
|
15628
|
+
"deprecationReason": null
|
|
15629
|
+
},
|
|
15630
|
+
{
|
|
15631
|
+
"name": "sender_email_address_id",
|
|
15632
|
+
"description": null,
|
|
15633
|
+
"type": {
|
|
15634
|
+
"kind": "SCALAR",
|
|
15635
|
+
"name": "String",
|
|
15636
|
+
"ofType": null
|
|
15637
|
+
},
|
|
15638
|
+
"defaultValue": null,
|
|
15639
|
+
"isDeprecated": false,
|
|
15640
|
+
"deprecationReason": null
|
|
15641
|
+
},
|
|
15642
|
+
{
|
|
15643
|
+
"name": "sender_user_id",
|
|
15644
|
+
"description": null,
|
|
15645
|
+
"type": {
|
|
15646
|
+
"kind": "SCALAR",
|
|
15647
|
+
"name": "ID",
|
|
15648
|
+
"ofType": null
|
|
15649
|
+
},
|
|
15650
|
+
"defaultValue": null,
|
|
15651
|
+
"isDeprecated": false,
|
|
15652
|
+
"deprecationReason": null
|
|
15532
15653
|
}
|
|
15533
15654
|
],
|
|
15534
15655
|
"interfaces": null,
|
|
@@ -15562,6 +15683,97 @@
|
|
|
15562
15683
|
"enumValues": null,
|
|
15563
15684
|
"possibleTypes": null
|
|
15564
15685
|
},
|
|
15686
|
+
{
|
|
15687
|
+
"kind": "INPUT_OBJECT",
|
|
15688
|
+
"name": "CreateAccessRequestInput",
|
|
15689
|
+
"description": null,
|
|
15690
|
+
"fields": null,
|
|
15691
|
+
"inputFields": [
|
|
15692
|
+
{
|
|
15693
|
+
"name": "message",
|
|
15694
|
+
"description": null,
|
|
15695
|
+
"type": {
|
|
15696
|
+
"kind": "NON_NULL",
|
|
15697
|
+
"name": null,
|
|
15698
|
+
"ofType": {
|
|
15699
|
+
"kind": "SCALAR",
|
|
15700
|
+
"name": "String",
|
|
15701
|
+
"ofType": null
|
|
15702
|
+
}
|
|
15703
|
+
},
|
|
15704
|
+
"defaultValue": null,
|
|
15705
|
+
"isDeprecated": false,
|
|
15706
|
+
"deprecationReason": null
|
|
15707
|
+
},
|
|
15708
|
+
{
|
|
15709
|
+
"name": "requestable_id",
|
|
15710
|
+
"description": null,
|
|
15711
|
+
"type": {
|
|
15712
|
+
"kind": "NON_NULL",
|
|
15713
|
+
"name": null,
|
|
15714
|
+
"ofType": {
|
|
15715
|
+
"kind": "SCALAR",
|
|
15716
|
+
"name": "ID",
|
|
15717
|
+
"ofType": null
|
|
15718
|
+
}
|
|
15719
|
+
},
|
|
15720
|
+
"defaultValue": null,
|
|
15721
|
+
"isDeprecated": false,
|
|
15722
|
+
"deprecationReason": null
|
|
15723
|
+
},
|
|
15724
|
+
{
|
|
15725
|
+
"name": "requestable_type",
|
|
15726
|
+
"description": null,
|
|
15727
|
+
"type": {
|
|
15728
|
+
"kind": "NON_NULL",
|
|
15729
|
+
"name": null,
|
|
15730
|
+
"ofType": {
|
|
15731
|
+
"kind": "SCALAR",
|
|
15732
|
+
"name": "String",
|
|
15733
|
+
"ofType": null
|
|
15734
|
+
}
|
|
15735
|
+
},
|
|
15736
|
+
"defaultValue": null,
|
|
15737
|
+
"isDeprecated": false,
|
|
15738
|
+
"deprecationReason": null
|
|
15739
|
+
},
|
|
15740
|
+
{
|
|
15741
|
+
"name": "requester_id",
|
|
15742
|
+
"description": null,
|
|
15743
|
+
"type": {
|
|
15744
|
+
"kind": "NON_NULL",
|
|
15745
|
+
"name": null,
|
|
15746
|
+
"ofType": {
|
|
15747
|
+
"kind": "SCALAR",
|
|
15748
|
+
"name": "ID",
|
|
15749
|
+
"ofType": null
|
|
15750
|
+
}
|
|
15751
|
+
},
|
|
15752
|
+
"defaultValue": null,
|
|
15753
|
+
"isDeprecated": false,
|
|
15754
|
+
"deprecationReason": null
|
|
15755
|
+
},
|
|
15756
|
+
{
|
|
15757
|
+
"name": "requester_name",
|
|
15758
|
+
"description": null,
|
|
15759
|
+
"type": {
|
|
15760
|
+
"kind": "NON_NULL",
|
|
15761
|
+
"name": null,
|
|
15762
|
+
"ofType": {
|
|
15763
|
+
"kind": "SCALAR",
|
|
15764
|
+
"name": "String",
|
|
15765
|
+
"ofType": null
|
|
15766
|
+
}
|
|
15767
|
+
},
|
|
15768
|
+
"defaultValue": null,
|
|
15769
|
+
"isDeprecated": false,
|
|
15770
|
+
"deprecationReason": null
|
|
15771
|
+
}
|
|
15772
|
+
],
|
|
15773
|
+
"interfaces": null,
|
|
15774
|
+
"enumValues": null,
|
|
15775
|
+
"possibleTypes": null
|
|
15776
|
+
},
|
|
15565
15777
|
{
|
|
15566
15778
|
"kind": "INPUT_OBJECT",
|
|
15567
15779
|
"name": "CreateAdAccountParams",
|
|
@@ -27390,6 +27602,53 @@
|
|
|
27390
27602
|
"enumValues": null,
|
|
27391
27603
|
"possibleTypes": null
|
|
27392
27604
|
},
|
|
27605
|
+
{
|
|
27606
|
+
"kind": "OBJECT",
|
|
27607
|
+
"name": "FacebookTokenResponse",
|
|
27608
|
+
"description": null,
|
|
27609
|
+
"fields": [
|
|
27610
|
+
{
|
|
27611
|
+
"name": "access_token",
|
|
27612
|
+
"description": null,
|
|
27613
|
+
"args": [],
|
|
27614
|
+
"type": {
|
|
27615
|
+
"kind": "SCALAR",
|
|
27616
|
+
"name": "String",
|
|
27617
|
+
"ofType": null
|
|
27618
|
+
},
|
|
27619
|
+
"isDeprecated": false,
|
|
27620
|
+
"deprecationReason": null
|
|
27621
|
+
},
|
|
27622
|
+
{
|
|
27623
|
+
"name": "expires_in",
|
|
27624
|
+
"description": null,
|
|
27625
|
+
"args": [],
|
|
27626
|
+
"type": {
|
|
27627
|
+
"kind": "SCALAR",
|
|
27628
|
+
"name": "Int",
|
|
27629
|
+
"ofType": null
|
|
27630
|
+
},
|
|
27631
|
+
"isDeprecated": false,
|
|
27632
|
+
"deprecationReason": null
|
|
27633
|
+
},
|
|
27634
|
+
{
|
|
27635
|
+
"name": "token_type",
|
|
27636
|
+
"description": null,
|
|
27637
|
+
"args": [],
|
|
27638
|
+
"type": {
|
|
27639
|
+
"kind": "SCALAR",
|
|
27640
|
+
"name": "String",
|
|
27641
|
+
"ofType": null
|
|
27642
|
+
},
|
|
27643
|
+
"isDeprecated": false,
|
|
27644
|
+
"deprecationReason": null
|
|
27645
|
+
}
|
|
27646
|
+
],
|
|
27647
|
+
"inputFields": null,
|
|
27648
|
+
"interfaces": [],
|
|
27649
|
+
"enumValues": null,
|
|
27650
|
+
"possibleTypes": null
|
|
27651
|
+
},
|
|
27393
27652
|
{
|
|
27394
27653
|
"kind": "OBJECT",
|
|
27395
27654
|
"name": "FacebookUserAndRole",
|
|
@@ -37916,6 +38175,39 @@
|
|
|
37916
38175
|
"isDeprecated": false,
|
|
37917
38176
|
"deprecationReason": null
|
|
37918
38177
|
},
|
|
38178
|
+
{
|
|
38179
|
+
"name": "closeAccessInvitation",
|
|
38180
|
+
"description": null,
|
|
38181
|
+
"args": [
|
|
38182
|
+
{
|
|
38183
|
+
"name": "id",
|
|
38184
|
+
"description": null,
|
|
38185
|
+
"type": {
|
|
38186
|
+
"kind": "NON_NULL",
|
|
38187
|
+
"name": null,
|
|
38188
|
+
"ofType": {
|
|
38189
|
+
"kind": "SCALAR",
|
|
38190
|
+
"name": "ID",
|
|
38191
|
+
"ofType": null
|
|
38192
|
+
}
|
|
38193
|
+
},
|
|
38194
|
+
"defaultValue": null,
|
|
38195
|
+
"isDeprecated": false,
|
|
38196
|
+
"deprecationReason": null
|
|
38197
|
+
}
|
|
38198
|
+
],
|
|
38199
|
+
"type": {
|
|
38200
|
+
"kind": "NON_NULL",
|
|
38201
|
+
"name": null,
|
|
38202
|
+
"ofType": {
|
|
38203
|
+
"kind": "SCALAR",
|
|
38204
|
+
"name": "ID",
|
|
38205
|
+
"ofType": null
|
|
38206
|
+
}
|
|
38207
|
+
},
|
|
38208
|
+
"isDeprecated": false,
|
|
38209
|
+
"deprecationReason": null
|
|
38210
|
+
},
|
|
37919
38211
|
{
|
|
37920
38212
|
"name": "createAccessInvitation",
|
|
37921
38213
|
"description": null,
|
|
@@ -37945,6 +38237,59 @@
|
|
|
37945
38237
|
"isDeprecated": false,
|
|
37946
38238
|
"deprecationReason": null
|
|
37947
38239
|
},
|
|
38240
|
+
{
|
|
38241
|
+
"name": "createAccessRequest",
|
|
38242
|
+
"description": null,
|
|
38243
|
+
"args": [
|
|
38244
|
+
{
|
|
38245
|
+
"name": "access_request",
|
|
38246
|
+
"description": null,
|
|
38247
|
+
"type": {
|
|
38248
|
+
"kind": "NON_NULL",
|
|
38249
|
+
"name": null,
|
|
38250
|
+
"ofType": {
|
|
38251
|
+
"kind": "INPUT_OBJECT",
|
|
38252
|
+
"name": "CreateAccessRequestInput",
|
|
38253
|
+
"ofType": null
|
|
38254
|
+
}
|
|
38255
|
+
},
|
|
38256
|
+
"defaultValue": null,
|
|
38257
|
+
"isDeprecated": false,
|
|
38258
|
+
"deprecationReason": null
|
|
38259
|
+
},
|
|
38260
|
+
{
|
|
38261
|
+
"name": "fields",
|
|
38262
|
+
"description": null,
|
|
38263
|
+
"type": {
|
|
38264
|
+
"kind": "LIST",
|
|
38265
|
+
"name": null,
|
|
38266
|
+
"ofType": {
|
|
38267
|
+
"kind": "NON_NULL",
|
|
38268
|
+
"name": null,
|
|
38269
|
+
"ofType": {
|
|
38270
|
+
"kind": "SCALAR",
|
|
38271
|
+
"name": "String",
|
|
38272
|
+
"ofType": null
|
|
38273
|
+
}
|
|
38274
|
+
}
|
|
38275
|
+
},
|
|
38276
|
+
"defaultValue": null,
|
|
38277
|
+
"isDeprecated": false,
|
|
38278
|
+
"deprecationReason": null
|
|
38279
|
+
}
|
|
38280
|
+
],
|
|
38281
|
+
"type": {
|
|
38282
|
+
"kind": "NON_NULL",
|
|
38283
|
+
"name": null,
|
|
38284
|
+
"ofType": {
|
|
38285
|
+
"kind": "OBJECT",
|
|
38286
|
+
"name": "AccessRequest",
|
|
38287
|
+
"ofType": null
|
|
38288
|
+
}
|
|
38289
|
+
},
|
|
38290
|
+
"isDeprecated": false,
|
|
38291
|
+
"deprecationReason": null
|
|
38292
|
+
},
|
|
37948
38293
|
{
|
|
37949
38294
|
"name": "createAdAccount",
|
|
37950
38295
|
"description": null,
|
|
@@ -40447,6 +40792,39 @@
|
|
|
40447
40792
|
"isDeprecated": false,
|
|
40448
40793
|
"deprecationReason": null
|
|
40449
40794
|
},
|
|
40795
|
+
{
|
|
40796
|
+
"name": "denyAccessRequest",
|
|
40797
|
+
"description": null,
|
|
40798
|
+
"args": [
|
|
40799
|
+
{
|
|
40800
|
+
"name": "id",
|
|
40801
|
+
"description": null,
|
|
40802
|
+
"type": {
|
|
40803
|
+
"kind": "NON_NULL",
|
|
40804
|
+
"name": null,
|
|
40805
|
+
"ofType": {
|
|
40806
|
+
"kind": "SCALAR",
|
|
40807
|
+
"name": "ID",
|
|
40808
|
+
"ofType": null
|
|
40809
|
+
}
|
|
40810
|
+
},
|
|
40811
|
+
"defaultValue": null,
|
|
40812
|
+
"isDeprecated": false,
|
|
40813
|
+
"deprecationReason": null
|
|
40814
|
+
}
|
|
40815
|
+
],
|
|
40816
|
+
"type": {
|
|
40817
|
+
"kind": "NON_NULL",
|
|
40818
|
+
"name": null,
|
|
40819
|
+
"ofType": {
|
|
40820
|
+
"kind": "SCALAR",
|
|
40821
|
+
"name": "ID",
|
|
40822
|
+
"ofType": null
|
|
40823
|
+
}
|
|
40824
|
+
},
|
|
40825
|
+
"isDeprecated": false,
|
|
40826
|
+
"deprecationReason": null
|
|
40827
|
+
},
|
|
40450
40828
|
{
|
|
40451
40829
|
"name": "disableRegistrationKey",
|
|
40452
40830
|
"description": null,
|
|
@@ -40731,6 +41109,39 @@
|
|
|
40731
41109
|
"isDeprecated": false,
|
|
40732
41110
|
"deprecationReason": null
|
|
40733
41111
|
},
|
|
41112
|
+
{
|
|
41113
|
+
"name": "grantAccessRequest",
|
|
41114
|
+
"description": null,
|
|
41115
|
+
"args": [
|
|
41116
|
+
{
|
|
41117
|
+
"name": "id",
|
|
41118
|
+
"description": null,
|
|
41119
|
+
"type": {
|
|
41120
|
+
"kind": "NON_NULL",
|
|
41121
|
+
"name": null,
|
|
41122
|
+
"ofType": {
|
|
41123
|
+
"kind": "SCALAR",
|
|
41124
|
+
"name": "ID",
|
|
41125
|
+
"ofType": null
|
|
41126
|
+
}
|
|
41127
|
+
},
|
|
41128
|
+
"defaultValue": null,
|
|
41129
|
+
"isDeprecated": false,
|
|
41130
|
+
"deprecationReason": null
|
|
41131
|
+
}
|
|
41132
|
+
],
|
|
41133
|
+
"type": {
|
|
41134
|
+
"kind": "NON_NULL",
|
|
41135
|
+
"name": null,
|
|
41136
|
+
"ofType": {
|
|
41137
|
+
"kind": "SCALAR",
|
|
41138
|
+
"name": "ID",
|
|
41139
|
+
"ofType": null
|
|
41140
|
+
}
|
|
41141
|
+
},
|
|
41142
|
+
"isDeprecated": false,
|
|
41143
|
+
"deprecationReason": null
|
|
41144
|
+
},
|
|
40734
41145
|
{
|
|
40735
41146
|
"name": "inviteRetailers",
|
|
40736
41147
|
"description": null,
|
|
@@ -41659,6 +42070,59 @@
|
|
|
41659
42070
|
"isDeprecated": false,
|
|
41660
42071
|
"deprecationReason": null
|
|
41661
42072
|
},
|
|
42073
|
+
{
|
|
42074
|
+
"name": "resendAccessRequest",
|
|
42075
|
+
"description": null,
|
|
42076
|
+
"args": [
|
|
42077
|
+
{
|
|
42078
|
+
"name": "fields",
|
|
42079
|
+
"description": null,
|
|
42080
|
+
"type": {
|
|
42081
|
+
"kind": "LIST",
|
|
42082
|
+
"name": null,
|
|
42083
|
+
"ofType": {
|
|
42084
|
+
"kind": "NON_NULL",
|
|
42085
|
+
"name": null,
|
|
42086
|
+
"ofType": {
|
|
42087
|
+
"kind": "SCALAR",
|
|
42088
|
+
"name": "String",
|
|
42089
|
+
"ofType": null
|
|
42090
|
+
}
|
|
42091
|
+
}
|
|
42092
|
+
},
|
|
42093
|
+
"defaultValue": null,
|
|
42094
|
+
"isDeprecated": false,
|
|
42095
|
+
"deprecationReason": null
|
|
42096
|
+
},
|
|
42097
|
+
{
|
|
42098
|
+
"name": "id",
|
|
42099
|
+
"description": null,
|
|
42100
|
+
"type": {
|
|
42101
|
+
"kind": "NON_NULL",
|
|
42102
|
+
"name": null,
|
|
42103
|
+
"ofType": {
|
|
42104
|
+
"kind": "SCALAR",
|
|
42105
|
+
"name": "ID",
|
|
42106
|
+
"ofType": null
|
|
42107
|
+
}
|
|
42108
|
+
},
|
|
42109
|
+
"defaultValue": null,
|
|
42110
|
+
"isDeprecated": false,
|
|
42111
|
+
"deprecationReason": null
|
|
42112
|
+
}
|
|
42113
|
+
],
|
|
42114
|
+
"type": {
|
|
42115
|
+
"kind": "NON_NULL",
|
|
42116
|
+
"name": null,
|
|
42117
|
+
"ofType": {
|
|
42118
|
+
"kind": "OBJECT",
|
|
42119
|
+
"name": "AccessRequest",
|
|
42120
|
+
"ofType": null
|
|
42121
|
+
}
|
|
42122
|
+
},
|
|
42123
|
+
"isDeprecated": false,
|
|
42124
|
+
"deprecationReason": null
|
|
42125
|
+
},
|
|
41662
42126
|
{
|
|
41663
42127
|
"name": "resetInvitations",
|
|
41664
42128
|
"description": null,
|
|
@@ -45633,6 +46097,136 @@
|
|
|
45633
46097
|
"isDeprecated": false,
|
|
45634
46098
|
"deprecationReason": null
|
|
45635
46099
|
},
|
|
46100
|
+
{
|
|
46101
|
+
"name": "getAccessRequest",
|
|
46102
|
+
"description": null,
|
|
46103
|
+
"args": [
|
|
46104
|
+
{
|
|
46105
|
+
"name": "fields",
|
|
46106
|
+
"description": null,
|
|
46107
|
+
"type": {
|
|
46108
|
+
"kind": "LIST",
|
|
46109
|
+
"name": null,
|
|
46110
|
+
"ofType": {
|
|
46111
|
+
"kind": "NON_NULL",
|
|
46112
|
+
"name": null,
|
|
46113
|
+
"ofType": {
|
|
46114
|
+
"kind": "SCALAR",
|
|
46115
|
+
"name": "String",
|
|
46116
|
+
"ofType": null
|
|
46117
|
+
}
|
|
46118
|
+
}
|
|
46119
|
+
},
|
|
46120
|
+
"defaultValue": null,
|
|
46121
|
+
"isDeprecated": false,
|
|
46122
|
+
"deprecationReason": null
|
|
46123
|
+
},
|
|
46124
|
+
{
|
|
46125
|
+
"name": "id",
|
|
46126
|
+
"description": null,
|
|
46127
|
+
"type": {
|
|
46128
|
+
"kind": "NON_NULL",
|
|
46129
|
+
"name": null,
|
|
46130
|
+
"ofType": {
|
|
46131
|
+
"kind": "SCALAR",
|
|
46132
|
+
"name": "ID",
|
|
46133
|
+
"ofType": null
|
|
46134
|
+
}
|
|
46135
|
+
},
|
|
46136
|
+
"defaultValue": null,
|
|
46137
|
+
"isDeprecated": false,
|
|
46138
|
+
"deprecationReason": null
|
|
46139
|
+
}
|
|
46140
|
+
],
|
|
46141
|
+
"type": {
|
|
46142
|
+
"kind": "NON_NULL",
|
|
46143
|
+
"name": null,
|
|
46144
|
+
"ofType": {
|
|
46145
|
+
"kind": "OBJECT",
|
|
46146
|
+
"name": "AccessRequest",
|
|
46147
|
+
"ofType": null
|
|
46148
|
+
}
|
|
46149
|
+
},
|
|
46150
|
+
"isDeprecated": false,
|
|
46151
|
+
"deprecationReason": null
|
|
46152
|
+
},
|
|
46153
|
+
{
|
|
46154
|
+
"name": "getAccessRequests",
|
|
46155
|
+
"description": null,
|
|
46156
|
+
"args": [
|
|
46157
|
+
{
|
|
46158
|
+
"name": "fields",
|
|
46159
|
+
"description": null,
|
|
46160
|
+
"type": {
|
|
46161
|
+
"kind": "LIST",
|
|
46162
|
+
"name": null,
|
|
46163
|
+
"ofType": {
|
|
46164
|
+
"kind": "NON_NULL",
|
|
46165
|
+
"name": null,
|
|
46166
|
+
"ofType": {
|
|
46167
|
+
"kind": "SCALAR",
|
|
46168
|
+
"name": "String",
|
|
46169
|
+
"ofType": null
|
|
46170
|
+
}
|
|
46171
|
+
}
|
|
46172
|
+
},
|
|
46173
|
+
"defaultValue": null,
|
|
46174
|
+
"isDeprecated": false,
|
|
46175
|
+
"deprecationReason": null
|
|
46176
|
+
},
|
|
46177
|
+
{
|
|
46178
|
+
"name": "resource_id",
|
|
46179
|
+
"description": null,
|
|
46180
|
+
"type": {
|
|
46181
|
+
"kind": "NON_NULL",
|
|
46182
|
+
"name": null,
|
|
46183
|
+
"ofType": {
|
|
46184
|
+
"kind": "SCALAR",
|
|
46185
|
+
"name": "ID",
|
|
46186
|
+
"ofType": null
|
|
46187
|
+
}
|
|
46188
|
+
},
|
|
46189
|
+
"defaultValue": null,
|
|
46190
|
+
"isDeprecated": false,
|
|
46191
|
+
"deprecationReason": null
|
|
46192
|
+
},
|
|
46193
|
+
{
|
|
46194
|
+
"name": "resource_type",
|
|
46195
|
+
"description": null,
|
|
46196
|
+
"type": {
|
|
46197
|
+
"kind": "NON_NULL",
|
|
46198
|
+
"name": null,
|
|
46199
|
+
"ofType": {
|
|
46200
|
+
"kind": "SCALAR",
|
|
46201
|
+
"name": "String",
|
|
46202
|
+
"ofType": null
|
|
46203
|
+
}
|
|
46204
|
+
},
|
|
46205
|
+
"defaultValue": null,
|
|
46206
|
+
"isDeprecated": false,
|
|
46207
|
+
"deprecationReason": null
|
|
46208
|
+
}
|
|
46209
|
+
],
|
|
46210
|
+
"type": {
|
|
46211
|
+
"kind": "NON_NULL",
|
|
46212
|
+
"name": null,
|
|
46213
|
+
"ofType": {
|
|
46214
|
+
"kind": "LIST",
|
|
46215
|
+
"name": null,
|
|
46216
|
+
"ofType": {
|
|
46217
|
+
"kind": "NON_NULL",
|
|
46218
|
+
"name": null,
|
|
46219
|
+
"ofType": {
|
|
46220
|
+
"kind": "OBJECT",
|
|
46221
|
+
"name": "AccessRequest",
|
|
46222
|
+
"ofType": null
|
|
46223
|
+
}
|
|
46224
|
+
}
|
|
46225
|
+
}
|
|
46226
|
+
},
|
|
46227
|
+
"isDeprecated": false,
|
|
46228
|
+
"deprecationReason": null
|
|
46229
|
+
},
|
|
45636
46230
|
{
|
|
45637
46231
|
"name": "getAd",
|
|
45638
46232
|
"description": null,
|
|
@@ -50939,6 +51533,35 @@
|
|
|
50939
51533
|
"isDeprecated": false,
|
|
50940
51534
|
"deprecationReason": null
|
|
50941
51535
|
},
|
|
51536
|
+
{
|
|
51537
|
+
"name": "getTokenFromCode",
|
|
51538
|
+
"description": null,
|
|
51539
|
+
"args": [
|
|
51540
|
+
{
|
|
51541
|
+
"name": "code",
|
|
51542
|
+
"description": null,
|
|
51543
|
+
"type": {
|
|
51544
|
+
"kind": "NON_NULL",
|
|
51545
|
+
"name": null,
|
|
51546
|
+
"ofType": {
|
|
51547
|
+
"kind": "SCALAR",
|
|
51548
|
+
"name": "String",
|
|
51549
|
+
"ofType": null
|
|
51550
|
+
}
|
|
51551
|
+
},
|
|
51552
|
+
"defaultValue": null,
|
|
51553
|
+
"isDeprecated": false,
|
|
51554
|
+
"deprecationReason": null
|
|
51555
|
+
}
|
|
51556
|
+
],
|
|
51557
|
+
"type": {
|
|
51558
|
+
"kind": "OBJECT",
|
|
51559
|
+
"name": "FacebookTokenResponse",
|
|
51560
|
+
"ofType": null
|
|
51561
|
+
},
|
|
51562
|
+
"isDeprecated": false,
|
|
51563
|
+
"deprecationReason": null
|
|
51564
|
+
},
|
|
50942
51565
|
{
|
|
50943
51566
|
"name": "getTwitterAccount",
|
|
50944
51567
|
"description": null,
|
package/index.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export type AccessInvitation = {
|
|
|
22
22
|
accessible?: Maybe<Accessible>;
|
|
23
23
|
accessible_id?: Maybe<Scalars['ID']['output']>;
|
|
24
24
|
accessible_type?: Maybe<Scalars['String']['output']>;
|
|
25
|
-
brand_id
|
|
25
|
+
brand_id?: Maybe<Scalars['ID']['output']>;
|
|
26
26
|
created_at?: Maybe<Scalars['String']['output']>;
|
|
27
27
|
created_by_id?: Maybe<Scalars['ID']['output']>;
|
|
28
28
|
delivery_status?: Maybe<AccessInvitationDeliveryStatus>;
|
|
@@ -55,13 +55,16 @@ export type AccessInvitationState =
|
|
|
55
55
|
|
|
56
56
|
export type AccessRequest = {
|
|
57
57
|
__typename?: 'AccessRequest';
|
|
58
|
+
brand?: Maybe<Brand>;
|
|
58
59
|
created_at?: Maybe<Scalars['String']['output']>;
|
|
59
60
|
created_by_id?: Maybe<Scalars['ID']['output']>;
|
|
60
61
|
deleted_at?: Maybe<Scalars['String']['output']>;
|
|
61
62
|
id?: Maybe<Scalars['ID']['output']>;
|
|
62
63
|
message?: Maybe<Scalars['String']['output']>;
|
|
64
|
+
requestable?: Maybe<AccessRequestRequestable>;
|
|
63
65
|
requestable_id?: Maybe<Scalars['ID']['output']>;
|
|
64
66
|
requestable_type?: Maybe<RequestableType>;
|
|
67
|
+
requester?: Maybe<User>;
|
|
65
68
|
requester_id?: Maybe<Scalars['ID']['output']>;
|
|
66
69
|
requester_name?: Maybe<Scalars['String']['output']>;
|
|
67
70
|
status?: Maybe<Scalars['String']['output']>;
|
|
@@ -70,6 +73,8 @@ export type AccessRequest = {
|
|
|
70
73
|
updated_by_id?: Maybe<Scalars['ID']['output']>;
|
|
71
74
|
};
|
|
72
75
|
|
|
76
|
+
export type AccessRequestRequestable = Retailer | RetailerAccount;
|
|
77
|
+
|
|
73
78
|
export type Accessible = Division | Retailer | RetailerAccount;
|
|
74
79
|
|
|
75
80
|
export type ActionStat = {
|
|
@@ -1701,13 +1706,26 @@ export type CopyOption = {
|
|
|
1701
1706
|
|
|
1702
1707
|
export type CreateAccessInvitation = {
|
|
1703
1708
|
accessible_id: Scalars['ID']['input'];
|
|
1704
|
-
|
|
1709
|
+
accessible_type: Scalars['String']['input'];
|
|
1710
|
+
name: Scalars['String']['input'];
|
|
1711
|
+
recipient_email_address?: InputMaybe<Scalars['String']['input']>;
|
|
1712
|
+
recipient_user_id?: InputMaybe<Scalars['ID']['input']>;
|
|
1713
|
+
sender_email_address_id?: InputMaybe<Scalars['String']['input']>;
|
|
1714
|
+
sender_user_id?: InputMaybe<Scalars['ID']['input']>;
|
|
1705
1715
|
};
|
|
1706
1716
|
|
|
1707
1717
|
export type CreateAccessInvitationParams = {
|
|
1708
1718
|
access_invitation: CreateAccessInvitation;
|
|
1709
1719
|
};
|
|
1710
1720
|
|
|
1721
|
+
export type CreateAccessRequestInput = {
|
|
1722
|
+
message: Scalars['String']['input'];
|
|
1723
|
+
requestable_id: Scalars['ID']['input'];
|
|
1724
|
+
requestable_type: Scalars['String']['input'];
|
|
1725
|
+
requester_id: Scalars['ID']['input'];
|
|
1726
|
+
requester_name: Scalars['String']['input'];
|
|
1727
|
+
};
|
|
1728
|
+
|
|
1711
1729
|
export type CreateAdAccountParams = {
|
|
1712
1730
|
ad_account_name?: InputMaybe<Scalars['String']['input']>;
|
|
1713
1731
|
id: Scalars['ID']['input'];
|
|
@@ -2978,6 +2996,13 @@ export type FacebookShare = {
|
|
|
2978
2996
|
updated_by_id?: Maybe<Scalars['ID']['output']>;
|
|
2979
2997
|
};
|
|
2980
2998
|
|
|
2999
|
+
export type FacebookTokenResponse = {
|
|
3000
|
+
__typename?: 'FacebookTokenResponse';
|
|
3001
|
+
access_token?: Maybe<Scalars['String']['output']>;
|
|
3002
|
+
expires_in?: Maybe<Scalars['Int']['output']>;
|
|
3003
|
+
token_type?: Maybe<Scalars['String']['output']>;
|
|
3004
|
+
};
|
|
3005
|
+
|
|
2981
3006
|
export type FacebookUserAndRole = {
|
|
2982
3007
|
__typename?: 'FacebookUserAndRole';
|
|
2983
3008
|
id?: Maybe<Scalars['ID']['output']>;
|
|
@@ -4140,7 +4165,9 @@ export type Mutation = {
|
|
|
4140
4165
|
bulkUpdateRetailerData?: Maybe<UploadCsvResponse>;
|
|
4141
4166
|
cancelContract?: Maybe<Contract>;
|
|
4142
4167
|
cancelPaymentIntent?: Maybe<Scalars['Boolean']['output']>;
|
|
4168
|
+
closeAccessInvitation: Scalars['ID']['output'];
|
|
4143
4169
|
createAccessInvitation?: Maybe<AccessInvitation>;
|
|
4170
|
+
createAccessRequest: AccessRequest;
|
|
4144
4171
|
createAdAccount: AdAccount;
|
|
4145
4172
|
createAdAutomation?: Maybe<AdAutomation>;
|
|
4146
4173
|
createAdAutomations?: Maybe<Array<AdAutomation>>;
|
|
@@ -4204,6 +4231,7 @@ export type Mutation = {
|
|
|
4204
4231
|
deleteShare: DeleteShareResponse;
|
|
4205
4232
|
deleteSsoConnection: Scalars['String']['output'];
|
|
4206
4233
|
deleteTwitterAccount?: Maybe<Scalars['ID']['output']>;
|
|
4234
|
+
denyAccessRequest: Scalars['ID']['output'];
|
|
4207
4235
|
disableRegistrationKey: RegistrationKey;
|
|
4208
4236
|
disproveContentRequest: ContentRequest;
|
|
4209
4237
|
duplicateCampaign?: Maybe<Scalars['ID']['output']>;
|
|
@@ -4212,6 +4240,7 @@ export type Mutation = {
|
|
|
4212
4240
|
exportLeads: Scalars['ID']['output'];
|
|
4213
4241
|
exportUsersForDivisionByBrand: Scalars['ID']['output'];
|
|
4214
4242
|
extendJwt: ExtendJwtResponse;
|
|
4243
|
+
grantAccessRequest: Scalars['ID']['output'];
|
|
4215
4244
|
inviteRetailers?: Maybe<Scalars['ID']['output']>;
|
|
4216
4245
|
inviteRetailersAndPublishPaidAd: Scalars['ID']['output'];
|
|
4217
4246
|
joinRetailer: Permission;
|
|
@@ -4246,6 +4275,7 @@ export type Mutation = {
|
|
|
4246
4275
|
rejectBrandRequest: BrandRequest;
|
|
4247
4276
|
requestPasswordReset: Scalars['String']['output'];
|
|
4248
4277
|
resendAccessInvitation: Scalars['ID']['output'];
|
|
4278
|
+
resendAccessRequest: AccessRequest;
|
|
4249
4279
|
resetInvitations: Array<Invitations>;
|
|
4250
4280
|
/** Reset a transfer given an idempotency key */
|
|
4251
4281
|
reset_transfer?: Maybe<Transaction>;
|
|
@@ -4411,11 +4441,22 @@ export type MutationCancelPaymentIntentArgs = {
|
|
|
4411
4441
|
};
|
|
4412
4442
|
|
|
4413
4443
|
|
|
4444
|
+
export type MutationCloseAccessInvitationArgs = {
|
|
4445
|
+
id: Scalars['ID']['input'];
|
|
4446
|
+
};
|
|
4447
|
+
|
|
4448
|
+
|
|
4414
4449
|
export type MutationCreateAccessInvitationArgs = {
|
|
4415
4450
|
params: CreateAccessInvitationParams;
|
|
4416
4451
|
};
|
|
4417
4452
|
|
|
4418
4453
|
|
|
4454
|
+
export type MutationCreateAccessRequestArgs = {
|
|
4455
|
+
access_request: CreateAccessRequestInput;
|
|
4456
|
+
fields?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
4457
|
+
};
|
|
4458
|
+
|
|
4459
|
+
|
|
4419
4460
|
export type MutationCreateAdAccountArgs = {
|
|
4420
4461
|
params: CreateAdAccountParams;
|
|
4421
4462
|
};
|
|
@@ -4747,6 +4788,11 @@ export type MutationDeleteTwitterAccountArgs = {
|
|
|
4747
4788
|
};
|
|
4748
4789
|
|
|
4749
4790
|
|
|
4791
|
+
export type MutationDenyAccessRequestArgs = {
|
|
4792
|
+
id: Scalars['ID']['input'];
|
|
4793
|
+
};
|
|
4794
|
+
|
|
4795
|
+
|
|
4750
4796
|
export type MutationDisableRegistrationKeyArgs = {
|
|
4751
4797
|
id: Scalars['ID']['input'];
|
|
4752
4798
|
};
|
|
@@ -4789,6 +4835,11 @@ export type MutationExtendJwtArgs = {
|
|
|
4789
4835
|
};
|
|
4790
4836
|
|
|
4791
4837
|
|
|
4838
|
+
export type MutationGrantAccessRequestArgs = {
|
|
4839
|
+
id: Scalars['ID']['input'];
|
|
4840
|
+
};
|
|
4841
|
+
|
|
4842
|
+
|
|
4792
4843
|
export type MutationInviteRetailersArgs = {
|
|
4793
4844
|
params: InviteRetailersParams;
|
|
4794
4845
|
};
|
|
@@ -4919,6 +4970,12 @@ export type MutationResendAccessInvitationArgs = {
|
|
|
4919
4970
|
};
|
|
4920
4971
|
|
|
4921
4972
|
|
|
4973
|
+
export type MutationResendAccessRequestArgs = {
|
|
4974
|
+
fields?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
4975
|
+
id: Scalars['ID']['input'];
|
|
4976
|
+
};
|
|
4977
|
+
|
|
4978
|
+
|
|
4922
4979
|
export type MutationResetInvitationsArgs = {
|
|
4923
4980
|
params: ResetInvitationsParams;
|
|
4924
4981
|
};
|
|
@@ -5419,6 +5476,8 @@ export type Query = {
|
|
|
5419
5476
|
bulkGetUsersByUuidAndBrandId: BulkGetUsersByUuidAndBrandIdResponse;
|
|
5420
5477
|
getAccessInvitation?: Maybe<AccessInvitation>;
|
|
5421
5478
|
getAccessInvitations?: Maybe<GetAccessInvitationsResponse>;
|
|
5479
|
+
getAccessRequest: AccessRequest;
|
|
5480
|
+
getAccessRequests: Array<AccessRequest>;
|
|
5422
5481
|
getAd: AdCampaignData;
|
|
5423
5482
|
getAdAutomationsByBrandId: Array<AdAutomation>;
|
|
5424
5483
|
getAdAutomationsByRetailerIds: Array<AdAutomation>;
|
|
@@ -5537,6 +5596,7 @@ export type Query = {
|
|
|
5537
5596
|
/** Gets the specific stripe payment intent with the given ID */
|
|
5538
5597
|
getStripePaymentIntents?: Maybe<Array<StripePaymentIntent>>;
|
|
5539
5598
|
getSupportedLocales?: Maybe<Array<Scalars['String']['output']>>;
|
|
5599
|
+
getTokenFromCode?: Maybe<FacebookTokenResponse>;
|
|
5540
5600
|
getTwitterAccount: TwitterAccount;
|
|
5541
5601
|
getTwitterAccounts: Array<TwitterAccount>;
|
|
5542
5602
|
getUser: User;
|
|
@@ -5589,6 +5649,19 @@ export type QueryGetAccessInvitationsArgs = {
|
|
|
5589
5649
|
};
|
|
5590
5650
|
|
|
5591
5651
|
|
|
5652
|
+
export type QueryGetAccessRequestArgs = {
|
|
5653
|
+
fields?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
5654
|
+
id: Scalars['ID']['input'];
|
|
5655
|
+
};
|
|
5656
|
+
|
|
5657
|
+
|
|
5658
|
+
export type QueryGetAccessRequestsArgs = {
|
|
5659
|
+
fields?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
5660
|
+
resource_id: Scalars['ID']['input'];
|
|
5661
|
+
resource_type: Scalars['String']['input'];
|
|
5662
|
+
};
|
|
5663
|
+
|
|
5664
|
+
|
|
5592
5665
|
export type QueryGetAdArgs = {
|
|
5593
5666
|
params: AdParams;
|
|
5594
5667
|
};
|
|
@@ -6210,6 +6283,11 @@ export type QueryGetStripePaymentIntentsArgs = {
|
|
|
6210
6283
|
};
|
|
6211
6284
|
|
|
6212
6285
|
|
|
6286
|
+
export type QueryGetTokenFromCodeArgs = {
|
|
6287
|
+
code: Scalars['String']['input'];
|
|
6288
|
+
};
|
|
6289
|
+
|
|
6290
|
+
|
|
6213
6291
|
export type QueryGetTwitterAccountArgs = {
|
|
6214
6292
|
id: Scalars['ID']['input'];
|
|
6215
6293
|
params?: InputMaybe<TwitterAccountParams>;
|
package/package.json
CHANGED
package/schema.graphql
CHANGED
|
@@ -6,7 +6,7 @@ type AccessInvitation {
|
|
|
6
6
|
accessible: Accessible
|
|
7
7
|
accessible_id: ID
|
|
8
8
|
accessible_type: String
|
|
9
|
-
brand_id: ID
|
|
9
|
+
brand_id: ID
|
|
10
10
|
created_at: String
|
|
11
11
|
created_by_id: ID
|
|
12
12
|
delivery_status: AccessInvitationDeliveryStatus
|
|
@@ -41,13 +41,16 @@ enum AccessInvitationState {
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
type AccessRequest {
|
|
44
|
+
brand: Brand
|
|
44
45
|
created_at: String
|
|
45
46
|
created_by_id: ID
|
|
46
47
|
deleted_at: String
|
|
47
48
|
id: ID
|
|
48
49
|
message: String
|
|
50
|
+
requestable: AccessRequestRequestable
|
|
49
51
|
requestable_id: ID
|
|
50
52
|
requestable_type: RequestableType
|
|
53
|
+
requester: User
|
|
51
54
|
requester_id: ID
|
|
52
55
|
requester_name: String
|
|
53
56
|
status: String
|
|
@@ -56,6 +59,8 @@ type AccessRequest {
|
|
|
56
59
|
updated_by_id: ID
|
|
57
60
|
}
|
|
58
61
|
|
|
62
|
+
union AccessRequestRequestable = Retailer | RetailerAccount
|
|
63
|
+
|
|
59
64
|
union Accessible = Division | Retailer | RetailerAccount
|
|
60
65
|
|
|
61
66
|
type ActionStat {
|
|
@@ -1626,13 +1631,26 @@ type CopyOption {
|
|
|
1626
1631
|
|
|
1627
1632
|
input CreateAccessInvitation {
|
|
1628
1633
|
accessible_id: ID!
|
|
1629
|
-
|
|
1634
|
+
accessible_type: String!
|
|
1635
|
+
name: String!
|
|
1636
|
+
recipient_email_address: String
|
|
1637
|
+
recipient_user_id: ID
|
|
1638
|
+
sender_email_address_id: String
|
|
1639
|
+
sender_user_id: ID
|
|
1630
1640
|
}
|
|
1631
1641
|
|
|
1632
1642
|
input CreateAccessInvitationParams {
|
|
1633
1643
|
access_invitation: CreateAccessInvitation!
|
|
1634
1644
|
}
|
|
1635
1645
|
|
|
1646
|
+
input CreateAccessRequestInput {
|
|
1647
|
+
message: String!
|
|
1648
|
+
requestable_id: ID!
|
|
1649
|
+
requestable_type: String!
|
|
1650
|
+
requester_id: ID!
|
|
1651
|
+
requester_name: String!
|
|
1652
|
+
}
|
|
1653
|
+
|
|
1636
1654
|
input CreateAdAccountParams {
|
|
1637
1655
|
ad_account_name: String
|
|
1638
1656
|
id: ID!
|
|
@@ -2878,6 +2896,12 @@ type FacebookShare {
|
|
|
2878
2896
|
updated_by_id: ID
|
|
2879
2897
|
}
|
|
2880
2898
|
|
|
2899
|
+
type FacebookTokenResponse {
|
|
2900
|
+
access_token: String
|
|
2901
|
+
expires_in: Int
|
|
2902
|
+
token_type: String
|
|
2903
|
+
}
|
|
2904
|
+
|
|
2881
2905
|
type FacebookUserAndRole {
|
|
2882
2906
|
id: ID
|
|
2883
2907
|
is_active: Boolean
|
|
@@ -3994,7 +4018,9 @@ type Mutation {
|
|
|
3994
4018
|
bulkUpdateRetailerData(brandId: String!, dryrun: Boolean, file: Upload!): UploadCsvResponse @deprecated(reason: "We want to remove all use cases were a File is required as input. Please use an alternative method.")
|
|
3995
4019
|
cancelContract(contractId: ID!, data: CancelContractData!): Contract
|
|
3996
4020
|
cancelPaymentIntent(id: ID!): Boolean
|
|
4021
|
+
closeAccessInvitation(id: ID!): ID!
|
|
3997
4022
|
createAccessInvitation(params: CreateAccessInvitationParams!): AccessInvitation
|
|
4023
|
+
createAccessRequest(access_request: CreateAccessRequestInput!, fields: [String!]): AccessRequest!
|
|
3998
4024
|
createAdAccount(params: CreateAdAccountParams!): AdAccount!
|
|
3999
4025
|
createAdAutomation(automation: CreateAdAutomationInput!): AdAutomation
|
|
4000
4026
|
createAdAutomations(params: [CreateAdAutomationsInput!]!): [AdAutomation!]
|
|
@@ -4062,6 +4088,7 @@ type Mutation {
|
|
|
4062
4088
|
deleteShare(shareId: ID!, shareType: ShareTypeParam): DeleteShareResponse!
|
|
4063
4089
|
deleteSsoConnection(id: ID!, user_id: ID!): String!
|
|
4064
4090
|
deleteTwitterAccount(id: ID!, resourceId: ID!, resourceType: String!): ID
|
|
4091
|
+
denyAccessRequest(id: ID!): ID!
|
|
4065
4092
|
disableRegistrationKey(id: ID!): RegistrationKey!
|
|
4066
4093
|
disproveContentRequest(campaign_request_id: ID!): ContentRequest!
|
|
4067
4094
|
duplicateCampaign(campaignId: ID!): ID
|
|
@@ -4070,6 +4097,7 @@ type Mutation {
|
|
|
4070
4097
|
exportLeads(params: LeadExportInput, resource_id: ID!, resource_type: String!): ID!
|
|
4071
4098
|
exportUsersForDivisionByBrand(brandId: ID!): ID!
|
|
4072
4099
|
extendJwt(jwt: String!): ExtendJwtResponse!
|
|
4100
|
+
grantAccessRequest(id: ID!): ID!
|
|
4073
4101
|
inviteRetailers(params: InviteRetailersParams!): ID
|
|
4074
4102
|
inviteRetailersAndPublishPaidAd(inviteParams: InviteRetailersParams!, publishParams: PublishPaidAdParams!): ID!
|
|
4075
4103
|
joinRetailer(brandId: ID!, linkId: ID!): Permission!
|
|
@@ -4108,6 +4136,7 @@ type Mutation {
|
|
|
4108
4136
|
rejectBrandRequest(brand_request: RejectBrandRequestBrandRequest, id: ID!): BrandRequest!
|
|
4109
4137
|
requestPasswordReset(email: String!, redirect_url: String!): String!
|
|
4110
4138
|
resendAccessInvitation(id: ID!): ID!
|
|
4139
|
+
resendAccessRequest(fields: [String!], id: ID!): AccessRequest!
|
|
4111
4140
|
resetInvitations(params: ResetInvitationsParams!): [Invitations!]!
|
|
4112
4141
|
|
|
4113
4142
|
"""Reset a transfer given an idempotency key"""
|
|
@@ -4432,6 +4461,8 @@ type Query {
|
|
|
4432
4461
|
bulkGetUsersByUuidAndBrandId(brand_id: ID!, strict_ordering: Boolean, uuids: [String!]!): BulkGetUsersByUuidAndBrandIdResponse!
|
|
4433
4462
|
getAccessInvitation(id: ID!, params: GetAccessInvitationParams): AccessInvitation
|
|
4434
4463
|
getAccessInvitations(params: GetAccessInvitationsParams, resourceId: ID!, resourceType: AccessInvitationResourceType!): GetAccessInvitationsResponse
|
|
4464
|
+
getAccessRequest(fields: [String!], id: ID!): AccessRequest!
|
|
4465
|
+
getAccessRequests(fields: [String!], resource_id: ID!, resource_type: String!): [AccessRequest!]!
|
|
4435
4466
|
getAd(params: AdParams!): AdCampaignData!
|
|
4436
4467
|
getAdAutomationsByBrandId(brandId: ID!): [AdAutomation!]!
|
|
4437
4468
|
getAdAutomationsByRetailerIds(brandId: ID, retailerIds: [ID!]!): [AdAutomation!]!
|
|
@@ -4604,6 +4635,7 @@ type Query {
|
|
|
4604
4635
|
"""Gets the specific stripe payment intent with the given ID"""
|
|
4605
4636
|
getStripePaymentIntents(typeId: ID!, walletType: String!): [StripePaymentIntent!]
|
|
4606
4637
|
getSupportedLocales: [String!]
|
|
4638
|
+
getTokenFromCode(code: String!): FacebookTokenResponse
|
|
4607
4639
|
getTwitterAccount(id: ID!, params: TwitterAccountParams): TwitterAccount!
|
|
4608
4640
|
getTwitterAccounts(params: TwitterAccountParams, resourceId: ID!, resourceType: String!): [TwitterAccount!]!
|
|
4609
4641
|
getUser(fields: [String!], id: ID!): User!
|