@promoboxx/graphql-gateway-types 1.757.0 → 1.758.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.
@@ -2104,6 +2104,97 @@
2104
2104
  ],
2105
2105
  "possibleTypes": null
2106
2106
  },
2107
+ {
2108
+ "kind": "OBJECT",
2109
+ "name": "AdCampaignChannel",
2110
+ "description": null,
2111
+ "fields": [
2112
+ {
2113
+ "name": "campaign_id",
2114
+ "description": null,
2115
+ "args": [],
2116
+ "type": {
2117
+ "kind": "NON_NULL",
2118
+ "name": null,
2119
+ "ofType": {
2120
+ "kind": "SCALAR",
2121
+ "name": "ID",
2122
+ "ofType": null
2123
+ }
2124
+ },
2125
+ "isDeprecated": false,
2126
+ "deprecationReason": null
2127
+ },
2128
+ {
2129
+ "name": "channel",
2130
+ "description": null,
2131
+ "args": [],
2132
+ "type": {
2133
+ "kind": "NON_NULL",
2134
+ "name": null,
2135
+ "ofType": {
2136
+ "kind": "SCALAR",
2137
+ "name": "String",
2138
+ "ofType": null
2139
+ }
2140
+ },
2141
+ "isDeprecated": false,
2142
+ "deprecationReason": null
2143
+ },
2144
+ {
2145
+ "name": "channel_campaign_id",
2146
+ "description": null,
2147
+ "args": [],
2148
+ "type": {
2149
+ "kind": "NON_NULL",
2150
+ "name": null,
2151
+ "ofType": {
2152
+ "kind": "SCALAR",
2153
+ "name": "ID",
2154
+ "ofType": null
2155
+ }
2156
+ },
2157
+ "isDeprecated": false,
2158
+ "deprecationReason": null
2159
+ },
2160
+ {
2161
+ "name": "created_at",
2162
+ "description": null,
2163
+ "args": [],
2164
+ "type": {
2165
+ "kind": "NON_NULL",
2166
+ "name": null,
2167
+ "ofType": {
2168
+ "kind": "SCALAR",
2169
+ "name": "String",
2170
+ "ofType": null
2171
+ }
2172
+ },
2173
+ "isDeprecated": false,
2174
+ "deprecationReason": null
2175
+ },
2176
+ {
2177
+ "name": "id",
2178
+ "description": null,
2179
+ "args": [],
2180
+ "type": {
2181
+ "kind": "NON_NULL",
2182
+ "name": null,
2183
+ "ofType": {
2184
+ "kind": "SCALAR",
2185
+ "name": "ID",
2186
+ "ofType": null
2187
+ }
2188
+ },
2189
+ "isDeprecated": false,
2190
+ "deprecationReason": null
2191
+ }
2192
+ ],
2193
+ "inputFields": null,
2194
+ "interfaces": [],
2195
+ "enumValues": null,
2196
+ "possibleTypes": null
2197
+ },
2107
2198
  {
2108
2199
  "kind": "OBJECT",
2109
2200
  "name": "AdCampaignData",
@@ -17744,6 +17835,244 @@
17744
17835
  "enumValues": null,
17745
17836
  "possibleTypes": null
17746
17837
  },
