@promoboxx/graphql-gateway-types 1.15.0 → 1.16.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.
@@ -1767,6 +1767,18 @@
1767
1767
  },
1768
1768
  "isDeprecated": false,
1769
1769
  "deprecationReason": null
1770
+ },
1771
+ {
1772
+ "name": "type",
1773
+ "description": null,
1774
+ "args": [],
1775
+ "type": {
1776
+ "kind": "ENUM",
1777
+ "name": "AdCampaignType",
1778
+ "ofType": null
1779
+ },
1780
+ "isDeprecated": false,
1781
+ "deprecationReason": null
1770
1782
  }
1771
1783
  ],
1772
1784
  "inputFields": null,
@@ -1960,6 +1972,35 @@
1960
1972
  "enumValues": null,
1961
1973
  "possibleTypes": null
1962
1974
  },
1975
+ {
1976
+ "kind": "ENUM",
1977
+ "name": "AdCampaignType",
1978
+ "description": null,
1979
+ "fields": null,
1980
+ "inputFields": null,
1981
+ "interfaces": null,
1982
+ "enumValues": [
1983
+ {
1984
+ "name": "brand_and_retailer_funded",
1985
+ "description": null,
1986
+ "isDeprecated": false,
1987
+ "deprecationReason": null
1988
+ },
1989
+ {
1990
+ "name": "retailer_funded",
1991
+ "description": null,
1992
+ "isDeprecated": false,
1993
+ "deprecationReason": null
1994
+ },
1995
+ {
1996
+ "name": "standard",
1997
+ "description": null,
1998
+ "isDeprecated": false,
1999
+ "deprecationReason": null
2000
+ }
2001
+ ],
2002
+ "possibleTypes": null
2003
+ },
1963
2004
  {
1964
2005
  "kind": "OBJECT",
1965
2006
  "name": "AdChildAttachment",
@@ -3124,6 +3165,113 @@
3124
3165
  "enumValues": null,
3125
3166
  "possibleTypes": null
3126
3167
  },
3168
+ {
3169
+ "kind": "INPUT_OBJECT",
3170
+ "name": "AddStripePaymentIntent",
3171
+ "description": null,
3172
+ "fields": null,
3173
+ "inputFields": [
3174
+ {
3175
+ "name": "id",
3176
+ "description": null,
3177
+ "type": {
3178
+ "kind": "NON_NULL",
3179
+ "name": null,
3180
+ "ofType": {
3181
+ "kind": "SCALAR",
3182
+ "name": "ID",
3183
+ "ofType": null
3184
+ }
3185
+ },
3186
+ "defaultValue": null,
3187
+ "isDeprecated": false,
3188
+ "deprecationReason": null
3189
+ },
3190
+ {
3191
+ "name": "payment_intent_id",
3192
+ "description": null,
3193
+ "type": {
3194
+ "kind": "NON_NULL",
3195
+ "name": null,
3196
+ "ofType": {
3197
+ "kind": "SCALAR",
3198
+ "name": "String",
3199
+ "ofType": null
3200
+ }
3201
+ },
3202
+ "defaultValue": null,
3203
+ "isDeprecated": false,
3204
+ "deprecationReason": null
3205
+ },
3206
+ {
3207
+ "name": "payment_intent_object",
3208
+ "description": null,
3209
+ "type": {
3210
+ "kind": "NON_NULL",
3211
+ "name": null,
3212
+ "ofType": {
3213
+ "kind": "SCALAR",
3214
+ "name": "String",
3215
+ "ofType": null
3216
+ }
3217
+ },
3218
+ "defaultValue": null,
3219
+ "isDeprecated": false,
3220
+ "deprecationReason": null
3221
+ },
3222
+ {
3223
+ "name": "status",
3224
+ "description": null,
3225
+ "type": {
3226
+ "kind": "NON_NULL",
3227
+ "name": null,
3228
+ "ofType": {
3229
+ "kind": "SCALAR",
3230
+ "name": "String",
3231
+ "ofType": null
3232
+ }
3233
+ },
3234
+ "defaultValue": null,
3235
+ "isDeprecated": false,
3236
+ "deprecationReason": null
3237
+ },
3238
+ {
3239
+ "name": "type_id",
3240
+ "description": null,
3241
+ "type": {
3242
+ "kind": "NON_NULL",
3243
+ "name": null,
3244
+ "ofType": {
3245
+ "kind": "SCALAR",
3246
+ "name": "String",
3247
+ "ofType": null
3248
+ }
3249
+ },
3250
+ "defaultValue": null,
3251
+ "isDeprecated": false,
3252
+ "deprecationReason": null
3253
+ },
3254
+ {
3255
+ "name": "wallet_type",
3256
+ "description": null,
3257
+ "type": {
3258
+ "kind": "NON_NULL",
3259
+ "name": null,
3260
+ "ofType": {
3261
+ "kind": "SCALAR",
3262
+ "name": "String",
3263
+ "ofType": null
3264
+ }
3265
+ },
3266
+ "defaultValue": null,
3267
+ "isDeprecated": false,
3268
+ "deprecationReason": null
3269
+ }
3270
+ ],
3271
+ "interfaces": null,
3272
+ "enumValues": null,
3273
+ "possibleTypes": null
3274
+ },
3127
3275
  {
3128
3276
  "kind": "INPUT_OBJECT",
3129
3277
  "name": "AdsByBrandParams",
@@ -36748,6 +36896,35 @@
36748
36896
  "isDeprecated": false,
36749
36897
  "deprecationReason": null
36750
36898
  },
