@promoboxx/graphql-gateway-types 1.671.0 → 1.672.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.
@@ -12608,6 +12608,26 @@
12608
12608
  "isDeprecated": false,
12609
12609
  "deprecationReason": null
12610
12610
  },
12611
+ {
12612
+ "name": "discovered_content_hash",
12613
+ "description": null,
12614
+ "type": {
12615
+ "kind": "LIST",
12616
+ "name": null,
12617
+ "ofType": {
12618
+ "kind": "NON_NULL",
12619
+ "name": null,
12620
+ "ofType": {
12621
+ "kind": "SCALAR",
12622
+ "name": "String",
12623
+ "ofType": null
12624
+ }
12625
+ }
12626
+ },
12627
+ "defaultValue": null,
12628
+ "isDeprecated": false,
12629
+ "deprecationReason": null
12630
+ },
12611
12631
  {
12612
12632
  "name": "leads_enabled",
12613
12633
  "description": null,
@@ -15925,6 +15945,59 @@
15925
15945
  "isDeprecated": false,
15926
15946
  "deprecationReason": null
15927
15947
  },
15948
+ {
15949
+ "name": "campaigns",
15950
+ "description": null,
15951
+ "args": [
15952
+ {
15953
+ "name": "resource_id",
15954
+ "description": null,
15955
+ "type": {
15956
+ "kind": "NON_NULL",
15957
+ "name": null,
15958
+ "ofType": {
15959
+ "kind": "SCALAR",
15960
+ "name": "ID",
15961
+ "ofType": null
15962
+ }
15963
+ },
15964
+ "defaultValue": null,
15965
+ "isDeprecated": false,
15966
+ "deprecationReason": null
15967
+ },
15968
+ {
15969
+ "name": "resource_type",
15970
+ "description": null,
15971
+ "type": {
15972
+ "kind": "NON_NULL",
15973
+ "name": null,
15974
+ "ofType": {
15975
+ "kind": "SCALAR",
15976
+ "name": "String",
15977
+ "ofType": null
15978
+ }
15979
+ },
15980
+ "defaultValue": null,
15981
+ "isDeprecated": false,
15982
+ "deprecationReason": null
15983
+ }
15984
+ ],
15985
+ "type": {
15986
+ "kind": "LIST",
15987
+ "name": null,
15988
+ "ofType": {
15989
+ "kind": "NON_NULL",
15990
+ "name": null,
15991
+ "ofType": {
15992
+ "kind": "OBJECT",
15993
+ "name": "Campaign",
15994
+ "ofType": null
15995
+ }
15996
+ }
15997
+ },
15998
+ "isDeprecated": false,
15999
+ "deprecationReason": null
16000
+ },
15928
16001
  {
15929
16002
  "name": "channel_source",
15930
16003
  "description": null,
package/index.d.ts CHANGED
@@ -1369,6 +1369,7 @@ export type CampaignDescriptions = {
1369
1369
  export type CampaignFilterParams = {
1370
1370
  all_tags?: InputMaybe<Array<Scalars['String']['input']>>;
1371
1371
  any_tags?: InputMaybe<Array<Scalars['String']['input']>>;
1372
+ discovered_content_hash?: InputMaybe<Array<Scalars['String']['input']>>;
1372
1373
  leads_enabled?: InputMaybe<Scalars['Boolean']['input']>;
1373
1374
  search?: InputMaybe<Scalars['String']['input']>;
1374
1375
  share_actions?: InputMaybe<Array<CampaignShareActionsFilter>>;
@@ -1732,6 +1733,7 @@ export type ContentDiscovery = {
1732
1733
  __typename?: 'ContentDiscovery';
1733
1734
  brand?: Maybe<Brand>;
1734
1735
  brand_id?: Maybe<Scalars['ID']['output']>;
1736
+ campaigns?: Maybe<Array<Campaign>>;
1735
1737
  channel_source?: Maybe<Scalars['String']['output']>;
1736
1738
  channel_type?: Maybe<Scalars['String']['output']>;
1737
1739
  content_created_at?: Maybe<Scalars['String']['output']>;
@@ -1750,6 +1752,12 @@ export type ContentDiscovery = {
1750
1752
  video_url?: Maybe<Scalars['String']['output']>;
1751
1753
  };
1752
1754
 
1755
+
1756
+ export type ContentDiscoveryCampaignsArgs = {
1757
+ resource_id: Scalars['ID']['input'];
1758
+ resource_type: Scalars['String']['input'];
1759
+ };
1760
+
1753
1761
  export type ContentDiscoveryFilterHash = {
1754
1762
  channel_type?: InputMaybe<Array<Scalars['String']['input']>>;
1755
1763
  enabled?: InputMaybe<Array<Scalars['Int']['input']>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promoboxx/graphql-gateway-types",
3
- "version": "1.671.0",
3
+ "version": "1.672.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/schema.graphql CHANGED
@@ -1294,6 +1294,7 @@ type CampaignDescriptions {
1294
1294
  input CampaignFilterParams {
1295
1295
  all_tags: [String!]
1296
1296
  any_tags: [String!]
1297
+ discovered_content_hash: [String!]
1297
1298
  leads_enabled: Boolean
1298
1299
  search: String
1299
1300
  share_actions: [CampaignShareActionsFilter!]
@@ -1646,6 +1647,7 @@ type ConsumerImpressions {
1646
1647
  type ContentDiscovery {
1647
1648
  brand: Brand
1648
1649
  brand_id: ID
1650
+ campaigns(resource_id: ID!, resource_type: String!): [Campaign!]
1649
1651
  channel_source: String
1650
1652
  channel_type: String
1651
1653
  content_created_at: String