17838
+ {
17839
+ "kind": "INPUT_OBJECT",
17840
+ "name": "CreateAdCampaignInput",
17841
+ "description": null,
17842
+ "fields": null,
17843
+ "inputFields": [
17844
+ {
17845
+ "name": "automated",
17846
+ "description": null,
17847
+ "type": {
17848
+ "kind": "NON_NULL",
17849
+ "name": null,
17850
+ "ofType": {
17851
+ "kind": "SCALAR",
17852
+ "name": "Boolean",
17853
+ "ofType": null
17854
+ }
17855
+ },
17856
+ "defaultValue": null,
17857
+ "isDeprecated": false,
17858
+ "deprecationReason": null
17859
+ },
17860
+ {
17861
+ "name": "brand_id",
17862
+ "description": null,
17863
+ "type": {
17864
+ "kind": "NON_NULL",
17865
+ "name": null,
17866
+ "ofType": {
17867
+ "kind": "SCALAR",
17868
+ "name": "ID",
17869
+ "ofType": null
17870
+ }
17871
+ },
17872
+ "defaultValue": null,
17873
+ "isDeprecated": false,
17874
+ "deprecationReason": null
17875
+ },
17876
+ {
17877
+ "name": "channels",
17878
+ "description": null,
17879
+ "type": {
17880
+ "kind": "LIST",
17881
+ "name": null,
17882
+ "ofType": {
17883
+ "kind": "NON_NULL",
17884
+ "name": null,
17885
+ "ofType": {
17886
+ "kind": "SCALAR",
17887
+ "name": "String",
17888
+ "ofType": null
17889
+ }
17890
+ }
17891
+ },
17892
+ "defaultValue": null,
17893
+ "isDeprecated": false,
17894
+ "deprecationReason": null
17895
+ },
17896
+ {
17897
+ "name": "ends_at",
17898
+ "description": null,
17899
+ "type": {
17900
+ "kind": "NON_NULL",
17901
+ "name": null,
17902
+ "ofType": {
17903
+ "kind": "SCALAR",
17904
+ "name": "String",
17905
+ "ofType": null
17906
+ }
17907
+ },
17908
+ "defaultValue": null,
17909
+ "isDeprecated": false,
17910
+ "deprecationReason": null
17911
+ },
17912
+ {
17913
+ "name": "fb_ad_account_id",
17914
+ "description": null,
17915
+ "type": {
17916
+ "kind": "NON_NULL",
17917
+ "name": null,
17918
+ "ofType": {
17919
+ "kind": "SCALAR",
17920
+ "name": "ID",
17921
+ "ofType": null
17922
+ }
17923
+ },
17924
+ "defaultValue": null,
17925
+ "isDeprecated": false,
17926
+ "deprecationReason": null
17927
+ },
17928
+ {
17929
+ "name": "objective",
17930
+ "description": null,
17931
+ "type": {
17932
+ "kind": "SCALAR",
17933
+ "name": "String",
17934
+ "ofType": null
17935
+ },
17936
+ "defaultValue": null,
17937
+ "isDeprecated": false,
17938
+ "deprecationReason": null
17939
+ },
17940
+ {
17941
+ "name": "starts_at",
17942
+ "description": null,
17943
+ "type": {
17944
+ "kind": "NON_NULL",
17945
+ "name": null,
17946
+ "ofType": {
17947
+ "kind": "SCALAR",
17948
+ "name": "String",
17949
+ "ofType": null
17950
+ }
17951
+ },
17952
+ "defaultValue": null,
17953
+ "isDeprecated": false,
17954
+ "deprecationReason": null
17955
+ },
17956
+ {
17957
+ "name": "state",
17958
+ "description": null,
17959
+ "type": {
17960
+ "kind": "NON_NULL",
17961
+ "name": null,
17962
+ "ofType": {
17963
+ "kind": "SCALAR",
17964
+ "name": "String",
17965
+ "ofType": null
17966
+ }
17967
+ },
17968
+ "defaultValue": null,
17969
+ "isDeprecated": false,
17970
+ "deprecationReason": null
17971
+ },
17972
+ {
17973
+ "name": "thumbnail",
17974
+ "description": null,
17975
+ "type": {
17976
+ "kind": "NON_NULL",
17977
+ "name": null,
17978
+ "ofType": {
17979
+ "kind": "INPUT_OBJECT",
17980
+ "name": "Thumbnail",
17981
+ "ofType": null
17982
+ }
17983
+ },
17984
+ "defaultValue": null,
17985
+ "isDeprecated": false,
17986
+ "deprecationReason": null
17987
+ },
17988
+ {
17989
+ "name": "title",
17990
+ "description": null,
17991
+ "type": {
17992
+ "kind": "NON_NULL",
17993
+ "name": null,
17994
+ "ofType": {
17995
+ "kind": "SCALAR",
17996
+ "name": "String",
17997
+ "ofType": null
17998
+ }
17999
+ },
18000
+ "defaultValue": null,
18001
+ "isDeprecated": false,
18002
+ "deprecationReason": null
18003
+ },
18004
+ {
18005
+ "name": "type",
18006
+ "description": null,
18007
+ "type": {
18008
+ "kind": "NON_NULL",
18009
+ "name": null,
18010
+ "ofType": {
18011
+ "kind": "ENUM",
18012
+ "name": "AdCampaignType",
18013
+ "ofType": null
18014
+ }
18015
+ },
18016
+ "defaultValue": null,
18017
+ "isDeprecated": false,
18018
+ "deprecationReason": null
18019
+ }
18020
+ ],
18021
+ "interfaces": null,
18022
+ "enumValues": null,
18023
+ "possibleTypes": null
18024
+ },
18025
+ {
18026
+ "kind": "OBJECT",
18027
+ "name": "CreateAdCampaignResponse",
18028
+ "description": null,
18029
+ "fields": [
18030
+ {
18031
+ "name": "campaign_channels",
18032
+ "description": null,
18033
+ "args": [],
18034
+ "type": {
18035
+ "kind": "NON_NULL",
18036
+ "name": null,
18037
+ "ofType": {
18038
+ "kind": "LIST",
18039
+ "name": null,
18040
+ "ofType": {
18041
+ "kind": "NON_NULL",
18042
+ "name": null,
18043
+ "ofType": {
18044
+ "kind": "OBJECT",
18045
+ "name": "AdCampaignChannel",
18046
+ "ofType": null
18047
+ }
18048
+ }
18049
+ }
18050
+ },
18051
+ "isDeprecated": false,
18052
+ "deprecationReason": null
18053
+ },
18054
+ {
18055
+ "name": "campaign_id",
18056
+ "description": null,
18057
+ "args": [],
18058
+ "type": {
18059
+ "kind": "NON_NULL",
18060
+ "name": null,
18061
+ "ofType": {
18062
+ "kind": "SCALAR",
18063
+ "name": "ID",
18064
+ "ofType": null
18065
+ }
18066
+ },
18067
+ "isDeprecated": false,
18068
+ "deprecationReason": null
18069
+ }
18070
+ ],
18071
+ "inputFields": null,
18072
+ "interfaces": [],
18073
+ "enumValues": null,
18074
+ "possibleTypes": null
18075
+ },
17747
18076
  {
17748
18077
  "kind": "INPUT_OBJECT",
17749
18078
  "name": "CreateAutomationInput",
@@ -46657,6 +46986,35 @@
46657
46986
  "isDeprecated": false,
46658
46987
  "deprecationReason": null
46659
46988
  },