36899
+ {
36900
+ "name": "addPaymentIntent",
36901
+ "description": null,
36902
+ "args": [
36903
+ {
36904
+ "name": "data",
36905
+ "description": null,
36906
+ "type": {
36907
+ "kind": "NON_NULL",
36908
+ "name": null,
36909
+ "ofType": {
36910
+ "kind": "INPUT_OBJECT",
36911
+ "name": "AddStripePaymentIntent",
36912
+ "ofType": null
36913
+ }
36914
+ },
36915
+ "defaultValue": null,
36916
+ "isDeprecated": false,
36917
+ "deprecationReason": null
36918
+ }
36919
+ ],
36920
+ "type": {
36921
+ "kind": "OBJECT",
36922
+ "name": "StripePaymentIntent",
36923
+ "ofType": null
36924
+ },
36925
+ "isDeprecated": false,
36926
+ "deprecationReason": null
36927
+ },
36751
36928
  {
36752
36929
  "name": "addRetailerToRetailerAccount",
36753
36930
  "description": null,
@@ -42498,6 +42675,35 @@
42498
42675
  "isDeprecated": false,
42499
42676
  "deprecationReason": null
42500
42677
  },
42678
+ {
42679
+ "name": "updatePaymentIntent",
42680
+ "description": null,
42681
+ "args": [
42682
+ {
42683
+ "name": "data",
42684
+ "description": null,
42685
+ "type": {
42686
+ "kind": "NON_NULL",
42687
+ "name": null,
42688
+ "ofType": {
42689
+ "kind": "INPUT_OBJECT",
42690
+ "name": "UpdateStripePaymentIntent",
42691
+ "ofType": null
42692
+ }
42693
+ },
42694
+ "defaultValue": null,
42695
+ "isDeprecated": false,
42696
+ "deprecationReason": null
42697
+ }
42698
+ ],
42699
+ "type": {
42700
+ "kind": "OBJECT",
42701
+ "name": "StripePaymentIntent",
42702
+ "ofType": null
42703
+ },
42704
+ "isDeprecated": false,
42705
+ "deprecationReason": null
42706
+ },
42501
42707
  {
42502
42708
  "name": "updateSsoConnection",
42503
42709
  "description": null,
@@ -49512,6 +49718,39 @@
49512
49718
  "isDeprecated": false,
49513
49719
  "deprecationReason": null
49514
49720
  },
