@promoboxx/graphql-gateway-types 1.14.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",
@@ -15760,6 +15908,30 @@
15760
15908
  "isDeprecated": false,
15761
15909
  "deprecationReason": null
15762
15910
  },
15911
+ {
15912
+ "name": "message_body",
15913
+ "description": null,
15914
+ "type": {
15915
+ "kind": "SCALAR",
15916
+ "name": "String",
15917
+ "ofType": null
15918
+ },
15919
+ "defaultValue": null,
15920
+ "isDeprecated": true,
15921
+ "deprecationReason": "No longer supported"
15922
+ },
15923
+ {
15924
+ "name": "message_subject",
15925
+ "description": null,
15926
+ "type": {
15927
+ "kind": "SCALAR",
15928
+ "name": "String",
15929
+ "ofType": null
15930
+ },
15931
+ "defaultValue": null,
15932
+ "isDeprecated": true,
15933
+ "deprecationReason": "No longer supported"
15934
+ },
15763
15935
  {
15764
15936
  "name": "retailer_account_id",
15765
15937
  "description": null,
@@ -36724,6 +36896,35 @@
36724
36896
  "isDeprecated": false,
36725
36897
  "deprecationReason": null
36726
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
+ },
36727
36928
  {
36728
36929
  "name": "addRetailerToRetailerAccount",
36729
36930
  "description": null,
@@ -42474,6 +42675,35 @@
42474
42675
  "isDeprecated": false,
42475
42676
  "deprecationReason": null
42476
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
+ },
42477
42707
  {
42478
42708
  "name": "updateSsoConnection",
42479
42709
  "description": null,
@@ -47832,7 +48062,20 @@
47832
48062
  {
47833
48063
  "name": "getGoalTypes",
47834
48064
  "description": "getGoalTypes will return all possible goal types currently supported",
47835
- "args": [],
48065
+ "args": [
48066
+ {
48067
+ "name": "brand_id",
48068
+ "description": null,
48069
+ "type": {
48070
+ "kind": "SCALAR",
48071
+ "name": "ID",
48072
+ "ofType": null
48073
+ },
48074
+ "defaultValue": null,
48075
+ "isDeprecated": true,
48076
+ "deprecationReason": "graphql-server defined this argument for no good reason"
48077
+ }
48078
+ ],
47836
48079
  "type": {
47837
48080
  "kind": "NON_NULL",
47838
48081
  "name": null,
@@ -49475,6 +49718,39 @@
49475
49718
  "isDeprecated": false,
49476
49719
  "deprecationReason": null
49477
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
+ },
49478
49754
  {
49479
49755
  "name": "getSupportedLocales",
49480
49756
  "description": null,
@@ -56985,6 +57261,145 @@
56985
57261
  "enumValues": null,
56986
57262
  "possibleTypes": null
56987
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
+ },
56988
57403
  {
56989
57404
  "kind": "OBJECT",
56990
57405
  "name": "SubBrandLogo",
@@ -59530,6 +59945,30 @@
59530
59945
  "isDeprecated": false,
59531
59946
  "deprecationReason": null
59532
59947
  },
59948
+ {
59949
+ "name": "message_body",
59950
+ "description": null,
59951
+ "type": {
59952
+ "kind": "SCALAR",
59953
+ "name": "String",
59954
+ "ofType": null
59955
+ },
59956
+ "defaultValue": null,
59957
+ "isDeprecated": true,
59958
+ "deprecationReason": "No longer supported"
59959
+ },
59960
+ {
59961
+ "name": "message_subject",
59962
+ "description": null,
59963
+ "type": {
59964
+ "kind": "SCALAR",
59965
+ "name": "String",
59966
+ "ofType": null
59967
+ },
59968
+ "defaultValue": null,
59969
+ "isDeprecated": true,
59970
+ "deprecationReason": "No longer supported"
59971
+ },
59533
59972
  {
59534
59973
  "name": "retailer_account_id",
59535
59974
  "description": null,
@@ -61112,9 +61551,13 @@
61112
61551
  "name": "ends_at",
61113
61552
  "description": null,
61114
61553
  "type": {
61115
- "kind": "SCALAR",
61116
- "name": "String",
61117
- "ofType": null
61554
+ "kind": "NON_NULL",
61555
+ "name": null,
61556
+ "ofType": {
61557
+ "kind": "SCALAR",
61558
+ "name": "String",
61559
+ "ofType": null
61560
+ }
61118
61561
  },
61119
61562
  "defaultValue": null,
61120
61563
  "isDeprecated": false,
@@ -61136,9 +61579,13 @@
61136
61579
  "name": "starts_at",
61137
61580
  "description": null,
61138
61581
  "type": {
61139
- "kind": "SCALAR",
61140
- "name": "String",
61141
- "ofType": null
61582
+ "kind": "NON_NULL",
61583
+ "name": null,
61584
+ "ofType": {
61585
+ "kind": "SCALAR",
61586
+ "name": "String",
61587
+ "ofType": null
61588
+ }
61142
61589
  },
61143
61590
  "defaultValue": null,
61144
61591
  "isDeprecated": false,
@@ -61179,6 +61626,18 @@
61179
61626
  "defaultValue": null,
61180
61627
  "isDeprecated": false,
61181
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
61182
61641
  }
61183
61642
  ],
61184
61643
  "interfaces": null,
@@ -61244,6 +61703,113 @@
61244
61703
  "enumValues": null,
61245
61704
  "possibleTypes": null
61246
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
+ },
61247
61813
  {
61248
61814
  "kind": "INPUT_OBJECT",
61249
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>;
@@ -1725,6 +1740,10 @@ export type CreateBrandRequestBrandRequest = {
1725
1740
  brand_message?: InputMaybe<Scalars['String']['input']>;
1726
1741
  brand_name?: InputMaybe<Scalars['String']['input']>;
1727
1742
  follow_up?: InputMaybe<Scalars['Boolean']['input']>;
1743
+ /** @deprecated No longer supported */
1744
+ message_body?: InputMaybe<Scalars['String']['input']>;
1745
+ /** @deprecated No longer supported */
1746
+ message_subject?: InputMaybe<Scalars['String']['input']>;
1728
1747
  retailer_account_id: Scalars['ID']['input'];
1729
1748
  retailer_account_message?: InputMaybe<Scalars['String']['input']>;
1730
1749
  source?: InputMaybe<BrandRequestSource>;
@@ -4063,6 +4082,7 @@ export type Mutation = {
4063
4082
  addBillboard?: Maybe<Billboard>;
4064
4083
  addContract?: Maybe<Contract>;
4065
4084
  addLogoToAdAccount: AdAccount;
4085
+ addPaymentIntent?: Maybe<StripePaymentIntent>;
4066
4086
  addRetailerToRetailerAccount: AddRetailerToRetailerAccountResponse;
4067
4087
  approveContentRequest: ContentRequest;
4068
4088
  batchAcceptBrandRequests: Scalars['String']['output'];
@@ -4216,6 +4236,7 @@ export type Mutation = {
4216
4236
  updateLocation?: Maybe<Location>;
4217
4237
  updateLogo: SubBrandLogo;
4218
4238
  updatePaidAd?: Maybe<Scalars['ID']['output']>;
4239
+ updatePaymentIntent?: Maybe<StripePaymentIntent>;
4219
4240
  updateSsoConnection: SsoConnection;
4220
4241
  updateUser: UpdateUserResponse;
4221
4242
  /** @deprecated Use bulkUpdateRetailerData or bulkDeleteRetailerData */
@@ -4258,6 +4279,11 @@ export type MutationAddLogoToAdAccountArgs = {
4258
4279
  };
4259
4280
 
4260
4281
 
4282
+ export type MutationAddPaymentIntentArgs = {
4283
+ data: AddStripePaymentIntent;
4284
+ };
4285
+
4286
+
4261
4287
  export type MutationAddRetailerToRetailerAccountArgs = {
4262
4288
  params: AddRetailerToRetailerAccountParams;
4263
4289
  };
@@ -5022,6 +5048,11 @@ export type MutationUpdatePaidAdArgs = {
5022
5048
  };
5023
5049
 
5024
5050
 
5051
+ export type MutationUpdatePaymentIntentArgs = {
5052
+ data: UpdateStripePaymentIntent;
5053
+ };
5054
+
5055
+
5025
5056
  export type MutationUpdateSsoConnectionArgs = {
5026
5057
  id: Scalars['ID']['input'];
5027
5058
  sso_connection: SsoConnectionInput;
@@ -5402,6 +5433,8 @@ export type Query = {
5402
5433
  getSsoConnectionById: SsoConnection;
5403
5434
  getSsoConnectionsForUser: Array<SsoConnection>;
5404
5435
  getStats: StatsResponse;
5436
+ /** Gets the specific stripe payment intent with the given ID */
5437
+ getStripePaymentIntent: StripePaymentIntent;
5405
5438
  getSupportedLocales?: Maybe<Array<Scalars['String']['output']>>;
5406
5439
  getTwitterAccount: TwitterAccount;
5407
5440
  getTwitterAccounts: Array<TwitterAccount>;
@@ -5833,6 +5866,11 @@ export type QueryGetGoalSetsArgs = {
5833
5866
  };
5834
5867
 
5835
5868
 
5869
+ export type QueryGetGoalTypesArgs = {
5870
+ brand_id?: InputMaybe<Scalars['ID']['input']>;
5871
+ };
5872
+
5873
+
5836
5874
  export type QueryGetGraphMeArgs = {
5837
5875
  accessToken: Scalars['String']['input'];
5838
5876
  fields?: InputMaybe<Array<Scalars['String']['input']>>;
@@ -6022,6 +6060,11 @@ export type QueryGetStatsArgs = {
6022
6060
  };
6023
6061
 
6024
6062
 
6063
+ export type QueryGetStripePaymentIntentArgs = {
6064
+ id: Scalars['ID']['input'];
6065
+ };
6066
+
6067
+
6025
6068
  export type QueryGetTwitterAccountArgs = {
6026
6069
  id: Scalars['ID']['input'];
6027
6070
  params?: InputMaybe<TwitterAccountParams>;
@@ -6845,6 +6888,18 @@ export type StatsType =
6845
6888
  | 'accelerate_retailer_campaign'
6846
6889
  | 'retailer_campaigns';
6847
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
+
6848
6903
  export type SubBrandLogo = {
6849
6904
  __typename?: 'SubBrandLogo';
6850
6905
  brand_id: Scalars['ID']['output'];
@@ -7130,6 +7185,10 @@ export type UpdateBrandRequestBrandRequest = {
7130
7185
  brand_message?: InputMaybe<Scalars['String']['input']>;
7131
7186
  brand_name?: InputMaybe<Scalars['String']['input']>;
7132
7187
  follow_up?: InputMaybe<Scalars['Boolean']['input']>;
7188
+ /** @deprecated No longer supported */
7189
+ message_body?: InputMaybe<Scalars['String']['input']>;
7190
+ /** @deprecated No longer supported */
7191
+ message_subject?: InputMaybe<Scalars['String']['input']>;
7133
7192
  retailer_account_id?: InputMaybe<Scalars['ID']['input']>;
7134
7193
  retailer_account_message?: InputMaybe<Scalars['String']['input']>;
7135
7194
  submitted?: InputMaybe<Scalars['Boolean']['input']>;
@@ -7290,12 +7349,13 @@ export type UpdateMedia = {
7290
7349
  export type UpdatePaidAdData = {
7291
7350
  automated?: InputMaybe<Scalars['Boolean']['input']>;
7292
7351
  channels?: InputMaybe<Array<Scalars['String']['input']>>;
7293
- ends_at?: InputMaybe<Scalars['String']['input']>;
7352
+ ends_at: Scalars['String']['input'];
7294
7353
  objective?: InputMaybe<Scalars['String']['input']>;
7295
- starts_at?: InputMaybe<Scalars['String']['input']>;
7354
+ starts_at: Scalars['String']['input'];
7296
7355
  state?: InputMaybe<Scalars['String']['input']>;
7297
7356
  thumbnail?: InputMaybe<Thumbnail>;
7298
7357
  title?: InputMaybe<Scalars['String']['input']>;
7358
+ type?: InputMaybe<AdCampaignType>;
7299
7359
  };
7300
7360
 
7301
7361
  export type UpdatePaidAdParams = {
@@ -7304,6 +7364,15 @@ export type UpdatePaidAdParams = {
7304
7364
  data: UpdatePaidAdData;
7305
7365
  };
7306
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
+
7307
7376
  export type UpdateUserInput = {
7308
7377
  company?: InputMaybe<Scalars['String']['input']>;
7309
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.14.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
@@ -1649,6 +1665,8 @@ input CreateBrandRequestBrandRequest {
1649
1665
  brand_message: String
1650
1666
  brand_name: String
1651
1667
  follow_up: Boolean
1668
+ message_body: String @deprecated
1669
+ message_subject: String @deprecated
1652
1670
  retailer_account_id: ID!
1653
1671
  retailer_account_message: String
1654
1672
  source: BrandRequestSource
@@ -3922,6 +3940,7 @@ type Mutation {
3922
3940
  addBillboard(data: AddBillboardData!): Billboard
3923
3941
  addContract(brandId: ID!, data: AddContractData!): Contract
3924
3942
  addLogoToAdAccount(params: AddLogoToAdAccountParams!): AdAccount!
3943
+ addPaymentIntent(data: AddStripePaymentIntent!): StripePaymentIntent
3925
3944
  addRetailerToRetailerAccount(params: AddRetailerToRetailerAccountParams!): AddRetailerToRetailerAccountResponse!
3926
3945
  approveContentRequest(campaign_request_id: ID!): ContentRequest!
3927
3946
  batchAcceptBrandRequests(resource_id: ID!, resource_type: String!): String!
@@ -4085,6 +4104,7 @@ type Mutation {
4085
4104
  updateLocation(id: ID!, location: LocationInput!): Location
4086
4105
  updateLogo(id: ID!, logo: CreateOrUpdateLogoData!): SubBrandLogo!
4087
4106
  updatePaidAd(params: UpdatePaidAdParams!): ID
4107
+ updatePaymentIntent(data: UpdateStripePaymentIntent!): StripePaymentIntent
4088
4108
  updateSsoConnection(id: ID!, sso_connection: SsoConnectionInput!, user_id: ID!): SsoConnection!
4089
4109
  updateUser(user: UpdateUserInput!): UpdateUserResponse!
4090
4110
  uploadCsv(brandId: String!, params: UploadCsvParams!): UploadCsvResponse @deprecated(reason: "Use bulkUpdateRetailerData or bulkDeleteRetailerData")
@@ -4489,7 +4509,7 @@ type Query {
4489
4509
  getGoalSets(brand_id: ID!, end_date: String!, start_date: String!): GetGoalSetsResponse!
4490
4510
 
4491
4511
  """getGoalTypes will return all possible goal types currently supported"""
4492
- getGoalTypes: AvailableGoalTypes!
4512
+ getGoalTypes(brand_id: ID @deprecated(reason: "graphql-server defined this argument for no good reason")): AvailableGoalTypes!
4493
4513
  getGraphMe(accessToken: String!, fields: [String!]): FacebookGraphMe
4494
4514
  getGraphPermissions(accessToken: String!, fields: [FacebookGraphField!]): [FacebookGraphPermission!]
4495
4515
  getGraphTokenStatus(accessToken: String!, fields: [FacebookGraphField!]): FacebookGraphTokenStatus
@@ -4526,6 +4546,9 @@ type Query {
4526
4546
  getSsoConnectionById(id: ID!): SsoConnection!
4527
4547
  getSsoConnectionsForUser(user_id: ID!): [SsoConnection!]!
4528
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!
4529
4552
  getSupportedLocales: [String!]
4530
4553
  getTwitterAccount(id: ID!, params: TwitterAccountParams): TwitterAccount!
4531
4554
  getTwitterAccounts(params: TwitterAccountParams, resourceId: ID!, resourceType: String!): [TwitterAccount!]!
@@ -5291,6 +5314,17 @@ enum StatsType {
5291
5314
  retailer_campaigns
5292
5315
  }
5293
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
+
5294
5328
  type SubBrandLogo {
5295
5329
  brand_id: ID!
5296
5330
  deactivated_at: String
@@ -5568,6 +5602,8 @@ input UpdateBrandRequestBrandRequest {
5568
5602
  brand_message: String
5569
5603
  brand_name: String
5570
5604
  follow_up: Boolean
5605
+ message_body: String @deprecated
5606
+ message_subject: String @deprecated
5571
5607
  retailer_account_id: ID
5572
5608
  retailer_account_message: String
5573
5609
  submitted: Boolean
@@ -5727,12 +5763,13 @@ input UpdateMedia {
5727
5763
  input UpdatePaidAdData {
5728
5764
  automated: Boolean
5729
5765
  channels: [String!]
5730
- ends_at: String
5766
+ ends_at: String!
5731
5767
  objective: String
5732
- starts_at: String
5768
+ starts_at: String!
5733
5769
  state: String
5734
5770
  thumbnail: Thumbnail
5735
5771
  title: String
5772
+ type: AdCampaignType
5736
5773
  }
5737
5774
 
5738
5775
  input UpdatePaidAdParams {
@@ -5741,6 +5778,15 @@ input UpdatePaidAdParams {
5741
5778
  data: UpdatePaidAdData!
5742
5779
  }
5743
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
+
5744
5790
  input UpdateUserInput {
5745
5791
  company: String
5746
5792
  email: String