@promoboxx/graphql-gateway-types 1.716.0 → 1.718.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 +336 -0
- package/index.d.ts +35 -0
- package/package.json +1 -1
- package/schema.graphql +21 -0
package/graphql.schema.json
CHANGED
|
@@ -15680,6 +15680,216 @@
|
|
|
15680
15680
|
"enumValues": null,
|
|
15681
15681
|
"possibleTypes": null
|
|
15682
15682
|
},
|
|
15683
|
+
{
|
|
15684
|
+
"kind": "OBJECT",
|
|
15685
|
+
"name": "CommunicationOptOut",
|
|
15686
|
+
"description": null,
|
|
15687
|
+
"fields": [
|
|
15688
|
+
{
|
|
15689
|
+
"name": "channel",
|
|
15690
|
+
"description": null,
|
|
15691
|
+
"args": [],
|
|
15692
|
+
"type": {
|
|
15693
|
+
"kind": "NON_NULL",
|
|
15694
|
+
"name": null,
|
|
15695
|
+
"ofType": {
|
|
15696
|
+
"kind": "SCALAR",
|
|
15697
|
+
"name": "String",
|
|
15698
|
+
"ofType": null
|
|
15699
|
+
}
|
|
15700
|
+
},
|
|
15701
|
+
"isDeprecated": false,
|
|
15702
|
+
"deprecationReason": null
|
|
15703
|
+
},
|
|
15704
|
+
{
|
|
15705
|
+
"name": "communication_type",
|
|
15706
|
+
"description": null,
|
|
15707
|
+
"args": [],
|
|
15708
|
+
"type": {
|
|
15709
|
+
"kind": "NON_NULL",
|
|
15710
|
+
"name": null,
|
|
15711
|
+
"ofType": {
|
|
15712
|
+
"kind": "SCALAR",
|
|
15713
|
+
"name": "String",
|
|
15714
|
+
"ofType": null
|
|
15715
|
+
}
|
|
15716
|
+
},
|
|
15717
|
+
"isDeprecated": false,
|
|
15718
|
+
"deprecationReason": null
|
|
15719
|
+
},
|
|
15720
|
+
{
|
|
15721
|
+
"name": "created_at",
|
|
15722
|
+
"description": null,
|
|
15723
|
+
"args": [],
|
|
15724
|
+
"type": {
|
|
15725
|
+
"kind": "NON_NULL",
|
|
15726
|
+
"name": null,
|
|
15727
|
+
"ofType": {
|
|
15728
|
+
"kind": "SCALAR",
|
|
15729
|
+
"name": "String",
|
|
15730
|
+
"ofType": null
|
|
15731
|
+
}
|
|
15732
|
+
},
|
|
15733
|
+
"isDeprecated": false,
|
|
15734
|
+
"deprecationReason": null
|
|
15735
|
+
},
|
|
15736
|
+
{
|
|
15737
|
+
"name": "id",
|
|
15738
|
+
"description": null,
|
|
15739
|
+
"args": [],
|
|
15740
|
+
"type": {
|
|
15741
|
+
"kind": "NON_NULL",
|
|
15742
|
+
"name": null,
|
|
15743
|
+
"ofType": {
|
|
15744
|
+
"kind": "SCALAR",
|
|
15745
|
+
"name": "ID",
|
|
15746
|
+
"ofType": null
|
|
15747
|
+
}
|
|
15748
|
+
},
|
|
15749
|
+
"isDeprecated": false,
|
|
15750
|
+
"deprecationReason": null
|
|
15751
|
+
},
|
|
15752
|
+
{
|
|
15753
|
+
"name": "reference_id",
|
|
15754
|
+
"description": null,
|
|
15755
|
+
"args": [],
|
|
15756
|
+
"type": {
|
|
15757
|
+
"kind": "SCALAR",
|
|
15758
|
+
"name": "ID",
|
|
15759
|
+
"ofType": null
|
|
15760
|
+
},
|
|
15761
|
+
"isDeprecated": false,
|
|
15762
|
+
"deprecationReason": null
|
|
15763
|
+
},
|
|
15764
|
+
{
|
|
15765
|
+
"name": "reference_type",
|
|
15766
|
+
"description": null,
|
|
15767
|
+
"args": [],
|
|
15768
|
+
"type": {
|
|
15769
|
+
"kind": "SCALAR",
|
|
15770
|
+
"name": "String",
|
|
15771
|
+
"ofType": null
|
|
15772
|
+
},
|
|
15773
|
+
"isDeprecated": false,
|
|
15774
|
+
"deprecationReason": null
|
|
15775
|
+
},
|
|
15776
|
+
{
|
|
15777
|
+
"name": "updated_at",
|
|
15778
|
+
"description": null,
|
|
15779
|
+
"args": [],
|
|
15780
|
+
"type": {
|
|
15781
|
+
"kind": "NON_NULL",
|
|
15782
|
+
"name": null,
|
|
15783
|
+
"ofType": {
|
|
15784
|
+
"kind": "SCALAR",
|
|
15785
|
+
"name": "String",
|
|
15786
|
+
"ofType": null
|
|
15787
|
+
}
|
|
15788
|
+
},
|
|
15789
|
+
"isDeprecated": false,
|
|
15790
|
+
"deprecationReason": null
|
|
15791
|
+
},
|
|
15792
|
+
{
|
|
15793
|
+
"name": "user",
|
|
15794
|
+
"description": null,
|
|
15795
|
+
"args": [],
|
|
15796
|
+
"type": {
|
|
15797
|
+
"kind": "OBJECT",
|
|
15798
|
+
"name": "User",
|
|
15799
|
+
"ofType": null
|
|
15800
|
+
},
|
|
15801
|
+
"isDeprecated": false,
|
|
15802
|
+
"deprecationReason": null
|
|
15803
|
+
},
|
|
15804
|
+
{
|
|
15805
|
+
"name": "user_id",
|
|
15806
|
+
"description": null,
|
|
15807
|
+
"args": [],
|
|
15808
|
+
"type": {
|
|
15809
|
+
"kind": "NON_NULL",
|
|
15810
|
+
"name": null,
|
|
15811
|
+
"ofType": {
|
|
15812
|
+
"kind": "SCALAR",
|
|
15813
|
+
"name": "ID",
|
|
15814
|
+
"ofType": null
|
|
15815
|
+
}
|
|
15816
|
+
},
|
|
15817
|
+
"isDeprecated": false,
|
|
15818
|
+
"deprecationReason": null
|
|
15819
|
+
}
|
|
15820
|
+
],
|
|
15821
|
+
"inputFields": null,
|
|
15822
|
+
"interfaces": [],
|
|
15823
|
+
"enumValues": null,
|
|
15824
|
+
"possibleTypes": null
|
|
15825
|
+
},
|
|
15826
|
+
{
|
|
15827
|
+
"kind": "INPUT_OBJECT",
|
|
15828
|
+
"name": "CommunicationOptOutInput",
|
|
15829
|
+
"description": null,
|
|
15830
|
+
"fields": null,
|
|
15831
|
+
"inputFields": [
|
|
15832
|
+
{
|
|
15833
|
+
"name": "channel",
|
|
15834
|
+
"description": null,
|
|
15835
|
+
"type": {
|
|
15836
|
+
"kind": "NON_NULL",
|
|
15837
|
+
"name": null,
|
|
15838
|
+
"ofType": {
|
|
15839
|
+
"kind": "SCALAR",
|
|
15840
|
+
"name": "String",
|
|
15841
|
+
"ofType": null
|
|
15842
|
+
}
|
|
15843
|
+
},
|
|
15844
|
+
"defaultValue": null,
|
|
15845
|
+
"isDeprecated": false,
|
|
15846
|
+
"deprecationReason": null
|
|
15847
|
+
},
|
|
15848
|
+
{
|
|
15849
|
+
"name": "communication_type",
|
|
15850
|
+
"description": null,
|
|
15851
|
+
"type": {
|
|
15852
|
+
"kind": "NON_NULL",
|
|
15853
|
+
"name": null,
|
|
15854
|
+
"ofType": {
|
|
15855
|
+
"kind": "SCALAR",
|
|
15856
|
+
"name": "String",
|
|
15857
|
+
"ofType": null
|
|
15858
|
+
}
|
|
15859
|
+
},
|
|
15860
|
+
"defaultValue": null,
|
|
15861
|
+
"isDeprecated": false,
|
|
15862
|
+
"deprecationReason": null
|
|
15863
|
+
},
|
|
15864
|
+
{
|
|
15865
|
+
"name": "reference_id",
|
|
15866
|
+
"description": null,
|
|
15867
|
+
"type": {
|
|
15868
|
+
"kind": "SCALAR",
|
|
15869
|
+
"name": "ID",
|
|
15870
|
+
"ofType": null
|
|
15871
|
+
},
|
|
15872
|
+
"defaultValue": null,
|
|
15873
|
+
"isDeprecated": false,
|
|
15874
|
+
"deprecationReason": null
|
|
15875
|
+
},
|
|
15876
|
+
{
|
|
15877
|
+
"name": "reference_type",
|
|
15878
|
+
"description": null,
|
|
15879
|
+
"type": {
|
|
15880
|
+
"kind": "SCALAR",
|
|
15881
|
+
"name": "String",
|
|
15882
|
+
"ofType": null
|
|
15883
|
+
},
|
|
15884
|
+
"defaultValue": null,
|
|
15885
|
+
"isDeprecated": false,
|
|
15886
|
+
"deprecationReason": null
|
|
15887
|
+
}
|
|
15888
|
+
],
|
|
15889
|
+
"interfaces": null,
|
|
15890
|
+
"enumValues": null,
|
|
15891
|
+
"possibleTypes": null
|
|
15892
|
+
},
|
|
15683
15893
|
{
|
|
15684
15894
|
"kind": "OBJECT",
|
|
15685
15895
|
"name": "CommunicationPool",
|
|
@@ -54331,6 +54541,71 @@
|
|
|
54331
54541
|
"isDeprecated": false,
|
|
54332
54542
|
"deprecationReason": null
|
|
54333
54543
|
},
|
|
54544
|
+
{
|
|
54545
|
+
"name": "setCommunicationOptOutCollections",
|
|
54546
|
+
"description": null,
|
|
54547
|
+
"args": [
|
|
54548
|
+
{
|
|
54549
|
+
"name": "opt_outs",
|
|
54550
|
+
"description": null,
|
|
54551
|
+
"type": {
|
|
54552
|
+
"kind": "NON_NULL",
|
|
54553
|
+
"name": null,
|
|
54554
|
+
"ofType": {
|
|
54555
|
+
"kind": "LIST",
|
|
54556
|
+
"name": null,
|
|
54557
|
+
"ofType": {
|
|
54558
|
+
"kind": "NON_NULL",
|
|
54559
|
+
"name": null,
|
|
54560
|
+
"ofType": {
|
|
54561
|
+
"kind": "INPUT_OBJECT",
|
|
54562
|
+
"name": "CommunicationOptOutInput",
|
|
54563
|
+
"ofType": null
|
|
54564
|
+
}
|
|
54565
|
+
}
|
|
54566
|
+
}
|
|
54567
|
+
},
|
|
54568
|
+
"defaultValue": null,
|
|
54569
|
+
"isDeprecated": false,
|
|
54570
|
+
"deprecationReason": null
|
|
54571
|
+
},
|
|
54572
|
+
{
|
|
54573
|
+
"name": "user_id",
|
|
54574
|
+
"description": null,
|
|
54575
|
+
"type": {
|
|
54576
|
+
"kind": "NON_NULL",
|
|
54577
|
+
"name": null,
|
|
54578
|
+
"ofType": {
|
|
54579
|
+
"kind": "SCALAR",
|
|
54580
|
+
"name": "ID",
|
|
54581
|
+
"ofType": null
|
|
54582
|
+
}
|
|
54583
|
+
},
|
|
54584
|
+
"defaultValue": null,
|
|
54585
|
+
"isDeprecated": false,
|
|
54586
|
+
"deprecationReason": null
|
|
54587
|
+
}
|
|
54588
|
+
],
|
|
54589
|
+
"type": {
|
|
54590
|
+
"kind": "NON_NULL",
|
|
54591
|
+
"name": null,
|
|
54592
|
+
"ofType": {
|
|
54593
|
+
"kind": "LIST",
|
|
54594
|
+
"name": null,
|
|
54595
|
+
"ofType": {
|
|
54596
|
+
"kind": "NON_NULL",
|
|
54597
|
+
"name": null,
|
|
54598
|
+
"ofType": {
|
|
54599
|
+
"kind": "OBJECT",
|
|
54600
|
+
"name": "CommunicationOptOut",
|
|
54601
|
+
"ofType": null
|
|
54602
|
+
}
|
|
54603
|
+
}
|
|
54604
|
+
}
|
|
54605
|
+
},
|
|
54606
|
+
"isDeprecated": false,
|
|
54607
|
+
"deprecationReason": null
|
|
54608
|
+
},
|
|
54334
54609
|
{
|
|
54335
54610
|
"name": "signIn",
|
|
54336
54611
|
"description": null,
|
|
@@ -67019,6 +67294,67 @@
|
|
|
67019
67294
|
"isDeprecated": false,
|
|
67020
67295
|
"deprecationReason": null
|
|
67021
67296
|
},
|
|
67297
|
+
{
|
|
67298
|
+
"name": "getCommunicationOptOuts",
|
|
67299
|
+
"description": null,
|
|
67300
|
+
"args": [
|
|
67301
|
+
{
|
|
67302
|
+
"name": "fields",
|
|
67303
|
+
"description": null,
|
|
67304
|
+
"type": {
|
|
67305
|
+
"kind": "LIST",
|
|
67306
|
+
"name": null,
|
|
67307
|
+
"ofType": {
|
|
67308
|
+
"kind": "NON_NULL",
|
|
67309
|
+
"name": null,
|
|
67310
|
+
"ofType": {
|
|
67311
|
+
"kind": "SCALAR",
|
|
67312
|
+
"name": "String",
|
|
67313
|
+
"ofType": null
|
|
67314
|
+
}
|
|
67315
|
+
}
|
|
67316
|
+
},
|
|
67317
|
+
"defaultValue": null,
|
|
67318
|
+
"isDeprecated": false,
|
|
67319
|
+
"deprecationReason": null
|
|
67320
|
+
},
|
|
67321
|
+
{
|
|
67322
|
+
"name": "user_id",
|
|
67323
|
+
"description": null,
|
|
67324
|
+
"type": {
|
|
67325
|
+
"kind": "NON_NULL",
|
|
67326
|
+
"name": null,
|
|
67327
|
+
"ofType": {
|
|
67328
|
+
"kind": "SCALAR",
|
|
67329
|
+
"name": "ID",
|
|
67330
|
+
"ofType": null
|
|
67331
|
+
}
|
|
67332
|
+
},
|
|
67333
|
+
"defaultValue": null,
|
|
67334
|
+
"isDeprecated": false,
|
|
67335
|
+
"deprecationReason": null
|
|
67336
|
+
}
|
|
67337
|
+
],
|
|
67338
|
+
"type": {
|
|
67339
|
+
"kind": "NON_NULL",
|
|
67340
|
+
"name": null,
|
|
67341
|
+
"ofType": {
|
|
67342
|
+
"kind": "LIST",
|
|
67343
|
+
"name": null,
|
|
67344
|
+
"ofType": {
|
|
67345
|
+
"kind": "NON_NULL",
|
|
67346
|
+
"name": null,
|
|
67347
|
+
"ofType": {
|
|
67348
|
+
"kind": "OBJECT",
|
|
67349
|
+
"name": "CommunicationOptOut",
|
|
67350
|
+
"ofType": null
|
|
67351
|
+
}
|
|
67352
|
+
}
|
|
67353
|
+
}
|
|
67354
|
+
},
|
|
67355
|
+
"isDeprecated": false,
|
|
67356
|
+
"deprecationReason": null
|
|
67357
|
+
},
|
|
67022
67358
|
{
|
|
67023
67359
|
"name": "getCommunications",
|
|
67024
67360
|
"description": null,
|
package/index.d.ts
CHANGED
|
@@ -1699,6 +1699,26 @@ export type CommunicationCounts = {
|
|
|
1699
1699
|
scheduled?: Maybe<Scalars['Int']['output']>;
|
|
1700
1700
|
};
|
|
1701
1701
|
|
|
1702
|
+
export type CommunicationOptOut = {
|
|
1703
|
+
__typename?: 'CommunicationOptOut';
|
|
1704
|
+
channel: Scalars['String']['output'];
|
|
1705
|
+
communication_type: Scalars['String']['output'];
|
|
1706
|
+
created_at: Scalars['String']['output'];
|
|
1707
|
+
id: Scalars['ID']['output'];
|
|
1708
|
+
reference_id?: Maybe<Scalars['ID']['output']>;
|
|
1709
|
+
reference_type?: Maybe<Scalars['String']['output']>;
|
|
1710
|
+
updated_at: Scalars['String']['output'];
|
|
1711
|
+
user?: Maybe<User>;
|
|
1712
|
+
user_id: Scalars['ID']['output'];
|
|
1713
|
+
};
|
|
1714
|
+
|
|
1715
|
+
export type CommunicationOptOutInput = {
|
|
1716
|
+
channel: Scalars['String']['input'];
|
|
1717
|
+
communication_type: Scalars['String']['input'];
|
|
1718
|
+
reference_id?: InputMaybe<Scalars['ID']['input']>;
|
|
1719
|
+
reference_type?: InputMaybe<Scalars['String']['input']>;
|
|
1720
|
+
};
|
|
1721
|
+
|
|
1702
1722
|
export type CommunicationPool = {
|
|
1703
1723
|
__typename?: 'CommunicationPool';
|
|
1704
1724
|
communication_id: Scalars['ID']['output'];
|
|
@@ -5263,6 +5283,7 @@ export type Mutation = {
|
|
|
5263
5283
|
revokeBrandRequest: BrandRequest;
|
|
5264
5284
|
setAccountFacebookPage?: Maybe<Scalars['ID']['output']>;
|
|
5265
5285
|
setAccountFacebookPages?: Maybe<Array<Scalars['ID']['output']>>;
|
|
5286
|
+
setCommunicationOptOutCollections: Array<CommunicationOptOut>;
|
|
5266
5287
|
signIn?: Maybe<SignInResponse>;
|
|
5267
5288
|
ssoAuth0Login: SsoLoginResponse;
|
|
5268
5289
|
submitAISummarizeAsset: Scalars['String']['output'];
|
|
@@ -6964,6 +6985,13 @@ export type MutationSetAccountFacebookPagesArgs = {
|
|
|
6964
6985
|
};
|
|
6965
6986
|
|
|
6966
6987
|
|
|
6988
|
+
/** mutation root */
|
|
6989
|
+
export type MutationSetCommunicationOptOutCollectionsArgs = {
|
|
6990
|
+
opt_outs: Array<CommunicationOptOutInput>;
|
|
6991
|
+
user_id: Scalars['ID']['input'];
|
|
6992
|
+
};
|
|
6993
|
+
|
|
6994
|
+
|
|
6967
6995
|
/** mutation root */
|
|
6968
6996
|
export type MutationSignInArgs = {
|
|
6969
6997
|
email: Scalars['String']['input'];
|
|
@@ -8185,6 +8213,7 @@ export type Query = {
|
|
|
8185
8213
|
getCollection?: Maybe<Collection>;
|
|
8186
8214
|
getCollections: Array<Collection>;
|
|
8187
8215
|
getCommunicationAutomation?: Maybe<CommunicationAutomation>;
|
|
8216
|
+
getCommunicationOptOuts: Array<CommunicationOptOut>;
|
|
8188
8217
|
getCommunications: Array<Communication>;
|
|
8189
8218
|
getContentDiscovery?: Maybe<GetContentDiscoveryResponse>;
|
|
8190
8219
|
getContentRequest?: Maybe<ContentRequest>;
|
|
@@ -8913,6 +8942,12 @@ export type QueryGetCommunicationAutomationArgs = {
|
|
|
8913
8942
|
};
|
|
8914
8943
|
|
|
8915
8944
|
|
|
8945
|
+
export type QueryGetCommunicationOptOutsArgs = {
|
|
8946
|
+
fields?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
8947
|
+
user_id: Scalars['ID']['input'];
|
|
8948
|
+
};
|
|
8949
|
+
|
|
8950
|
+
|
|
8916
8951
|
export type QueryGetCommunicationsArgs = {
|
|
8917
8952
|
campaign_id: Scalars['ID']['input'];
|
|
8918
8953
|
fields?: InputMaybe<Array<Scalars['String']['input']>>;
|
package/package.json
CHANGED
package/schema.graphql
CHANGED
|
@@ -1618,6 +1618,25 @@ type CommunicationCounts {
|
|
|
1618
1618
|
scheduled: Int
|
|
1619
1619
|
}
|
|
1620
1620
|
|
|
1621
|
+
type CommunicationOptOut {
|
|
1622
|
+
channel: String!
|
|
1623
|
+
communication_type: String!
|
|
1624
|
+
created_at: String!
|
|
1625
|
+
id: ID!
|
|
1626
|
+
reference_id: ID
|
|
1627
|
+
reference_type: String
|
|
1628
|
+
updated_at: String!
|
|
1629
|
+
user: User
|
|
1630
|
+
user_id: ID!
|
|
1631
|
+
}
|
|
1632
|
+
|
|
1633
|
+
input CommunicationOptOutInput {
|
|
1634
|
+
channel: String!
|
|
1635
|
+
communication_type: String!
|
|
1636
|
+
reference_id: ID
|
|
1637
|
+
reference_type: String
|
|
1638
|
+
}
|
|
1639
|
+
|
|
1621
1640
|
type CommunicationPool {
|
|
1622
1641
|
communication_id: ID!
|
|
1623
1642
|
created_at: String!
|
|
@@ -5635,6 +5654,7 @@ type Mutation {
|
|
|
5635
5654
|
revokeBrandRequest(id: ID!): BrandRequest!
|
|
5636
5655
|
setAccountFacebookPage(accountId: ID!, id: ID!): ID
|
|
5637
5656
|
setAccountFacebookPages(params: [SetAccountFacebookPagesInput!]!): [ID!]
|
|
5657
|
+
setCommunicationOptOutCollections(opt_outs: [CommunicationOptOutInput!]!, user_id: ID!): [CommunicationOptOut!]!
|
|
5638
5658
|
signIn(email: String!, password: String!): SignInResponse
|
|
5639
5659
|
ssoAuth0Login(auth0_auth_code: String!, auth0_connection_type: String!, brand_slug: String!, redirect_uri: String!): SsoLoginResponse!
|
|
5640
5660
|
submitAISummarizeAsset(content_discovery_item_id: Int, digital_asset_id: Int, url: String!): String!
|
|
@@ -7461,6 +7481,7 @@ type Query {
|
|
|
7461
7481
|
getCollection(id: ID!, params: GetCollectionParams): Collection
|
|
7462
7482
|
getCollections(params: GetCollectionsParams, resourceId: ID!, resourceType: CollectionsResourceType!): [Collection!]!
|
|
7463
7483
|
getCommunicationAutomation(fields: [String!], id: ID!): CommunicationAutomation
|
|
7484
|
+
getCommunicationOptOuts(fields: [String!], user_id: ID!): [CommunicationOptOut!]!
|
|
7464
7485
|
getCommunications(campaign_id: ID!, fields: [String!]): [Communication!]!
|
|
7465
7486
|
getContentDiscovery(params: ContentDiscoveryParams, resourceId: ID!, resourceType: String!): GetContentDiscoveryResponse
|
|
7466
7487
|
getContentRequest(campaign_request_id: ID!, fields: [String!]): ContentRequest
|