49721
+ {
49722
+ "name": "getStripePaymentIntent",
49723
+ "description": "Gets the specific stripe payment intent with the given ID",
49724
+ "args": [
49725
+ {
49726
+ "name": "id",
49727
+ "description": null,
49728
+ "type": {
49729
+ "kind": "NON_NULL",
49730
+ "name": null,
49731
+ "ofType": {
49732
+ "kind": "SCALAR",
49733
+ "name": "ID",
49734
+ "ofType": null
49735
+ }
49736
+ },
49737
+ "defaultValue": null,
49738
+ "isDeprecated": false,
49739
+ "deprecationReason": null
49740
+ }
49741
+ ],
49742
+ "type": {
49743
+ "kind": "NON_NULL",
49744
+ "name": null,
49745
+ "ofType": {
49746
+ "kind": "OBJECT",
49747
+ "name": "StripePaymentIntent",
49748
+ "ofType": null
49749
+ }
49750
+ },
49751
+ "isDeprecated": false,
49752
+ "deprecationReason": null
49753
+ },
49515
49754
  {
49516
49755
  "name": "getSupportedLocales",
49517
49756
  "description": null,
@@ -57022,6 +57261,145 @@
57022
57261
  "enumValues": null,
57023
57262
  "possibleTypes": null
57024
57263
  },
