@promoboxx/graphql-gateway-types 1.15.0 → 1.17.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",
@@ -27080,7 +27228,7 @@
27080
27228
  "args": [],
27081
27229
  "type": {
27082
27230
  "kind": "SCALAR",
27083
- "name": "Int",
27231
+ "name": "Float",
27084
27232
  "ofType": null
27085
27233
  },
27086
27234
  "isDeprecated": false,
@@ -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,
@@ -52445,13 +52684,9 @@
52445
52684
  "name": "intended_amount_cents",
52446
52685
  "description": null,
52447
52686
  "type": {
52448
- "kind": "NON_NULL",
52449
- "name": null,
52450
- "ofType": {
52451
- "kind": "SCALAR",
52452
- "name": "String",
52453
- "ofType": null
52454
- }
52687
+ "kind": "SCALAR",
52688
+ "name": "String",
52689
+ "ofType": null
52455
52690
  },
52456
52691
  "defaultValue": null,
52457
52692
  "isDeprecated": false,
@@ -57022,6 +57257,145 @@
57022
57257
  "enumValues": null,
57023
57258
  "possibleTypes": null
57024
57259
  },
57260
+ {
57261
+ "kind": "OBJECT",
57262
+ "name": "StripePaymentIntent",
57263
+ "description": null,
57264
+ "fields": [
57265
+ {
57266
+ "name": "created_at",
57267
+ "description": null,
57268
+ "args": [],
57269
+ "type": {
57270
+ "kind": "NON_NULL",
57271
+ "name": null,
57272
+ "ofType": {
57273
+ "kind": "SCALAR",
57274
+ "name": "String",
57275
+ "ofType": null
57276
+ }
57277
+ },
57278
+ "isDeprecated": false,
57279
+ "deprecationReason": null
57280
+ },
57281
+ {
57282
+ "name": "id",
57283
+ "description": null,
57284
+ "args": [],
57285
+ "type": {
57286
+ "kind": "NON_NULL",
57287
+ "name": null,
57288
+ "ofType": {
57289
+ "kind": "SCALAR",
57290
+ "name": "ID",
57291
+ "ofType": null
57292
+ }
57293
+ },
57294
+ "isDeprecated": false,
57295
+ "deprecationReason": null
57296
+ },
57297
+ {
57298
+ "name": "payment_intent_id",
57299
+ "description": null,
57300
+ "args": [],
57301
+ "type": {
57302
+ "kind": "NON_NULL",
57303
+ "name": null,
57304
+ "ofType": {
57305
+ "kind": "SCALAR",
57306
+ "name": "String",
57307
+ "ofType": null
57308
+ }
57309
+ },
57310
+ "isDeprecated": false,
57311
+ "deprecationReason": null
57312
+ },
57313
+ {
57314
+ "name": "payment_intent_object",
57315
+ "description": null,
57316
+ "args": [],
57317
+ "type": {
57318
+ "kind": "NON_NULL",
57319
+ "name": null,
57320
+ "ofType": {
57321
+ "kind": "SCALAR",
57322
+ "name": "String",
57323
+ "ofType": null
57324
+ }
57325
+ },
57326
+ "isDeprecated": false,
57327
+ "deprecationReason": null
57328
+ },
57329
+ {
57330
+ "name": "status",
57331
+ "description": null,
57332
+ "args": [],
57333
+ "type": {
57334
+ "kind": "NON_NULL",
57335
+ "name": null,
57336
+ "ofType": {
57337
+ "kind": "SCALAR",
57338
+ "name": "String",
57339
+ "ofType": null
57340
+ }
57341
+ },
57342
+ "isDeprecated": false,
57343
+ "deprecationReason": null
57344
+ },
57345
+ {
57346
+ "name": "type_id",
57347
+ "description": null,
57348
+ "args": [],
57349
+ "type": {
57350
+ "kind": "NON_NULL",
57351
+ "name": null,
57352
+ "ofType": {
57353
+ "kind": "SCALAR",
57354
+ "name": "String",
57355
+ "ofType": null
57356
+ }
57357
+ },
57358
+ "isDeprecated": false,
57359
+ "deprecationReason": null
57360
+ },
57361
+ {
57362
+ "name": "updatedAt",
57363
+ "description": null,
57364
+ "args": [],
57365
+ "type": {
57366
+ "kind": "NON_NULL",
57367
+ "name": null,
57368
+ "ofType": {
57369
+ "kind": "SCALAR",
57370
+ "name": "String",
57371
+ "ofType": null
57372
+ }
57373
+ },
57374
+ "isDeprecated": false,
57375
+ "deprecationReason": null
57376
+ },
57377
+ {
57378
+ "name": "wallet_type",
57379
+ "description": null,
57380
+ "args": [],
57381
+ "type": {
57382
+ "kind": "NON_NULL",
57383
+ "name": null,
57384
+ "ofType": {
57385
+ "kind": "SCALAR",
57386
+ "name": "String",
57387
+ "ofType": null
57388
+ }
57389
+ },
57390
+ "isDeprecated": false,
57391
+ "deprecationReason": null
57392
+ }
57393
+ ],
57394
+ "inputFields": null,
57395
+ "interfaces": [],
57396
+ "enumValues": null,
57397
+ "possibleTypes": null
57398
+ },
57025
57399
  {
57026
57400
  "kind": "OBJECT",
57027
57401
  "name": "SubBrandLogo",
@@ -61173,9 +61547,13 @@
61173
61547
  "name": "ends_at",
61174
61548
  "description": null,
61175
61549
  "type": {
61176
- "kind": "SCALAR",
61177
- "name": "String",
61178
- "ofType": null
61550
+ "kind": "NON_NULL",
61551
+ "name": null,
61552
+ "ofType": {
61553
+ "kind": "SCALAR",
61554
+ "name": "String",
61555
+ "ofType": null
61556
+ }
61179
61557
  },
61180
61558
  "defaultValue": null,
61181
61559
  "isDeprecated": false,
@@ -61197,9 +61575,13 @@
61197
61575
  "name": "starts_at",
61198
61576
  "description": null,
61199
61577
  "type": {
61200
- "kind": "SCALAR",
61201
- "name": "String",
61202
- "ofType": null
61578
+ "kind": "NON_NULL",
61579
+ "name": null,
61580
+ "ofType": {
61581
+ "kind": "SCALAR",
61582
+ "name": "String",
61583
+ "ofType": null
61584
+ }
61203
61585
  },
61204
61586
  "defaultValue": null,
61205
61587
  "isDeprecated": false,
@@ -61240,6 +61622,18 @@
61240
61622
  "defaultValue": null,
61241
61623
  "isDeprecated": false,
61242
61624
  "deprecationReason": null
61625
+ },
61626
+ {
61627
+ "name": "type",
61628
+ "description": null,
61629
+ "type": {
61630
+ "kind": "ENUM",
61631
+ "name": "AdCampaignType",
61632
+ "ofType": null
61633
+ },
61634
+ "defaultValue": null,
61635
+ "isDeprecated": false,
61636
+ "deprecationReason": null
61243
61637
  }
