@promoboxx/graphql-gateway-types 1.661.0 → 1.663.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/index.d.ts CHANGED
@@ -2970,6 +2970,287 @@ export type ExtendJwtResponse = {
2970
2970
  jwt: Scalars['String']['output'];
2971
2971
  };
2972
2972
 
2973
+ export type FbAdSvcAd = {
2974
+ __typename?: 'FBAdSvcAd';
2975
+ adCreativeTemplateID: Scalars['String']['output'];
2976
+ adSetTemplateID: Scalars['String']['output'];
2977
+ id: Scalars['ID']['output'];
2978
+ };
2979
+
2980
+ export type FbAdSvcAdCreative = {
2981
+ __typename?: 'FBAdSvcAdCreative';
2982
+ callToAction?: Maybe<FbAdSvcCallToActionTemplate>;
2983
+ childAttachments?: Maybe<Array<FbAdSvcChildAttachment>>;
2984
+ description: Scalars['String']['output'];
2985
+ link: FbAdSvcLink;
2986
+ media: FbAdSvcMedia;
2987
+ message: Scalars['String']['output'];
2988
+ multiShareEndCard?: Maybe<Scalars['Boolean']['output']>;
2989
+ multiShareOptimized?: Maybe<Scalars['Boolean']['output']>;
2990
+ name: Scalars['String']['output'];
2991
+ };
2992
+
2993
+ export type FbAdSvcAdCreativeTemplate = {
2994
+ __typename?: 'FBAdSvcAdCreativeTemplate';
2995
+ allowCallToActionOverride?: Maybe<Scalars['Boolean']['output']>;
2996
+ allowURLOverride?: Maybe<Scalars['Boolean']['output']>;
2997
+ brandID?: Maybe<Scalars['Int']['output']>;
2998
+ createdAt: Scalars['String']['output'];
2999
+ creative?: Maybe<FbAdSvcAdCreative>;
3000
+ creativeType?: Maybe<Scalars['String']['output']>;
3001
+ id: Scalars['ID']['output'];
3002
+ updatedAt: Scalars['String']['output'];
3003
+ };
3004
+
3005
+ export type FbAdSvcAdCreativeTemplateCustomization = {
3006
+ __typename?: 'FBAdSvcAdCreativeTemplateCustomization';
3007
+ adCreativeTemplateID: Scalars['String']['output'];
3008
+ callToActionOverride?: Maybe<Scalars['String']['output']>;
3009
+ childAttachments: Array<FbAdSvcFbAdSvcChildAttachmentCustomization>;
3010
+ urlOverride?: Maybe<Scalars['String']['output']>;
3011
+ };
3012
+
3013
+ export type FbAdSvcAdSetTemplate = {
3014
+ __typename?: 'FBAdSvcAdSetTemplate';
3015
+ channelCampaignID: Scalars['String']['output'];
3016
+ createdAt: Scalars['String']['output'];
3017
+ id: Scalars['ID']['output'];
3018
+ optimizationGoal: Scalars['String']['output'];
3019
+ targeting: FbAdSvcTargeting;
3020
+ updatedAt: Scalars['String']['output'];
3021
+ };
3022
+
3023
+ export type FbAdSvcAdSetTemplateCreateInput = {
3024
+ brandID: Scalars['ID']['input'];
3025
+ channelCampaignID?: InputMaybe<Scalars['String']['input']>;
3026
+ optimizationGoal?: InputMaybe<Scalars['String']['input']>;
3027
+ targeting: FbAdSvcTargetingInput;
3028
+ };
3029
+
3030
+ export type FbAdSvcAdSetTemplateUpdateInput = {
3031
+ optimizationGoal?: InputMaybe<Scalars['String']['input']>;
3032
+ targeting: FbAdSvcTargetingInput;
3033
+ };
3034
+
3035
+ export type FbAdSvcCallToActionTemplate = {
3036
+ __typename?: 'FBAdSvcCallToActionTemplate';
3037
+ ctaType: Scalars['String']['output'];
3038
+ link: FbAdSvcLink;
3039
+ };
3040
+
3041
+ export type FbAdSvcChannelCampaign = {
3042
+ __typename?: 'FBAdSvcChannelCampaign';
3043
+ adAccountID?: Maybe<Scalars['String']['output']>;
3044
+ adCreativeTemplates?: Maybe<Array<FbAdSvcAdCreativeTemplate>>;
3045
+ adSetTemplates?: Maybe<Array<FbAdSvcAdSetTemplate>>;
3046
+ ads: Array<FbAdSvcAd>;
3047
+ brandID: Scalars['Int']['output'];
3048
+ campaignChannelId: Scalars['ID']['output'];
3049
+ createdAt: Scalars['String']['output'];
3050
+ endsAt: Scalars['String']['output'];
3051
+ id: Scalars['ID']['output'];
3052
+ objective: Scalars['String']['output'];
3053
+ specialAdCategories: Array<Scalars['String']['output']>;
3054
+ startsAt: Scalars['String']['output'];
3055
+ state: Scalars['String']['output'];
3056
+ };
3057
+
3058
+ export type FbAdSvcChildAttachment = {
3059
+ __typename?: 'FBAdSvcChildAttachment';
3060
+ callToAction?: Maybe<FbAdSvcCallToActionTemplate>;
3061
+ description: Scalars['String']['output'];
3062
+ id: Scalars['ID']['output'];
3063
+ link: FbAdSvcLink;
3064
+ media: FbAdSvcMedia;
3065
+ name: Scalars['String']['output'];
3066
+ };
3067
+
3068
+ export type FbAdSvcCustomLocation = {
3069
+ __typename?: 'FBAdSvcCustomLocation';
3070
+ latitude: Scalars['Float']['output'];
3071
+ longitude: Scalars['Float']['output'];
3072
+ radius: Scalars['Float']['output'];
3073
+ };
3074
+
3075
+ export type FbAdSvcCustomizations = {
3076
+ __typename?: 'FBAdSvcCustomizations';
3077
+ adCreativeTemplates?: Maybe<Array<FbAdSvcAdCreativeTemplateCustomization>>;
3078
+ facebookPageId: Scalars['String']['output'];
3079
+ geoLocations?: Maybe<FbAdSvcGeoLocations>;
3080
+ };
3081
+
3082
+ export type FbAdSvcFbAdSvcChildAttachmentCustomization = {
3083
+ __typename?: 'FBAdSvcFBAdSvcChildAttachmentCustomization';
3084
+ callToActionOverride?: Maybe<Scalars['String']['output']>;
3085
+ childAttachmentID: Scalars['String']['output'];
3086
+ urlOverride?: Maybe<Scalars['String']['output']>;
3087
+ };
3088
+
3089
+ export type FbAdSvcFacebookPositions = {
3090
+ __typename?: 'FBAdSvcFacebookPositions';
3091
+ feed: Scalars['Boolean']['output'];
3092
+ story: Scalars['Boolean']['output'];
3093
+ };
3094
+
3095
+ export type FbAdSvcFacebookPositionsInput = {
3096
+ feed?: InputMaybe<Scalars['Boolean']['input']>;
3097
+ story?: InputMaybe<Scalars['Boolean']['input']>;
3098
+ };
3099
+
3100
+ export type FbAdSvcFundingSource = {
3101
+ __typename?: 'FBAdSvcFundingSource';
3102
+ amountCents: Scalars['String']['output'];
3103
+ entityId: Scalars['String']['output'];
3104
+ entityType: Scalars['String']['output'];
3105
+ ledgerType: Scalars['String']['output'];
3106
+ };
3107
+
3108
+ export type FbAdSvcGeoLocations = {
3109
+ __typename?: 'FBAdSvcGeoLocations';
3110
+ customLocations?: Maybe<Array<FbAdSvcCustomLocation>>;
3111
+ zips?: Maybe<Array<FbAdSvcZip>>;
3112
+ };
3113
+
3114
+ export type FbAdSvcImageCrop = {
3115
+ __typename?: 'FBAdSvcImageCrop';
3116
+ leftTop: Array<Scalars['Int']['output']>;
3117
+ rightBottom: Array<Scalars['Int']['output']>;
3118
+ };
3119
+
3120
+ export type FbAdSvcImageCrops = {
3121
+ __typename?: 'FBAdSvcImageCrops';
3122
+ crop90x160?: Maybe<FbAdSvcImageCrop>;
3123
+ crop100x72?: Maybe<FbAdSvcImageCrop>;
3124
+ crop100x100?: Maybe<FbAdSvcImageCrop>;
3125
+ crop191x100?: Maybe<FbAdSvcImageCrop>;
3126
+ crop400x150?: Maybe<FbAdSvcImageCrop>;
3127
+ crop400x500?: Maybe<FbAdSvcImageCrop>;
3128
+ crop600x360?: Maybe<FbAdSvcImageCrop>;
3129
+ };
3130
+
3131
+ export type FbAdSvcInstagramPositions = {
3132
+ __typename?: 'FBAdSvcInstagramPositions';
3133
+ story: Scalars['Boolean']['output'];
3134
+ stream: Scalars['Boolean']['output'];
3135
+ };
3136
+
3137
+ export type FbAdSvcInstagramPositionsInput = {
3138
+ story?: InputMaybe<Scalars['Boolean']['input']>;
3139
+ stream?: InputMaybe<Scalars['Boolean']['input']>;
3140
+ };
3141
+
3142
+ export type FbAdSvcInterest = {
3143
+ __typename?: 'FBAdSvcInterest';
3144
+ id: Scalars['String']['output'];
3145
+ name: Scalars['String']['output'];
3146
+ };
3147
+
3148
+ export type FbAdSvcInterestInput = {
3149
+ id: Scalars['String']['input'];
3150
+ name: Scalars['String']['input'];
3151
+ };
3152
+
3153
+ export type FbAdSvcLink = {
3154
+ __typename?: 'FBAdSvcLink';
3155
+ append?: Maybe<Scalars['String']['output']>;
3156
+ customFieldID?: Maybe<Scalars['Int']['output']>;
3157
+ linkType: Scalars['String']['output'];
3158
+ url: Scalars['String']['output'];
3159
+ };
3160
+
3161
+ export type FbAdSvcMedia = {
3162
+ __typename?: 'FBAdSvcMedia';
3163
+ imageCrops?: Maybe<FbAdSvcImageCrops>;
3164
+ mediaType: Scalars['String']['output'];
3165
+ sourceId: Scalars['String']['output'];
3166
+ sourceType: Scalars['String']['output'];
3167
+ };
3168
+
3169
+ export type FbAdSvcMessengerPositions = {
3170
+ __typename?: 'FBAdSvcMessengerPositions';
3171
+ story: Scalars['Boolean']['output'];
3172
+ };
3173
+
3174
+ export type FbAdSvcMessengerPositionsInput = {
3175
+ story?: InputMaybe<Scalars['Boolean']['input']>;
3176
+ };
3177
+
3178
+ export type FbAdSvcPlatformPosition = {
3179
+ __typename?: 'FBAdSvcPlatformPosition';
3180
+ platform: Scalars['String']['output'];
3181
+ position: Scalars['String']['output'];
3182
+ };
3183
+
3184
+ export type FbAdSvcPublisherPlatforms = {
3185
+ __typename?: 'FBAdSvcPublisherPlatforms';
3186
+ audienceNetwork: Scalars['Boolean']['output'];
3187
+ facebook: Scalars['Boolean']['output'];
3188
+ instagram: Scalars['Boolean']['output'];
3189
+ messenger: Scalars['Boolean']['output'];
3190
+ };
3191
+
3192
+ export type FbAdSvcPublisherPlatformsInput = {
3193
+ audienceNetwork?: InputMaybe<Scalars['Boolean']['input']>;
3194
+ facebook?: InputMaybe<Scalars['Boolean']['input']>;
3195
+ instagram?: InputMaybe<Scalars['Boolean']['input']>;
3196
+ messenger?: InputMaybe<Scalars['Boolean']['input']>;
3197
+ };
3198
+
3199
+ export type FbAdSvcSpecialAdCategories = {
3200
+ __typename?: 'FBAdSvcSpecialAdCategories';
3201
+ categories?: Maybe<Array<Scalars['String']['output']>>;
3202
+ };
3203
+
3204
+ export type FbAdSvcTargeting = {
3205
+ __typename?: 'FBAdSvcTargeting';
3206
+ ageMax?: Maybe<Scalars['Int']['output']>;
3207
+ ageMin?: Maybe<Scalars['Int']['output']>;
3208
+ facebookPositions?: Maybe<FbAdSvcFacebookPositions>;
3209
+ genders?: Maybe<Array<Scalars['Int']['output']>>;
3210
+ instagramPositions?: Maybe<FbAdSvcInstagramPositions>;
3211
+ interests?: Maybe<Array<FbAdSvcInterest>>;
3212
+ messengerPositions?: Maybe<FbAdSvcMessengerPositions>;
3213
+ platformPositions: Array<FbAdSvcPlatformPosition>;
3214
+ platforms?: Maybe<FbAdSvcPublisherPlatforms>;
3215
+ targetingAutomation: FbAdSvcTargetingAutomation;
3216
+ };
3217
+
3218
+ export type FbAdSvcTargetingAutomation = {
3219
+ __typename?: 'FBAdSvcTargetingAutomation';
3220
+ type: Scalars['Int']['output'];
3221
+ };
3222
+
3223
+ export type FbAdSvcTargetingAutomationInput = {
3224
+ type: Scalars['Int']['input'];
3225
+ };
3226
+
3227
+ export type FbAdSvcTargetingInput = {
3228
+ ageMax?: InputMaybe<Scalars['Int']['input']>;
3229
+ ageMin?: InputMaybe<Scalars['Int']['input']>;
3230
+ facebookPositions?: InputMaybe<FbAdSvcFacebookPositionsInput>;
3231
+ genders?: InputMaybe<Array<Scalars['Int']['input']>>;
3232
+ instagramPositions?: InputMaybe<FbAdSvcInstagramPositionsInput>;
3233
+ interests?: InputMaybe<Array<FbAdSvcInterestInput>>;
3234
+ messengerPositions?: InputMaybe<FbAdSvcMessengerPositionsInput>;
3235
+ platforms?: InputMaybe<FbAdSvcPublisherPlatformsInput>;
3236
+ targetingAutomation: FbAdSvcTargetingAutomationInput;
3237
+ };
3238
+
3239
+ export type FbAdSvcUpdateLiveCreativeInput = {
3240
+ channelCampaignID: Scalars['ID']['input'];
3241
+ message: Scalars['String']['input'];
3242
+ };
3243
+
3244
+ export type FbAdSvcUpdateLiveCreativeResult = {
3245
+ __typename?: 'FBAdSvcUpdateLiveCreativeResult';
3246
+ failedUpdates?: Maybe<Array<Scalars['String']['output']>>;
3247
+ };
3248
+
3249
+ export type FbAdSvcZip = {
3250
+ __typename?: 'FBAdSvcZip';
3251
+ key: Scalars['String']['output'];
3252
+ };
3253
+
2973
3254
  export type Facebook = {
2974
3255
  __typename?: 'Facebook';
2975
3256
  campaign_id?: Maybe<Scalars['ID']['output']>;
@@ -4625,6 +4906,7 @@ export type Metric = {
4625
4906
  /** mutation root */
4626
4907
  export type Mutation = {
4627
4908
  __typename?: 'Mutation';
4909
+ FBAdSvcUpdateLiveCreative?: Maybe<FbAdSvcUpdateLiveCreativeResult>;
4628
4910
  acceptAccessInvitation: AccessInvitation;
4629
4911
  acceptBrandRequest: BrandRequest;
4630
4912
  activateCampaign?: Maybe<ActivateCampaignResponse>;
@@ -4827,6 +5109,8 @@ export type Mutation = {
4827
5109
  exportLeads: Scalars['ID']['output'];
4828
5110
  exportUsersForDivisionByBrand: Scalars['ID']['output'];
4829
5111
  extendJwt: ExtendJwtResponse;
5112
+ fbAdSvcCreateAdSetTemplate: FbAdSvcAdSetTemplate;
5113
+ fbAdSvcUpdateAdSetTemplate: FbAdSvcAdSetTemplate;
4830
5114
  grantAccessRequest: Scalars['ID']['output'];
4831
5115
  /** insert data into the table: "address_verification_run_results" */
4832
5116
  insert_address_verification_run_results?: Maybe<Address_Verification_Run_Results_Mutation_Response>;
@@ -5133,6 +5417,12 @@ export type Mutation = {
5133
5417
  };
5134
5418
 
5135
5419
 
5420
+ /** mutation root */
5421
+ export type MutationFbAdSvcUpdateLiveCreativeArgs = {
5422
+ input: FbAdSvcUpdateLiveCreativeInput;
5423
+ };
5424
+
5425
+
5136
5426
  /** mutation root */
5137
5427
  export type MutationAcceptAccessInvitationArgs = {
5138
5428
  token: Scalars['String']['input'];
@@ -6129,6 +6419,19 @@ export type MutationExtendJwtArgs = {
6129
6419
  };
6130
6420
 
6131
6421
 
6422
+ /** mutation root */
6423
+ export type MutationFbAdSvcCreateAdSetTemplateArgs = {
6424
+ input: FbAdSvcAdSetTemplateCreateInput;
6425
+ };
6426
+
6427
+
6428
+ /** mutation root */
6429
+ export type MutationFbAdSvcUpdateAdSetTemplateArgs = {
6430
+ id: Scalars['ID']['input'];
6431
+ input: FbAdSvcAdSetTemplateUpdateInput;
6432
+ };
6433
+
6434
+
6132
6435
  /** mutation root */
6133
6436
  export type MutationGrantAccessRequestArgs = {
6134
6437
  id: Scalars['ID']['input'];
@@ -7800,6 +8103,9 @@ export type Query = {
7800
8103
  enrichment_queries_website_urls_aggregate: Enrichment_Queries_Website_Urls_Aggregate;
7801
8104
  /** fetch data from the table: "enrichment_queries_website_urls" using primary key columns */
7802
8105
  enrichment_queries_website_urls_by_pk?: Maybe<Enrichment_Queries_Website_Urls>;
8106
+ fBAdSvcGetChannelCampaignForBrand: FbAdSvcChannelCampaign;
8107
+ fbAdSvcGetAdSetTemplate?: Maybe<FbAdSvcAdSetTemplate>;
8108
+ fbAdSvcGetChannelCampaignForRetailer: FbAdSvcChannelCampaign;
7803
8109
  getAccessInvitation?: Maybe<AccessInvitation>;
7804
8110
  getAccessInvitations?: Maybe<GetAccessInvitationsResponse>;
7805
8111
  getAccessInvitationsByRetailerIds?: Maybe<GetAccessInvitationsResponse>;
@@ -8272,6 +8578,23 @@ export type QueryEnrichment_Queries_Website_Urls_By_PkArgs = {
8272
8578
  };
8273
8579
 
8274
8580
 
8581
+ export type QueryFbAdSvcGetChannelCampaignForBrandArgs = {
8582
+ brandID: Scalars['Int']['input'];
8583
+ id: Scalars['ID']['input'];
8584
+ };
8585
+
8586
+
8587
+ export type QueryFbAdSvcGetAdSetTemplateArgs = {
8588
+ id: Scalars['ID']['input'];
8589
+ };
8590
+
8591
+
8592
+ export type QueryFbAdSvcGetChannelCampaignForRetailerArgs = {
8593
+ id: Scalars['ID']['input'];
8594
+ retailerID: Scalars['Int']['input'];
8595
+ };
8596
+
8597
+
8275
8598
  export type QueryGetAccessInvitationArgs = {
8276
8599
  id: Scalars['ID']['input'];
8277
8600
  params?: InputMaybe<GetAccessInvitationParams>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promoboxx/graphql-gateway-types",
3
- "version": "1.661.0",
3
+ "version": "1.663.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/schema.graphql CHANGED
@@ -2868,6 +2868,259 @@ type ExtendJwtResponse {
2868
2868
  jwt: String!
2869
2869
  }
2870
2870
 
2871
+ type FBAdSvcAd {
2872
+ adCreativeTemplateID: String!
2873
+ adSetTemplateID: String!
2874
+ id: ID!
2875
+ }
2876
+
2877
+ type FBAdSvcAdCreative {
2878
+ callToAction: FBAdSvcCallToActionTemplate
2879
+ childAttachments: [FBAdSvcChildAttachment!]
2880
+ description: String!
2881
+ link: FBAdSvcLink!
2882
+ media: FBAdSvcMedia!
2883
+ message: String!
2884
+ multiShareEndCard: Boolean
2885
+ multiShareOptimized: Boolean
2886
+ name: String!
2887
+ }
2888
+
2889
+ type FBAdSvcAdCreativeTemplate {
2890
+ allowCallToActionOverride: Boolean
2891
+ allowURLOverride: Boolean
2892
+ brandID: Int
2893
+ createdAt: String!
2894
+ creative: FBAdSvcAdCreative
2895
+ creativeType: String
2896
+ id: ID!
2897
+ updatedAt: String!
2898
+ }
2899
+
2900
+ type FBAdSvcAdCreativeTemplateCustomization {
2901
+ adCreativeTemplateID: String!
2902
+ callToActionOverride: String
2903
+ childAttachments: [FBAdSvcFBAdSvcChildAttachmentCustomization!]!
2904
+ urlOverride: String
2905
+ }
2906
+
2907
+ type FBAdSvcAdSetTemplate {
2908
+ channelCampaignID: String!
2909
+ createdAt: String!
2910
+ id: ID!
2911
+ optimizationGoal: String!
2912
+ targeting: FBAdSvcTargeting!
2913
+ updatedAt: String!
2914
+ }
2915
+
2916
+ input FBAdSvcAdSetTemplateCreateInput {
2917
+ brandID: ID!
2918
+ channelCampaignID: String
2919
+ optimizationGoal: String
2920
+ targeting: FBAdSvcTargetingInput!
2921
+ }
2922
+
2923
+ input FBAdSvcAdSetTemplateUpdateInput {
2924
+ optimizationGoal: String
2925
+ targeting: FBAdSvcTargetingInput!
2926
+ }
2927
+
2928
+ type FBAdSvcCallToActionTemplate {
2929
+ ctaType: String!
2930
+ link: FBAdSvcLink!
2931
+ }
2932
+
2933
+ type FBAdSvcChannelCampaign {
2934
+ adAccountID: String
2935
+ adCreativeTemplates: [FBAdSvcAdCreativeTemplate!]
2936
+ adSetTemplates: [FBAdSvcAdSetTemplate!]
2937
+ ads: [FBAdSvcAd!]!
2938
+ brandID: Int!
2939
+ campaignChannelId: ID!
2940
+ createdAt: String!
2941
+ endsAt: String!
2942
+ id: ID!
2943
+ objective: String!
2944
+ specialAdCategories: [String!]!
2945
+ startsAt: String!
2946
+ state: String!
2947
+ }
2948
+
2949
+ type FBAdSvcChildAttachment {
2950
+ callToAction: FBAdSvcCallToActionTemplate
2951
+ description: String!
2952
+ id: ID!
2953
+ link: FBAdSvcLink!
2954
+ media: FBAdSvcMedia!
2955
+ name: String!
2956
+ }
2957
+
2958
+ type FBAdSvcCustomLocation {
2959
+ latitude: Float!
2960
+ longitude: Float!
2961
+ radius: Float!
2962
+ }
2963
+
2964
+ type FBAdSvcCustomizations {
2965
+ adCreativeTemplates: [FBAdSvcAdCreativeTemplateCustomization!]
2966
+ facebookPageId: String!
2967
+ geoLocations: FBAdSvcGeoLocations
2968
+ }
2969
+
2970
+ type FBAdSvcFBAdSvcChildAttachmentCustomization {
2971
+ callToActionOverride: String
2972
+ childAttachmentID: String!
2973
+ urlOverride: String
2974
+ }
2975
+
2976
+ type FBAdSvcFacebookPositions {
2977
+ feed: Boolean!
2978
+ story: Boolean!
2979
+ }
2980
+
2981
+ input FBAdSvcFacebookPositionsInput {
2982
+ feed: Boolean
2983
+ story: Boolean
2984
+ }
2985
+
2986
+ type FBAdSvcFundingSource {
2987
+ amountCents: String!
2988
+ entityId: String!
2989
+ entityType: String!
2990
+ ledgerType: String!
2991
+ }
2992
+
2993
+ type FBAdSvcGeoLocations {
2994
+ customLocations: [FBAdSvcCustomLocation!]
2995
+ zips: [FBAdSvcZip!]
2996
+ }
2997
+
2998
+ type FBAdSvcImageCrop {
2999
+ leftTop: [Int!]!
3000
+ rightBottom: [Int!]!
3001
+ }
3002
+
3003
+ type FBAdSvcImageCrops {
3004
+ crop90x160: FBAdSvcImageCrop
3005
+ crop100x72: FBAdSvcImageCrop
3006
+ crop100x100: FBAdSvcImageCrop
3007
+ crop191x100: FBAdSvcImageCrop
3008
+ crop400x150: FBAdSvcImageCrop
3009
+ crop400x500: FBAdSvcImageCrop
3010
+ crop600x360: FBAdSvcImageCrop
3011
+ }
3012
+
3013
+ type FBAdSvcInstagramPositions {
3014
+ story: Boolean!
3015
+ stream: Boolean!
3016
+ }
3017
+
3018
+ input FBAdSvcInstagramPositionsInput {
3019
+ story: Boolean
3020
+ stream: Boolean
3021
+ }
3022
+
3023
+ type FBAdSvcInterest {
3024
+ id: String!
3025
+ name: String!
3026
+ }
3027
+
3028
+ input FBAdSvcInterestInput {
3029
+ id: String!
3030
+ name: String!
3031
+ }
3032
+
3033
+ type FBAdSvcLink {
3034
+ append: String
3035
+ customFieldID: Int
3036
+ linkType: String!
3037
+ url: String!
3038
+ }
3039
+
3040
+ type FBAdSvcMedia {
3041
+ imageCrops: FBAdSvcImageCrops
3042
+ mediaType: String!
3043
+ sourceId: String!
3044
+ sourceType: String!
3045
+ }
3046
+
3047
+ type FBAdSvcMessengerPositions {
3048
+ story: Boolean!
3049
+ }
3050
+
3051
+ input FBAdSvcMessengerPositionsInput {
3052
+ story: Boolean
3053
+ }
3054
+
3055
+ type FBAdSvcPlatformPosition {
3056
+ platform: String!
3057
+ position: String!
3058
+ }
3059
+
3060
+ type FBAdSvcPublisherPlatforms {
3061
+ audienceNetwork: Boolean!
3062
+ facebook: Boolean!
3063
+ instagram: Boolean!
3064
+ messenger: Boolean!
3065
+ }
3066
+
3067
+ input FBAdSvcPublisherPlatformsInput {
3068
+ audienceNetwork: Boolean
3069
+ facebook: Boolean
3070
+ instagram: Boolean
3071
+ messenger: Boolean
3072
+ }
3073
+
3074
+ type FBAdSvcSpecialAdCategories {
3075
+ categories: [String!]
3076
+ }
3077
+
3078
+ type FBAdSvcTargeting {
3079
+ ageMax: Int
3080
+ ageMin: Int
3081
+ facebookPositions: FBAdSvcFacebookPositions
3082
+ genders: [Int!]
3083
+ instagramPositions: FBAdSvcInstagramPositions
3084
+ interests: [FBAdSvcInterest!]
3085
+ messengerPositions: FBAdSvcMessengerPositions
3086
+ platformPositions: [FBAdSvcPlatformPosition!]!
3087
+ platforms: FBAdSvcPublisherPlatforms
3088
+ targetingAutomation: FBAdSvcTargetingAutomation!
3089
+ }
3090
+
3091
+ type FBAdSvcTargetingAutomation {
3092
+ type: Int!
3093
+ }
3094
+
3095
+ input FBAdSvcTargetingAutomationInput {
3096
+ type: Int!
3097
+ }
3098
+
3099
+ input FBAdSvcTargetingInput {
3100
+ ageMax: Int
3101
+ ageMin: Int
3102
+ facebookPositions: FBAdSvcFacebookPositionsInput
3103
+ genders: [Int!]
3104
+ instagramPositions: FBAdSvcInstagramPositionsInput
3105
+ interests: [FBAdSvcInterestInput!]
3106
+ messengerPositions: FBAdSvcMessengerPositionsInput
3107
+ platforms: FBAdSvcPublisherPlatformsInput
3108
+ targetingAutomation: FBAdSvcTargetingAutomationInput!
3109
+ }
3110
+
3111
+ input FBAdSvcUpdateLiveCreativeInput {
3112
+ channelCampaignID: ID!
3113
+ message: String!
3114
+ }
3115
+
3116
+ type FBAdSvcUpdateLiveCreativeResult {
3117
+ failedUpdates: [String!]
3118
+ }
3119
+
3120
+ type FBAdSvcZip {
3121
+ key: String!
3122
+ }
3123
+
2871
3124
  type Facebook {
2872
3125
  campaign_id: ID
2873
3126
  created_at: String
@@ -4454,6 +4707,7 @@ type Metric {
4454
4707
 
4455
4708
  """mutation root"""
4456
4709
  type Mutation {
4710
+ FBAdSvcUpdateLiveCreative(input: FBAdSvcUpdateLiveCreativeInput!): FBAdSvcUpdateLiveCreativeResult
4457
4711
  acceptAccessInvitation(token: String!, user: AcceptAccessInvitationUserInput!): AccessInvitation!
4458
4712
  acceptBrandRequest(id: ID!): BrandRequest!
4459
4713
  activateCampaign(campaignId: ID!, params: ActivateCampaignParams!): ActivateCampaignResponse
@@ -4850,6 +5104,8 @@ type Mutation {
4850
5104
  exportLeads(params: LeadExportInput, resource_id: ID!, resource_type: String!): ID!
4851
5105
  exportUsersForDivisionByBrand(brandId: ID!): ID!
4852
5106
  extendJwt(jwt: String!): ExtendJwtResponse!
5107
+ fbAdSvcCreateAdSetTemplate(input: FBAdSvcAdSetTemplateCreateInput!): FBAdSvcAdSetTemplate!
5108
+ fbAdSvcUpdateAdSetTemplate(id: ID!, input: FBAdSvcAdSetTemplateUpdateInput!): FBAdSvcAdSetTemplate!
4853
5109
  grantAccessRequest(id: ID!): ID!
4854
5110
 
4855
5111
  """
@@ -7083,6 +7339,9 @@ type Query {
7083
7339
  fetch data from the table: "enrichment_queries_website_urls" using primary key columns
7084
7340
  """
7085
7341
  enrichment_queries_website_urls_by_pk(id: uuid!): enrichment_queries_website_urls
7342
+ fBAdSvcGetChannelCampaignForBrand(brandID: Int!, id: ID!): FBAdSvcChannelCampaign!
7343
+ fbAdSvcGetAdSetTemplate(id: ID!): FBAdSvcAdSetTemplate
7344
+ fbAdSvcGetChannelCampaignForRetailer(id: ID!, retailerID: Int!): FBAdSvcChannelCampaign!
7086
7345
  getAccessInvitation(id: ID!, params: GetAccessInvitationParams): AccessInvitation
7087
7346
  getAccessInvitations(params: GetAccessInvitationsParams, resourceId: ID!, resourceType: AccessInvitationResourceType!): GetAccessInvitationsResponse
7088
7347
  getAccessInvitationsByRetailerIds(params: GetAccessInvitationsParams, retailer_ids: [ID!]!): GetAccessInvitationsResponse