57264
+ {
57265
+ "kind": "OBJECT",
57266
+ "name": "StripePaymentIntent",
57267
+ "description": null,
57268
+ "fields": [
57269
+ {
57270
+ "name": "created_at",
57271
+ "description": null,
57272
+ "args": [],
57273
+ "type": {
57274
+ "kind": "NON_NULL",
57275
+ "name": null,
57276
+ "ofType": {
57277
+ "kind": "SCALAR",
57278
+ "name": "String",
57279
+ "ofType": null
57280
+ }
57281
+ },
57282
+ "isDeprecated": false,
57283
+ "deprecationReason": null
57284
+ },
57285
+ {
57286
+ "name": "id",
57287
+ "description": null,
57288
+ "args": [],
57289
+ "type": {
57290
+ "kind": "NON_NULL",
57291
+ "name": null,
57292
+ "ofType": {
57293
+ "kind": "SCALAR",
57294
+ "name": "ID",
57295
+ "ofType": null
57296
+ }
57297
+ },
57298
+ "isDeprecated": false,
57299
+ "deprecationReason": null
57300
+ },
57301
+ {
57302
+ "name": "payment_intent_id",
57303
+ "description": null,
57304
+ "args": [],
57305
+ "type": {
57306
+ "kind": "NON_NULL",
57307
+ "name": null,
57308
+ "ofType": {
57309
+ "kind": "SCALAR",
57310
+ "name": "String",
57311
+ "ofType": null
57312
+ }
57313
+ },
57314
+ "isDeprecated": false,
57315
+ "deprecationReason": null
57316
+ },
57317
+ {
57318
+ "name": "payment_intent_object",
57319
+ "description": null,
57320
+ "args": [],
57321
+ "type": {
57322
+ "kind": "NON_NULL",
57323
+ "name": null,
57324
+ "ofType": {
57325
+ "kind": "SCALAR",
57326
+ "name": "String",
57327
+ "ofType": null
57328
+ }
57329
+ },
57330
+ "isDeprecated": false,
57331
+ "deprecationReason": null
57332
+ },
57333
+ {
57334
+ "name": "status",
57335
+ "description": null,
57336
+ "args": [],
57337
+ "type": {
57338
+ "kind": "NON_NULL",
57339
+ "name": null,
57340
+ "ofType": {
57341
+ "kind": "SCALAR",
57342
+ "name": "String",
57343
+ "ofType": null
57344
+ }
57345
+ },
57346
+ "isDeprecated": false,
57347
+ "deprecationReason": null
57348
+ },
57349
+ {
57350
+ "name": "type_id",
57351
+ "description": null,
57352
+ "args": [],
57353
+ "type": {
57354
+ "kind": "NON_NULL",
57355
+ "name": null,
57356
+ "ofType": {
57357
+ "kind": "SCALAR",
57358
+ "name": "String",
57359
+ "ofType": null
57360
+ }
57361
+ },
57362
+ "isDeprecated": false,
57363
+ "deprecationReason": null
57364
+ },
57365
+ {
57366
+ "name": "updatedAt",
57367
+ "description": null,
57368
+ "args": [],
57369
+ "type": {
57370
+ "kind": "NON_NULL",
57371
+ "name": null,
57372
+ "ofType": {
57373
+ "kind": "SCALAR",
57374
+ "name": "String",
57375
+ "ofType": null
57376
+ }
57377
+ },
57378
+ "isDeprecated": false,
57379
+ "deprecationReason": null
57380
+ },
57381
+ {
57382
+ "name": "wallet_type",
57383
+ "description": null,
57384
+ "args": [],
57385
+ "type": {
57386
+ "kind": "NON_NULL",
57387
+ "name": null,
57388
+ "ofType": {
57389
+ "kind": "SCALAR",
57390
+ "name": "String",
57391
+ "ofType": null
57392
+ }
57393
+ },
57394
+ "isDeprecated": false,
57395
+ "deprecationReason": null
57396
+ }
57397
+ ],
57398
+ "inputFields": null,
57399
+ "interfaces": [],
57400
+ "enumValues": null,
57401
+ "possibleTypes": null
57402
+ },
57025
57403
  {
57026
57404
  "kind": "OBJECT",
57027
57405
  "name": "SubBrandLogo",
@@ -61173,9 +61551,13 @@
61173
61551
  "name": "ends_at",
61174
61552
  "description": null,
61175
61553
  "type": {
61176
- "kind": "SCALAR",
61177
- "name": "String",
61178
- "ofType": null
61554
+ "kind": "NON_NULL",
61555
+ "name": null,
61556
+ "ofType": {
61557
+ "kind": "SCALAR",
61558
+ "name": "String",
61559
+ "ofType": null
61560
+ }
61179
61561
  },
61180
61562
  "defaultValue": null,
61181
61563
  "isDeprecated": false,
@@ -61197,9 +61579,13 @@
61197
61579
  "name": "starts_at",
61198
61580
  "description": null,
61199
61581
  "type": {
61200
- "kind": "SCALAR",
61201
- "name": "String",
61202
- "ofType": null
61582
+ "kind": "NON_NULL",
61583
+ "name": null,
61584
+ "ofType": {
61585
+ "kind": "SCALAR",
61586
+ "name": "String",
61587
+ "ofType": null
61588
+ }
61203
61589
  },
61204
61590
  "defaultValue": null,
61205
61591
  "isDeprecated": false,
@@ -61240,6 +61626,18 @@
61240
61626
  "defaultValue": null,
61241
61627
  "isDeprecated": false,
61242
61628
  "deprecationReason": null
61629
+ },
61630
+ {
61631
+ "name": "type",
61632
+ "description": null,
61633
+ "type": {
61634
+ "kind": "ENUM",
61635
+ "name": "AdCampaignType",
61636
+ "ofType": null
61637
+ },
61638
+ "defaultValue": null,
61639
+ "isDeprecated": false,
61640
+ "deprecationReason": null
61243
61641
  }
61244
61642
  ],
61245
61643
  "interfaces": null,
@@ -61305,6 +61703,113 @@
61305
61703
  "enumValues": null,
61306
61704
  "possibleTypes": null
61307
61705
  },