61244
61638
  ],
61245
61639
  "interfaces": null,
@@ -61305,6 +61699,113 @@
61305
61699
  "enumValues": null,
61306
61700
  "possibleTypes": null
61307
61701
  },
61702
+ {
61703
+ "kind": "INPUT_OBJECT",
61704
+ "name": "UpdateStripePaymentIntent",
61705
+ "description": null,
61706
+ "fields": null,
61707
+ "inputFields": [
61708
+ {
61709
+ "name": "id",
61710
+ "description": null,
61711
+ "type": {
61712
+ "kind": "NON_NULL",
61713
+ "name": null,
61714
+ "ofType": {
61715
+ "kind": "SCALAR",
61716
+ "name": "ID",
61717
+ "ofType": null
61718
+ }
61719
+ },
61720
+ "defaultValue": null,
61721
+ "isDeprecated": false,
61722
+ "deprecationReason": null
61723
+ },
61724
+ {
61725
+ "name": "payment_intent_id",
61726
+ "description": null,
61727
+ "type": {
61728
+ "kind": "NON_NULL",
61729
+ "name": null,
61730
+ "ofType": {
61731
+ "kind": "SCALAR",
61732
+ "name": "String",
61733
+ "ofType": null
61734
+ }
61735
+ },
61736
+ "defaultValue": null,
61737
+ "isDeprecated": false,
61738
+ "deprecationReason": null
61739
+ },
61740
+ {
61741
+ "name": "payment_intent_object",
61742
+ "description": null,
61743
+ "type": {
61744
+ "kind": "NON_NULL",
61745
+ "name": null,
61746
+ "ofType": {
61747
+ "kind": "SCALAR",
61748
+ "name": "String",
61749
+ "ofType": null
61750
+ }
61751
+ },
61752
+ "defaultValue": null,
61753
+ "isDeprecated": false,
61754
+ "deprecationReason": null
61755
+ },
61756
+ {
61757
+ "name": "status",
61758
+ "description": null,
61759
+ "type": {
61760
+ "kind": "NON_NULL",
61761
+ "name": null,
61762
+ "ofType": {
61763
+ "kind": "SCALAR",
61764
+ "name": "String",
61765
+ "ofType": null
61766
+ }
61767
+ },
61768
+ "defaultValue": null,
61769
+ "isDeprecated": false,
61770
+ "deprecationReason": null
61771
+ },
61772
+ {
61773
+ "name": "type_id",
61774
+ "description": null,
61775
+ "type": {
61776
+ "kind": "NON_NULL",
61777
+ "name": null,
61778
+ "ofType": {
61779
+ "kind": "SCALAR",
61780
+ "name": "String",
61781
+ "ofType": null
61782
+ }
61783
+ },
61784
+ "defaultValue": null,
61785
+ "isDeprecated": false,
61786
+ "deprecationReason": null
61787
+ },
61788
+ {
61789
+ "name": "wallet_type",
61790
+ "description": null,
61791
+ "type": {
61792
+ "kind": "NON_NULL",
61793
+ "name": null,
61794
+ "ofType": {
61795
+ "kind": "SCALAR",
61796
+ "name": "String",
61797
+ "ofType": null
61798
+ }
61799
+ },
61800
+ "defaultValue": null,
61801
+ "isDeprecated": false,
61802
+ "deprecationReason": null
61803
+ }
61804
+ ],
61805
+ "interfaces": null,
61806
+ "enumValues": null,
61807
+ "possibleTypes": null
61808
+ },
61308
61809
  {
61309
61810
  "kind": "INPUT_OBJECT",
61310
61811
  "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>;
@@ -2945,7 +2960,7 @@ export type FacebookUserAndRole = {
2945
2960
 
2946
2961
  export type File = {
2947
2962
  __typename?: 'File';
2948
- bytes?: Maybe<Scalars['Int']['output']>;
2963
+ bytes?: Maybe<Scalars['Float']['output']>;
2949
2964
  format?: Maybe<Scalars['String']['output']>;
2950
2965
  height?: Maybe<Scalars['Int']['output']>;
2951
2966
  id?: Maybe<Scalars['ID']['output']>;
@@ -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>;
@@ -6352,7 +6386,7 @@ export type RetailerFields =
6352
6386
  export type RetailerInvite = {
6353
6387
  business_id?: InputMaybe<Scalars['ID']['input']>;
6354
6388
  id: Scalars['ID']['input'];
6355
- intended_amount_cents: Scalars['String']['input'];
6389
+ intended_amount_cents?: InputMaybe<Scalars['String']['input']>;
6356
6390
  };
6357
6391
 
6358
6392
  export type RetailerRequests = {
@@ -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.17.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
@@ -2842,7 +2858,7 @@ type FacebookUserAndRole {
2842
2858
  }
2843
2859
 
2844
2860
  type File {
2845
- bytes: Int
2861
+ bytes: Float
2846
2862
  format: String
2847
2863
  height: Int
2848
2864
  id: ID
@@ -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!]!
@@ -4806,7 +4827,7 @@ enum RetailerFields {
4806
4827
  input RetailerInvite {
4807
4828
  business_id: ID
4808
4829
  id: ID!
4809
- intended_amount_cents: String!
4830
+ intended_amount_cents: String
4810
4831
  }
4811
4832
 
4812
4833
  type RetailerRequests {
@@ -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