@promoboxx/graphql-gateway-types 1.27.0 → 1.29.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/graphql.schema.json +259 -136
- package/index.d.ts +31 -15
- package/package.json +1 -1
- package/schema.graphql +25 -10
package/graphql.schema.json
CHANGED
|
@@ -3165,113 +3165,6 @@
|
|
|
3165
3165
|
"enumValues": null,
|
|
3166
3166
|
"possibleTypes": null
|
|
3167
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
|
-
},
|
|
3275
3168
|
{
|
|
3276
3169
|
"kind": "INPUT_OBJECT",
|
|
3277
3170
|
"name": "AdsByBrandParams",
|
|
@@ -3487,12 +3380,60 @@
|
|
|
3487
3380
|
"isDeprecated": false,
|
|
3488
3381
|
"deprecationReason": null
|
|
3489
3382
|
},
|
|
3383
|
+
{
|
|
3384
|
+
"name": "LOCAL_AWARENESS",
|
|
3385
|
+
"description": null,
|
|
3386
|
+
"isDeprecated": false,
|
|
3387
|
+
"deprecationReason": null
|
|
3388
|
+
},
|
|
3490
3389
|
{
|
|
3491
3390
|
"name": "MESSAGES",
|
|
3492
3391
|
"description": null,
|
|
3493
3392
|
"isDeprecated": false,
|
|
3494
3393
|
"deprecationReason": null
|
|
3495
3394
|
},
|
|
3395
|
+
{
|
|
3396
|
+
"name": "OFFER_CLAIMS",
|
|
3397
|
+
"description": null,
|
|
3398
|
+
"isDeprecated": false,
|
|
3399
|
+
"deprecationReason": null
|
|
3400
|
+
},
|
|
3401
|
+
{
|
|
3402
|
+
"name": "OUTCOME_APP_PROMOTION",
|
|
3403
|
+
"description": null,
|
|
3404
|
+
"isDeprecated": false,
|
|
3405
|
+
"deprecationReason": null
|
|
3406
|
+
},
|
|
3407
|
+
{
|
|
3408
|
+
"name": "OUTCOME_AWARENESS",
|
|
3409
|
+
"description": null,
|
|
3410
|
+
"isDeprecated": false,
|
|
3411
|
+
"deprecationReason": null
|
|
3412
|
+
},
|
|
3413
|
+
{
|
|
3414
|
+
"name": "OUTCOME_ENGAGEMENT",
|
|
3415
|
+
"description": null,
|
|
3416
|
+
"isDeprecated": false,
|
|
3417
|
+
"deprecationReason": null
|
|
3418
|
+
},
|
|
3419
|
+
{
|
|
3420
|
+
"name": "OUTCOME_LEADS",
|
|
3421
|
+
"description": null,
|
|
3422
|
+
"isDeprecated": false,
|
|
3423
|
+
"deprecationReason": null
|
|
3424
|
+
},
|
|
3425
|
+
{
|
|
3426
|
+
"name": "OUTCOME_SALES",
|
|
3427
|
+
"description": null,
|
|
3428
|
+
"isDeprecated": false,
|
|
3429
|
+
"deprecationReason": null
|
|
3430
|
+
},
|
|
3431
|
+
{
|
|
3432
|
+
"name": "OUTCOME_TRAFFIC",
|
|
3433
|
+
"description": null,
|
|
3434
|
+
"isDeprecated": false,
|
|
3435
|
+
"deprecationReason": null
|
|
3436
|
+
},
|
|
3496
3437
|
{
|
|
3497
3438
|
"name": "PAGE_LIKES",
|
|
3498
3439
|
"description": null,
|
|
@@ -18858,6 +18799,97 @@
|
|
|
18858
18799
|
"enumValues": null,
|
|
18859
18800
|
"possibleTypes": null
|
|
18860
18801
|
},
|
|
18802
|
+
{
|
|
18803
|
+
"kind": "INPUT_OBJECT",
|
|
18804
|
+
"name": "CreateStripePaymentIntentInput",
|
|
18805
|
+
"description": null,
|
|
18806
|
+
"fields": null,
|
|
18807
|
+
"inputFields": [
|
|
18808
|
+
{
|
|
18809
|
+
"name": "amount_cents",
|
|
18810
|
+
"description": null,
|
|
18811
|
+
"type": {
|
|
18812
|
+
"kind": "NON_NULL",
|
|
18813
|
+
"name": null,
|
|
18814
|
+
"ofType": {
|
|
18815
|
+
"kind": "SCALAR",
|
|
18816
|
+
"name": "String",
|
|
18817
|
+
"ofType": null
|
|
18818
|
+
}
|
|
18819
|
+
},
|
|
18820
|
+
"defaultValue": null,
|
|
18821
|
+
"isDeprecated": false,
|
|
18822
|
+
"deprecationReason": null
|
|
18823
|
+
},
|
|
18824
|
+
{
|
|
18825
|
+
"name": "currency",
|
|
18826
|
+
"description": null,
|
|
18827
|
+
"type": {
|
|
18828
|
+
"kind": "NON_NULL",
|
|
18829
|
+
"name": null,
|
|
18830
|
+
"ofType": {
|
|
18831
|
+
"kind": "SCALAR",
|
|
18832
|
+
"name": "String",
|
|
18833
|
+
"ofType": null
|
|
18834
|
+
}
|
|
18835
|
+
},
|
|
18836
|
+
"defaultValue": null,
|
|
18837
|
+
"isDeprecated": false,
|
|
18838
|
+
"deprecationReason": null
|
|
18839
|
+
},
|
|
18840
|
+
{
|
|
18841
|
+
"name": "payment_type",
|
|
18842
|
+
"description": null,
|
|
18843
|
+
"type": {
|
|
18844
|
+
"kind": "NON_NULL",
|
|
18845
|
+
"name": null,
|
|
18846
|
+
"ofType": {
|
|
18847
|
+
"kind": "SCALAR",
|
|
18848
|
+
"name": "String",
|
|
18849
|
+
"ofType": null
|
|
18850
|
+
}
|
|
18851
|
+
},
|
|
18852
|
+
"defaultValue": null,
|
|
18853
|
+
"isDeprecated": false,
|
|
18854
|
+
"deprecationReason": null
|
|
18855
|
+
},
|
|
18856
|
+
{
|
|
18857
|
+
"name": "type",
|
|
18858
|
+
"description": null,
|
|
18859
|
+
"type": {
|
|
18860
|
+
"kind": "NON_NULL",
|
|
18861
|
+
"name": null,
|
|
18862
|
+
"ofType": {
|
|
18863
|
+
"kind": "SCALAR",
|
|
18864
|
+
"name": "String",
|
|
18865
|
+
"ofType": null
|
|
18866
|
+
}
|
|
18867
|
+
},
|
|
18868
|
+
"defaultValue": null,
|
|
18869
|
+
"isDeprecated": false,
|
|
18870
|
+
"deprecationReason": null
|
|
18871
|
+
},
|
|
18872
|
+
{
|
|
18873
|
+
"name": "type_id",
|
|
18874
|
+
"description": null,
|
|
18875
|
+
"type": {
|
|
18876
|
+
"kind": "NON_NULL",
|
|
18877
|
+
"name": null,
|
|
18878
|
+
"ofType": {
|
|
18879
|
+
"kind": "SCALAR",
|
|
18880
|
+
"name": "ID",
|
|
18881
|
+
"ofType": null
|
|
18882
|
+
}
|
|
18883
|
+
},
|
|
18884
|
+
"defaultValue": null,
|
|
18885
|
+
"isDeprecated": false,
|
|
18886
|
+
"deprecationReason": null
|
|
18887
|
+
}
|
|
18888
|
+
],
|
|
18889
|
+
"interfaces": null,
|
|
18890
|
+
"enumValues": null,
|
|
18891
|
+
"possibleTypes": null
|
|
18892
|
+
},
|
|
18861
18893
|
{
|
|
18862
18894
|
"kind": "INPUT_OBJECT",
|
|
18863
18895
|
"name": "CreateSupportEmailRequest",
|
|
@@ -36951,35 +36983,6 @@
|
|
|
36951
36983
|
"isDeprecated": false,
|
|
36952
36984
|
"deprecationReason": null
|
|
36953
36985
|
},
|
|
36954
|
-
{
|
|
36955
|
-
"name": "addPaymentIntent",
|
|
36956
|
-
"description": null,
|
|
36957
|
-
"args": [
|
|
36958
|
-
{
|
|
36959
|
-
"name": "data",
|
|
36960
|
-
"description": null,
|
|
36961
|
-
"type": {
|
|
36962
|
-
"kind": "NON_NULL",
|
|
36963
|
-
"name": null,
|
|
36964
|
-
"ofType": {
|
|
36965
|
-
"kind": "INPUT_OBJECT",
|
|
36966
|
-
"name": "AddStripePaymentIntent",
|
|
36967
|
-
"ofType": null
|
|
36968
|
-
}
|
|
36969
|
-
},
|
|
36970
|
-
"defaultValue": null,
|
|
36971
|
-
"isDeprecated": false,
|
|
36972
|
-
"deprecationReason": null
|
|
36973
|
-
}
|
|
36974
|
-
],
|
|
36975
|
-
"type": {
|
|
36976
|
-
"kind": "OBJECT",
|
|
36977
|
-
"name": "StripePaymentIntent",
|
|
36978
|
-
"ofType": null
|
|
36979
|
-
},
|
|
36980
|
-
"isDeprecated": false,
|
|
36981
|
-
"deprecationReason": null
|
|
36982
|
-
},
|
|
36983
36986
|
{
|
|
36984
36987
|
"name": "addRetailerToRetailerAccount",
|
|
36985
36988
|
"description": null,
|
|
@@ -38809,6 +38812,35 @@
|
|
|
38809
38812
|
"isDeprecated": false,
|
|
38810
38813
|
"deprecationReason": null
|
|
38811
38814
|
},
|
|
38815
|
+
{
|
|
38816
|
+
"name": "createPaymentIntent",
|
|
38817
|
+
"description": null,
|
|
38818
|
+
"args": [
|
|
38819
|
+
{
|
|
38820
|
+
"name": "req",
|
|
38821
|
+
"description": null,
|
|
38822
|
+
"type": {
|
|
38823
|
+
"kind": "NON_NULL",
|
|
38824
|
+
"name": null,
|
|
38825
|
+
"ofType": {
|
|
38826
|
+
"kind": "INPUT_OBJECT",
|
|
38827
|
+
"name": "CreateStripePaymentIntentInput",
|
|
38828
|
+
"ofType": null
|
|
38829
|
+
}
|
|
38830
|
+
},
|
|
38831
|
+
"defaultValue": null,
|
|
38832
|
+
"isDeprecated": false,
|
|
38833
|
+
"deprecationReason": null
|
|
38834
|
+
}
|
|
38835
|
+
],
|
|
38836
|
+
"type": {
|
|
38837
|
+
"kind": "OBJECT",
|
|
38838
|
+
"name": "StripePaymentIntent",
|
|
38839
|
+
"ofType": null
|
|
38840
|
+
},
|
|
38841
|
+
"isDeprecated": false,
|
|
38842
|
+
"deprecationReason": null
|
|
38843
|
+
},
|
|
38812
38844
|
{
|
|
38813
38845
|
"name": "createPlatformAccessRequest",
|
|
38814
38846
|
"description": null,
|
|
@@ -57345,11 +57377,102 @@
|
|
|
57345
57377
|
"enumValues": null,
|
|
57346
57378
|
"possibleTypes": null
|
|
57347
57379
|
},
|
|
57380
|
+
{
|
|
57381
|
+
"kind": "OBJECT",
|
|
57382
|
+
"name": "StripePaymentClientSecretResponse",
|
|
57383
|
+
"description": null,
|
|
57384
|
+
"fields": [
|
|
57385
|
+
{
|
|
57386
|
+
"name": "client_secret",
|
|
57387
|
+
"description": null,
|
|
57388
|
+
"args": [],
|
|
57389
|
+
"type": {
|
|
57390
|
+
"kind": "NON_NULL",
|
|
57391
|
+
"name": null,
|
|
57392
|
+
"ofType": {
|
|
57393
|
+
"kind": "SCALAR",
|
|
57394
|
+
"name": "String",
|
|
57395
|
+
"ofType": null
|
|
57396
|
+
}
|
|
57397
|
+
},
|
|
57398
|
+
"isDeprecated": false,
|
|
57399
|
+
"deprecationReason": null
|
|
57400
|
+
},
|
|
57401
|
+
{
|
|
57402
|
+
"name": "id",
|
|
57403
|
+
"description": null,
|
|
57404
|
+
"args": [],
|
|
57405
|
+
"type": {
|
|
57406
|
+
"kind": "NON_NULL",
|
|
57407
|
+
"name": null,
|
|
57408
|
+
"ofType": {
|
|
57409
|
+
"kind": "SCALAR",
|
|
57410
|
+
"name": "String",
|
|
57411
|
+
"ofType": null
|
|
57412
|
+
}
|
|
57413
|
+
},
|
|
57414
|
+
"isDeprecated": false,
|
|
57415
|
+
"deprecationReason": null
|
|
57416
|
+
}
|
|
57417
|
+
],
|
|
57418
|
+
"inputFields": null,
|
|
57419
|
+
"interfaces": [],
|
|
57420
|
+
"enumValues": null,
|
|
57421
|
+
"possibleTypes": null
|
|
57422
|
+
},
|
|
57348
57423
|
{
|
|
57349
57424
|
"kind": "OBJECT",
|
|
57350
57425
|
"name": "StripePaymentIntent",
|
|
57351
57426
|
"description": null,
|
|
57352
57427
|
"fields": [
|
|
57428
|
+
{
|
|
57429
|
+
"name": "amount",
|
|
57430
|
+
"description": null,
|
|
57431
|
+
"args": [],
|
|
57432
|
+
"type": {
|
|
57433
|
+
"kind": "NON_NULL",
|
|
57434
|
+
"name": null,
|
|
57435
|
+
"ofType": {
|
|
57436
|
+
"kind": "SCALAR",
|
|
57437
|
+
"name": "String",
|
|
57438
|
+
"ofType": null
|
|
57439
|
+
}
|
|
57440
|
+
},
|
|
57441
|
+
"isDeprecated": false,
|
|
57442
|
+
"deprecationReason": null
|
|
57443
|
+
},
|
|
57444
|
+
{
|
|
57445
|
+
"name": "amount_stripe_fee",
|
|
57446
|
+
"description": null,
|
|
57447
|
+
"args": [],
|
|
57448
|
+
"type": {
|
|
57449
|
+
"kind": "NON_NULL",
|
|
57450
|
+
"name": null,
|
|
57451
|
+
"ofType": {
|
|
57452
|
+
"kind": "SCALAR",
|
|
57453
|
+
"name": "String",
|
|
57454
|
+
"ofType": null
|
|
57455
|
+
}
|
|
57456
|
+
},
|
|
57457
|
+
"isDeprecated": false,
|
|
57458
|
+
"deprecationReason": null
|
|
57459
|
+
},
|
|
57460
|
+
{
|
|
57461
|
+
"name": "client_secret",
|
|
57462
|
+
"description": null,
|
|
57463
|
+
"args": [],
|
|
57464
|
+
"type": {
|
|
57465
|
+
"kind": "NON_NULL",
|
|
57466
|
+
"name": null,
|
|
57467
|
+
"ofType": {
|
|
57468
|
+
"kind": "SCALAR",
|
|
57469
|
+
"name": "String",
|
|
57470
|
+
"ofType": null
|
|
57471
|
+
}
|
|
57472
|
+
},
|
|
57473
|
+
"isDeprecated": false,
|
|
57474
|
+
"deprecationReason": null
|
|
57475
|
+
},
|
|
57353
57476
|
{
|
|
57354
57477
|
"name": "created_at",
|
|
57355
57478
|
"description": null,
|
package/index.d.ts
CHANGED
|
@@ -366,15 +366,6 @@ export type AddRetailerToRetailerAccountResponse = {
|
|
|
366
366
|
website?: Maybe<Scalars['String']['output']>;
|
|
367
367
|
};
|
|
368
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
|
-
|
|
378
369
|
export type AdsByBrandParams = {
|
|
379
370
|
brand_id: Scalars['ID']['input'];
|
|
380
371
|
filter_paging_parameters?: InputMaybe<FilterPagingParams>;
|
|
@@ -401,7 +392,15 @@ export type AdvertisingObjective =
|
|
|
401
392
|
| 'BRAND_AWARENESS'
|
|
402
393
|
| 'LEAD_GEN'
|
|
403
394
|
| 'LINK_CLICKS'
|
|
395
|
+
| 'LOCAL_AWARENESS'
|
|
404
396
|
| 'MESSAGES'
|
|
397
|
+
| 'OFFER_CLAIMS'
|
|
398
|
+
| 'OUTCOME_APP_PROMOTION'
|
|
399
|
+
| 'OUTCOME_AWARENESS'
|
|
400
|
+
| 'OUTCOME_ENGAGEMENT'
|
|
401
|
+
| 'OUTCOME_LEADS'
|
|
402
|
+
| 'OUTCOME_SALES'
|
|
403
|
+
| 'OUTCOME_TRAFFIC'
|
|
405
404
|
| 'PAGE_LIKES'
|
|
406
405
|
| 'REACH'
|
|
407
406
|
| 'VIDEO_VIEWS';
|
|
@@ -2022,6 +2021,14 @@ export type CreateShareSettingCarouselShareSettingParams = {
|
|
|
2022
2021
|
share_setting_copy_options_attributes?: InputMaybe<Array<SuggestedCopyInput>>;
|
|
2023
2022
|
};
|
|
2024
2023
|
|
|
2024
|
+
export type CreateStripePaymentIntentInput = {
|
|
2025
|
+
amount_cents: Scalars['String']['input'];
|
|
2026
|
+
currency: Scalars['String']['input'];
|
|
2027
|
+
payment_type: Scalars['String']['input'];
|
|
2028
|
+
type: Scalars['String']['input'];
|
|
2029
|
+
type_id: Scalars['ID']['input'];
|
|
2030
|
+
};
|
|
2031
|
+
|
|
2025
2032
|
export type CreateSupportEmailRequest = {
|
|
2026
2033
|
email_address: Scalars['String']['input'];
|
|
2027
2034
|
message: Scalars['String']['input'];
|
|
@@ -4088,7 +4095,6 @@ export type Mutation = {
|
|
|
4088
4095
|
addBillboard?: Maybe<Billboard>;
|
|
4089
4096
|
addContract?: Maybe<Contract>;
|
|
4090
4097
|
addLogoToAdAccount: AdAccount;
|
|
4091
|
-
addPaymentIntent?: Maybe<StripePaymentIntent>;
|
|
4092
4098
|
addRetailerToRetailerAccount: AddRetailerToRetailerAccountResponse;
|
|
4093
4099
|
approveContentRequest: ContentRequest;
|
|
4094
4100
|
batchAcceptBrandRequests: Scalars['String']['output'];
|
|
@@ -4129,6 +4135,7 @@ export type Mutation = {
|
|
|
4129
4135
|
createNote: Note;
|
|
4130
4136
|
/** will create or update a goal set for a given brand, user must have internal permissions */
|
|
4131
4137
|
createOrUpdateGoalSet: GoalSet;
|
|
4138
|
+
createPaymentIntent?: Maybe<StripePaymentIntent>;
|
|
4132
4139
|
createPlatformAccessRequest?: Maybe<PlatformAccessRequest>;
|
|
4133
4140
|
createRetailer: CreateRetailerResponse;
|
|
4134
4141
|
createShareSettingBulk: Array<ShareSetting>;
|
|
@@ -4286,11 +4293,6 @@ export type MutationAddLogoToAdAccountArgs = {
|
|
|
4286
4293
|
};
|
|
4287
4294
|
|
|
4288
4295
|
|
|
4289
|
-
export type MutationAddPaymentIntentArgs = {
|
|
4290
|
-
data: AddStripePaymentIntent;
|
|
4291
|
-
};
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
4296
|
export type MutationAddRetailerToRetailerAccountArgs = {
|
|
4295
4297
|
params: AddRetailerToRetailerAccountParams;
|
|
4296
4298
|
};
|
|
@@ -4516,6 +4518,11 @@ export type MutationCreateOrUpdateGoalSetArgs = {
|
|
|
4516
4518
|
};
|
|
4517
4519
|
|
|
4518
4520
|
|
|
4521
|
+
export type MutationCreatePaymentIntentArgs = {
|
|
4522
|
+
req: CreateStripePaymentIntentInput;
|
|
4523
|
+
};
|
|
4524
|
+
|
|
4525
|
+
|
|
4519
4526
|
export type MutationCreatePlatformAccessRequestArgs = {
|
|
4520
4527
|
platform_access_request: CreatePlatformAccessRequestParams;
|
|
4521
4528
|
};
|
|
@@ -6900,8 +6907,17 @@ export type StatsType =
|
|
|
6900
6907
|
| 'accelerate_retailer_campaign'
|
|
6901
6908
|
| 'retailer_campaigns';
|
|
6902
6909
|
|
|
6910
|
+
export type StripePaymentClientSecretResponse = {
|
|
6911
|
+
__typename?: 'StripePaymentClientSecretResponse';
|
|
6912
|
+
client_secret: Scalars['String']['output'];
|
|
6913
|
+
id: Scalars['String']['output'];
|
|
6914
|
+
};
|
|
6915
|
+
|
|
6903
6916
|
export type StripePaymentIntent = {
|
|
6904
6917
|
__typename?: 'StripePaymentIntent';
|
|
6918
|
+
amount: Scalars['String']['output'];
|
|
6919
|
+
amount_stripe_fee: Scalars['String']['output'];
|
|
6920
|
+
client_secret: Scalars['String']['output'];
|
|
6905
6921
|
created_at: Scalars['String']['output'];
|
|
6906
6922
|
id: Scalars['ID']['output'];
|
|
6907
6923
|
payment_intent_id: Scalars['String']['output'];
|
package/package.json
CHANGED
package/schema.graphql
CHANGED
|
@@ -345,15 +345,6 @@ type AddRetailerToRetailerAccountResponse {
|
|
|
345
345
|
website: String
|
|
346
346
|
}
|
|
347
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
|
-
|
|
357
348
|
input AdsByBrandParams {
|
|
358
349
|
brand_id: ID!
|
|
359
350
|
filter_paging_parameters: FilterPagingParams
|
|
@@ -379,7 +370,15 @@ enum AdvertisingObjective {
|
|
|
379
370
|
BRAND_AWARENESS
|
|
380
371
|
LEAD_GEN
|
|
381
372
|
LINK_CLICKS
|
|
373
|
+
LOCAL_AWARENESS
|
|
382
374
|
MESSAGES
|
|
375
|
+
OFFER_CLAIMS
|
|
376
|
+
OUTCOME_APP_PROMOTION
|
|
377
|
+
OUTCOME_AWARENESS
|
|
378
|
+
OUTCOME_ENGAGEMENT
|
|
379
|
+
OUTCOME_LEADS
|
|
380
|
+
OUTCOME_SALES
|
|
381
|
+
OUTCOME_TRAFFIC
|
|
383
382
|
PAGE_LIKES
|
|
384
383
|
REACH
|
|
385
384
|
VIDEO_VIEWS
|
|
@@ -1946,6 +1945,14 @@ input CreateShareSettingCarouselShareSettingParams {
|
|
|
1946
1945
|
share_setting_copy_options_attributes: [SuggestedCopyInput!]
|
|
1947
1946
|
}
|
|
1948
1947
|
|
|
1948
|
+
input CreateStripePaymentIntentInput {
|
|
1949
|
+
amount_cents: String!
|
|
1950
|
+
currency: String!
|
|
1951
|
+
payment_type: String!
|
|
1952
|
+
type: String!
|
|
1953
|
+
type_id: ID!
|
|
1954
|
+
}
|
|
1955
|
+
|
|
1949
1956
|
input CreateSupportEmailRequest {
|
|
1950
1957
|
email_address: String!
|
|
1951
1958
|
message: String!
|
|
@@ -3946,7 +3953,6 @@ type Mutation {
|
|
|
3946
3953
|
addBillboard(data: AddBillboardData!): Billboard
|
|
3947
3954
|
addContract(brandId: ID!, data: AddContractData!): Contract
|
|
3948
3955
|
addLogoToAdAccount(params: AddLogoToAdAccountParams!): AdAccount!
|
|
3949
|
-
addPaymentIntent(data: AddStripePaymentIntent!): StripePaymentIntent
|
|
3950
3956
|
addRetailerToRetailerAccount(params: AddRetailerToRetailerAccountParams!): AddRetailerToRetailerAccountResponse!
|
|
3951
3957
|
approveContentRequest(campaign_request_id: ID!): ContentRequest!
|
|
3952
3958
|
batchAcceptBrandRequests(resource_id: ID!, resource_type: String!): String!
|
|
@@ -3988,6 +3994,7 @@ type Mutation {
|
|
|
3988
3994
|
will create or update a goal set for a given brand, user must have internal permissions
|
|
3989
3995
|
"""
|
|
3990
3996
|
createOrUpdateGoalSet(brand_id: String!, goals: [GoalMetricData!]!): GoalSet!
|
|
3997
|
+
createPaymentIntent(req: CreateStripePaymentIntentInput!): StripePaymentIntent
|
|
3991
3998
|
createPlatformAccessRequest(platform_access_request: CreatePlatformAccessRequestParams!): PlatformAccessRequest
|
|
3992
3999
|
createRetailer(params: CreateRetailerParams!): CreateRetailerResponse!
|
|
3993
4000
|
createShareSettingBulk(campaign_id: ID!, params: CreateShareSettingBulkParams!): [ShareSetting!]!
|
|
@@ -5321,7 +5328,15 @@ enum StatsType {
|
|
|
5321
5328
|
retailer_campaigns
|
|
5322
5329
|
}
|
|
5323
5330
|
|
|
5331
|
+
type StripePaymentClientSecretResponse {
|
|
5332
|
+
client_secret: String!
|
|
5333
|
+
id: String!
|
|
5334
|
+
}
|
|
5335
|
+
|
|
5324
5336
|
type StripePaymentIntent {
|
|
5337
|
+
amount: String!
|
|
5338
|
+
amount_stripe_fee: String!
|
|
5339
|
+
client_secret: String!
|
|
5325
5340
|
created_at: String!
|
|
5326
5341
|
id: ID!
|
|
5327
5342
|
payment_intent_id: String!
|