61706
+ {
61707
+ "kind": "INPUT_OBJECT",
61708
+ "name": "UpdateStripePaymentIntent",
61709
+ "description": null,
61710
+ "fields": null,
61711
+ "inputFields": [
61712
+ {
61713
+ "name": "id",
61714
+ "description": null,
61715
+ "type": {
61716
+ "kind": "NON_NULL",
61717
+ "name": null,
61718
+ "ofType": {
61719
+ "kind": "SCALAR",
61720
+ "name": "ID",
61721
+ "ofType": null
61722
+ }
61723
+ },
61724
+ "defaultValue": null,
61725
+ "isDeprecated": false,
61726
+ "deprecationReason": null
61727
+ },
61728
+ {
61729
+ "name": "payment_intent_id",
61730
+ "description": null,
61731
+ "type": {
61732
+ "kind": "NON_NULL",
61733
+ "name": null,
61734
+ "ofType": {
61735
+ "kind": "SCALAR",
61736
+ "name": "String",
61737
+ "ofType": null
61738
+ }
61739
+ },
61740
+ "defaultValue": null,
61741
+ "isDeprecated": false,
61742
+ "deprecationReason": null
61743
+ },
61744
+ {
61745
+ "name": "payment_intent_object",
61746
+ "description": null,
61747
+ "type": {
61748
+ "kind": "NON_NULL",
61749
+ "name": null,
61750
+ "ofType": {
61751
+ "kind": "SCALAR",
61752
+ "name": "String",
61753
+ "ofType": null
61754
+ }
61755
+ },
61756
+ "defaultValue": null,
61757
+ "isDeprecated": false,
61758
+ "deprecationReason": null
61759
+ },
61760
+ {
61761
+ "name": "status",
61762
+ "description": null,
61763
+ "type": {
61764
+ "kind": "NON_NULL",
61765
+ "name": null,
61766
+ "ofType": {
61767
+ "kind": "SCALAR",
61768
+ "name": "String",
61769
+ "ofType": null
61770
+ }
61771
+ },
61772
+ "defaultValue": null,
61773
+ "isDeprecated": false,
61774
+ "deprecationReason": null
61775
+ },
61776
+ {
61777
+ "name": "type_id",
61778
+ "description": null,
61779
+ "type": {
61780
+ "kind": "NON_NULL",
61781
+ "name": null,
61782
+ "ofType": {
61783
+ "kind": "SCALAR",
61784
+ "name": "String",
61785
+ "ofType": null
61786
+ }
61787
+ },
61788
+ "defaultValue": null,
61789
+ "isDeprecated": false,
61790
+ "deprecationReason": null
61791
+ },
61792
+ {
61793
+ "name": "wallet_type",
61794
+ "description": null,
61795
+ "type": {
61796
+ "kind": "NON_NULL",
61797
+ "name": null,
61798
+ "ofType": {
61799
+ "kind": "SCALAR",
61800
+ "name": "String",
61801
+ "ofType": null
61802
+ }
61803
+ },
61804
+ "defaultValue": null,
61805
+ "isDeprecated": false,
61806
+ "deprecationReason": null
61807
+ }
61808
+ ],
61809
+ "interfaces": null,
61810
+ "enumValues": null,
61811
+ "possibleTypes": null
61812
+ },
61308
61813
  {
61309
61814
  "kind": "INPUT_OBJECT",
61310
61815
  "name": "UpdateUserInput",
package/index.d.ts CHANGED
@@ -194,6 +194,7 @@ export type AdCampaignData = {
194
194
  state?: Maybe<Scalars['String']['output']>;
195
195
  thumbnail?: Maybe<Media>;
196
196
  title?: Maybe<Scalars['String']['output']>;
197
+ type?: Maybe<AdCampaignType>;
197
198
  };
198
199
 
199
200
 
@@ -225,6 +226,11 @@ export type AdCampaignResponse = {
225
226
  paging?: Maybe<Paging>;
226
227
  };
227
228
 
229
+ export type AdCampaignType =
230
+ | 'brand_and_retailer_funded'
231
+ | 'retailer_funded'
232
+ | 'standard';
233
+
228
234
  export type AdChildAttachment = {
229
235
  __typename?: 'AdChildAttachment';
230
236
  allow_retailer_url_override?: Maybe<Scalars['Boolean']['output']>;
@@ -360,6 +366,15 @@ export type AddRetailerToRetailerAccountResponse = {
360
366
  website?: Maybe<Scalars['String']['output']>;
361
367
  };
362
368
 
369
+ export type AddStripePaymentIntent = {
370
+ id: Scalars['ID']['input'];
371
+ payment_intent_id: Scalars['String']['input'];
372
+ payment_intent_object: Scalars['String']['input'];
373
+ status: Scalars['String']['input'];
374
+ type_id: Scalars['String']['input'];
375
+ wallet_type: Scalars['String']['input'];
376
+ };
377
+
363
378
  export type AdsByBrandParams = {
364
379
  brand_id: Scalars['ID']['input'];
365
380
  filter_paging_parameters?: InputMaybe<FilterPagingParams>;
@@ -4067,6 +4082,7 @@ export type Mutation = {
4067
4082
  addBillboard?: Maybe<Billboard>;
4068
4083
  addContract?: Maybe<Contract>;
4069
4084
  addLogoToAdAccount: AdAccount;
4085
+ addPaymentIntent?: Maybe<StripePaymentIntent>;
4070
4086
  addRetailerToRetailerAccount: AddRetailerToRetailerAccountResponse;
4071
4087
  approveContentRequest: ContentRequest;
4072
4088
  batchAcceptBrandRequests: Scalars['String']['output'];
@@ -4220,6 +4236,7 @@ export type Mutation = {
4220
4236
  updateLocation?: Maybe<Location>;
4221
4237
  updateLogo: SubBrandLogo;
4222
4238
  updatePaidAd?: Maybe<Scalars['ID']['output']>;
4239
+ updatePaymentIntent?: Maybe<StripePaymentIntent>;
4223
4240
  updateSsoConnection: SsoConnection;
4224
4241
  updateUser: UpdateUserResponse;
4225
4242
  /** @deprecated Use bulkUpdateRetailerData or bulkDeleteRetailerData */
@@ -4262,6 +4279,11 @@ export type MutationAddLogoToAdAccountArgs = {
4262
4279
  };
4263
4280
 
4264
4281
 
4282
+ export type MutationAddPaymentIntentArgs = {
4283
+ data: AddStripePaymentIntent;
4284
+ };
4285
+
4286
+
4265
4287
  export type MutationAddRetailerToRetailerAccountArgs = {
4266
4288
  params: AddRetailerToRetailerAccountParams;
4267
4289
  };
@@ -5026,6 +5048,11 @@ export type MutationUpdatePaidAdArgs = {
5026
5048
  };
5027
5049
 
5028
5050
 
5051
+ export type MutationUpdatePaymentIntentArgs = {
5052
+ data: UpdateStripePaymentIntent;
5053
+ };
5054
+
5055
+
5029
5056
  export type MutationUpdateSsoConnectionArgs = {
5030
5057
  id: Scalars['ID']['input'];
5031
5058
  sso_connection: SsoConnectionInput;
@@ -5406,6 +5433,8 @@ export type Query = {
5406
5433
  getSsoConnectionById: SsoConnection;
5407
5434
  getSsoConnectionsForUser: Array<SsoConnection>;
5408
5435
  getStats: StatsResponse;
5436
+ /** Gets the specific stripe payment intent with the given ID */
5437
+ getStripePaymentIntent: StripePaymentIntent;
5409
5438
  getSupportedLocales?: Maybe<Array<Scalars['String']['output']>>;
5410
5439
  getTwitterAccount: TwitterAccount;
5411
5440
  getTwitterAccounts: Array<TwitterAccount>;
@@ -6031,6 +6060,11 @@ export type QueryGetStatsArgs = {
6031
6060
  };
6032
6061
 
6033
6062
 
6063
+ export type QueryGetStripePaymentIntentArgs = {
6064
+ id: Scalars['ID']['input'];
6065
+ };
6066
+
6067
+
6034
6068
  export type QueryGetTwitterAccountArgs = {
6035
6069
  id: Scalars['ID']['input'];
6036
6070
  params?: InputMaybe<TwitterAccountParams>;
@@ -6854,6 +6888,18 @@ export type StatsType =
6854
6888
  | 'accelerate_retailer_campaign'
6855
6889
  | 'retailer_campaigns';
6856
6890
 
6891
+ export type StripePaymentIntent = {
6892
+ __typename?: 'StripePaymentIntent';
6893
+ created_at: Scalars['String']['output'];
6894
+ id: Scalars['ID']['output'];
6895
+ payment_intent_id: Scalars['String']['output'];
6896
+ payment_intent_object: Scalars['String']['output'];
6897
+ status: Scalars['String']['output'];
6898
+ type_id: Scalars['String']['output'];
6899
+ updatedAt: Scalars['String']['output'];
6900
+ wallet_type: Scalars['String']['output'];
6901
+ };
6902
+
6857
6903
  export type SubBrandLogo = {
6858
6904
  __typename?: 'SubBrandLogo';
6859
6905
  brand_id: Scalars['ID']['output'];
@@ -7303,12 +7349,13 @@ export type UpdateMedia = {
7303
7349
  export type UpdatePaidAdData = {
7304
7350
  automated?: InputMaybe<Scalars['Boolean']['input']>;
7305
7351
  channels?: InputMaybe<Array<Scalars['String']['input']>>;
7306
- ends_at?: InputMaybe<Scalars['String']['input']>;
7352
+ ends_at: Scalars['String']['input'];
7307
7353
  objective?: InputMaybe<Scalars['String']['input']>;
7308
- starts_at?: InputMaybe<Scalars['String']['input']>;
7354
+ starts_at: Scalars['String']['input'];
7309
7355
  state?: InputMaybe<Scalars['String']['input']>;
7310
7356
  thumbnail?: InputMaybe<Thumbnail>;
7311
7357
  title?: InputMaybe<Scalars['String']['input']>;
7358
+ type?: InputMaybe<AdCampaignType>;
7312
7359
  };
7313
7360
 
7314
7361
  export type UpdatePaidAdParams = {
@@ -7317,6 +7364,15 @@ export type UpdatePaidAdParams = {
7317
7364
  data: UpdatePaidAdData;
7318
7365
  };
7319
7366
 
7367
+ export type UpdateStripePaymentIntent = {
7368
+ id: Scalars['ID']['input'];
7369
+ payment_intent_id: Scalars['String']['input'];
7370
+ payment_intent_object: Scalars['String']['input'];
7371
+ status: Scalars['String']['input'];
7372
+ type_id: Scalars['String']['input'];
7373
+ wallet_type: Scalars['String']['input'];
7374
+ };
7375
+
7320
7376
  export type UpdateUserInput = {
7321
7377
  company?: InputMaybe<Scalars['String']['input']>;
7322
7378
  email?: InputMaybe<Scalars['String']['input']>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promoboxx/graphql-gateway-types",
3
- "version": "1.15.0",
3
+ "version": "1.16.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/schema.graphql CHANGED
@@ -173,6 +173,7 @@ type AdCampaignData {
173
173
  state: String
174
174
  thumbnail: Media
175
175
  title: String
176
+ type: AdCampaignType
176
177
  }
177
178
 
178
179
  enum AdCampaignFields {
@@ -200,6 +201,12 @@ type AdCampaignResponse {
200
201
  paging: Paging
201
202
  }
202
203
 
204
+ enum AdCampaignType {
205
+ brand_and_retailer_funded
206
+ retailer_funded
207
+ standard
208
+ }
209
+
203
210
  type AdChildAttachment {
204
211
  allow_retailer_url_override: Boolean
205
212
  call_to_action: CallToAction
@@ -338,6 +345,15 @@ type AddRetailerToRetailerAccountResponse {
338
345
  website: String
339
346
  }
340
347
 
348
+ input AddStripePaymentIntent {
349
+ id: ID!
350
+ payment_intent_id: String!
351
+ payment_intent_object: String!
352
+ status: String!
353
+ type_id: String!
354
+ wallet_type: String!
355
+ }
356
+
341
357
  input AdsByBrandParams {
342
358
  brand_id: ID!
343
359
  filter_paging_parameters: FilterPagingParams
@@ -3924,6 +3940,7 @@ type Mutation {
3924
3940
  addBillboard(data: AddBillboardData!): Billboard
3925
3941
  addContract(brandId: ID!, data: AddContractData!): Contract
3926
3942
  addLogoToAdAccount(params: AddLogoToAdAccountParams!): AdAccount!
3943
+ addPaymentIntent(data: AddStripePaymentIntent!): StripePaymentIntent
3927
3944
  addRetailerToRetailerAccount(params: AddRetailerToRetailerAccountParams!): AddRetailerToRetailerAccountResponse!
3928
3945
  approveContentRequest(campaign_request_id: ID!): ContentRequest!
3929
3946
  batchAcceptBrandRequests(resource_id: ID!, resource_type: String!): String!
@@ -4087,6 +4104,7 @@ type Mutation {
4087
4104
  updateLocation(id: ID!, location: LocationInput!): Location
4088
4105
  updateLogo(id: ID!, logo: CreateOrUpdateLogoData!): SubBrandLogo!
4089
4106
  updatePaidAd(params: UpdatePaidAdParams!): ID
4107
+ updatePaymentIntent(data: UpdateStripePaymentIntent!): StripePaymentIntent
4090
4108
  updateSsoConnection(id: ID!, sso_connection: SsoConnectionInput!, user_id: ID!): SsoConnection!
4091
4109
  updateUser(user: UpdateUserInput!): UpdateUserResponse!
4092
4110
  uploadCsv(brandId: String!, params: UploadCsvParams!): UploadCsvResponse @deprecated(reason: "Use bulkUpdateRetailerData or bulkDeleteRetailerData")
@@ -4528,6 +4546,9 @@ type Query {
4528
4546
  getSsoConnectionById(id: ID!): SsoConnection!
4529
4547
  getSsoConnectionsForUser(user_id: ID!): [SsoConnection!]!
4530
4548
  getStats(params: GetStatsParams!, stats_type: StatsType!): StatsResponse!
4549
+
4550
+ """Gets the specific stripe payment intent with the given ID"""
4551
+ getStripePaymentIntent(id: ID!): StripePaymentIntent!
4531
4552
  getSupportedLocales: [String!]
4532
4553
  getTwitterAccount(id: ID!, params: TwitterAccountParams): TwitterAccount!
4533
4554
  getTwitterAccounts(params: TwitterAccountParams, resourceId: ID!, resourceType: String!): [TwitterAccount!]!
@@ -5293,6 +5314,17 @@ enum StatsType {
5293
5314
  retailer_campaigns
5294
5315
  }
5295
5316
 
5317
+ type StripePaymentIntent {
5318
+ created_at: String!
5319
+ id: ID!
5320
+ payment_intent_id: String!
5321
+ payment_intent_object: String!
5322
+ status: String!
5323
+ type_id: String!
5324
+ updatedAt: String!
5325
+ wallet_type: String!
5326
+ }
5327
+
5296
5328
  type SubBrandLogo {
5297
5329
  brand_id: ID!
5298
5330
  deactivated_at: String
@@ -5731,12 +5763,13 @@ input UpdateMedia {
5731
5763
  input UpdatePaidAdData {
5732
5764
  automated: Boolean
5733
5765
  channels: [String!]
5734
- ends_at: String
5766
+ ends_at: String!
5735
5767
  objective: String
5736
- starts_at: String
5768
+ starts_at: String!
5737
5769
  state: String
5738
5770
  thumbnail: Thumbnail
5739
5771
  title: String
5772
+ type: AdCampaignType
5740
5773
  }
5741
5774
 
5742
5775
  input UpdatePaidAdParams {
@@ -5745,6 +5778,15 @@ input UpdatePaidAdParams {
5745
5778
  data: UpdatePaidAdData!
5746
5779
  }
5747
5780
 
5781
+ input UpdateStripePaymentIntent {
5782
+ id: ID!
5783
+ payment_intent_id: String!
5784
+ payment_intent_object: String!
5785
+ status: String!
5786
+ type_id: String!
5787
+ wallet_type: String!
5788
+ }
5789
+
5748
5790
  input UpdateUserInput {
5749
5791
  company: String
5750
5792
  email: String