46989
+ {
46990
+ "name": "createAdCampaign",
46991
+ "description": null,
46992
+ "args": [
46993
+ {
46994
+ "name": "params",
46995
+ "description": null,
46996
+ "type": {
46997
+ "kind": "NON_NULL",
46998
+ "name": null,
46999
+ "ofType": {
47000
+ "kind": "INPUT_OBJECT",
47001
+ "name": "CreateAdCampaignInput",
47002
+ "ofType": null
47003
+ }
47004
+ },
47005
+ "defaultValue": null,
47006
+ "isDeprecated": false,
47007
+ "deprecationReason": null
47008
+ }
47009
+ ],
47010
+ "type": {
47011
+ "kind": "OBJECT",
47012
+ "name": "CreateAdCampaignResponse",
47013
+ "ofType": null
47014
+ },
47015
+ "isDeprecated": false,
47016
+ "deprecationReason": null
47017
+ },
46660
47018
  {
46661
47019
  "name": "createAutomation",
46662
47020
  "description": null,
package/index.d.ts CHANGED
@@ -244,6 +244,15 @@ export type AdAutomationState =
244
244
  | 'disabled'
245
245
  | 'enabled';
246
246
 
247
+ export type AdCampaignChannel = {
248
+ __typename?: 'AdCampaignChannel';
249
+ campaign_id: Scalars['ID']['output'];
250
+ channel: Scalars['String']['output'];
251
+ channel_campaign_id: Scalars['ID']['output'];
252
+ created_at: Scalars['String']['output'];
253
+ id: Scalars['ID']['output'];
254
+ };
255
+
247
256
  export type AdCampaignData = {
248
257
  __typename?: 'AdCampaignData';
249
258
  automated?: Maybe<Scalars['Boolean']['output']>;
@@ -1914,6 +1923,26 @@ export type CreateAdAutomationsInput = {
1914
1923
  automation: CreateAdAutomationInput;
1915
1924
  };
1916
1925
 
1926
+ export type CreateAdCampaignInput = {
1927
+ automated: Scalars['Boolean']['input'];
1928
+ brand_id: Scalars['ID']['input'];
1929
+ channels?: InputMaybe<Array<Scalars['String']['input']>>;
1930
+ ends_at: Scalars['String']['input'];
1931
+ fb_ad_account_id: Scalars['ID']['input'];
1932
+ objective?: InputMaybe<Scalars['String']['input']>;
1933
+ starts_at: Scalars['String']['input'];
1934
+ state: Scalars['String']['input'];
1935
+ thumbnail: Thumbnail;
1936
+ title: Scalars['String']['input'];
1937
+ type: AdCampaignType;
1938
+ };
1939
+
1940
+ export type CreateAdCampaignResponse = {
1941
+ __typename?: 'CreateAdCampaignResponse';
1942
+ campaign_channels: Array<AdCampaignChannel>;
1943
+ campaign_id: Scalars['ID']['output'];
1944
+ };
1945
+
1917
1946
  export type CreateAutomationInput = {
1918
1947
  automationableId?: InputMaybe<Scalars['ID']['input']>;
1919
1948
  automationableType?: InputMaybe<Scalars['String']['input']>;
@@ -4992,6 +5021,7 @@ export type Mutation = {
4992
5021
  createAdAccount: AdAccount;
4993
5022
  createAdAutomation?: Maybe<AdAutomation>;
4994
5023
  createAdAutomations?: Maybe<Array<AdAutomation>>;
5024
+ createAdCampaign?: Maybe<CreateAdCampaignResponse>;
4995
5025
  createAutomation?: Maybe<Automation>;
4996
5026
  createAutomations?: Maybe<Array<Automation>>;
4997
5027
  createBrandRequest: BrandRequest;
@@ -5692,6 +5722,12 @@ export type MutationCreateAdAutomationsArgs = {
5692
5722
  };
5693
5723
 
5694
5724
 
5725
+ /** mutation root */
5726
+ export type MutationCreateAdCampaignArgs = {
5727
+ params: CreateAdCampaignInput;
5728
+ };
5729
+
5730
+
5695
5731
  /** mutation root */
5696
5732
  export type MutationCreateAutomationArgs = {
5697
5733
  automation: CreateAutomationInput;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promoboxx/graphql-gateway-types",
3
- "version": "1.757.0",
3
+ "version": "1.758.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/schema.graphql CHANGED
@@ -217,6 +217,14 @@ enum AdAutomationState {
217
217
  enabled
218
218
  }
219
219
 
220
+ type AdCampaignChannel {
221
+ campaign_id: ID!
222
+ channel: String!
223
+ channel_campaign_id: ID!
224
+ created_at: String!
225
+ id: ID!
226
+ }
227
+
220
228
  type AdCampaignData {
221
229
  automated: Boolean
222
230
  brand: Brand
@@ -1817,6 +1825,25 @@ input CreateAdAutomationsInput {
1817
1825
  automation: CreateAdAutomationInput!
1818
1826
  }
1819
1827
 
1828
+ input CreateAdCampaignInput {
1829
+ automated: Boolean!
1830
+ brand_id: ID!
1831
+ channels: [String!]
1832
+ ends_at: String!
1833
+ fb_ad_account_id: ID!
1834
+ objective: String
1835
+ starts_at: String!
1836
+ state: String!
1837
+ thumbnail: Thumbnail!
1838
+ title: String!
1839
+ type: AdCampaignType!
1840
+ }
1841
+
1842
+ type CreateAdCampaignResponse {
1843
+ campaign_channels: [AdCampaignChannel!]!
1844
+ campaign_id: ID!
1845
+ }
1846
+
1820
1847
  input CreateAutomationInput {
1821
1848
  automationableId: ID
1822
1849
  automationableType: String
@@ -4787,6 +4814,7 @@ type Mutation {
4787
4814
  createAdAccount(params: CreateAdAccountParams!): AdAccount!
4788
4815
  createAdAutomation(automation: CreateAdAutomationInput!): AdAutomation
4789
4816
  createAdAutomations(params: [CreateAdAutomationsInput!]!): [AdAutomation!]
4817
+ createAdCampaign(params: CreateAdCampaignInput!): CreateAdCampaignResponse
4790
4818
  createAutomation(automation: CreateAutomationInput!, retailerId: ID!): Automation
4791
4819
  createAutomations(params: [CreateAutomationsInput!]!): [Automation!]
4792
4820
  createBrandRequest(brand_request: CreateBrandRequestBrandRequest!, fields: [String!]): BrandRequest!