@promoboxx/graphql-gateway-types 1.1071.0 → 1.1073.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.
@@ -6216,42 +6216,6 @@
6216
6216
  ],
6217
6217
  "possibleTypes": null
6218
6218
  },
6219
- {
6220
- "kind": "OBJECT",
6221
- "name": "AvailableGoalTypes",
6222
- "description": "AvailableGoalTypes are the goal types currently supported.",
6223
- "isOneOf": null,
6224
- "fields": [
6225
- {
6226
- "name": "goal_types",
6227
- "description": null,
6228
- "args": [],
6229
- "type": {
6230
- "kind": "NON_NULL",
6231
- "name": null,
6232
- "ofType": {
6233
- "kind": "LIST",
6234
- "name": null,
6235
- "ofType": {
6236
- "kind": "NON_NULL",
6237
- "name": null,
6238
- "ofType": {
6239
- "kind": "SCALAR",
6240
- "name": "String",
6241
- "ofType": null
6242
- }
6243
- }
6244
- }
6245
- },
6246
- "isDeprecated": false,
6247
- "deprecationReason": null
6248
- }
6249
- ],
6250
- "inputFields": null,
6251
- "interfaces": [],
6252
- "enumValues": null,
6253
- "possibleTypes": null
6254
- },
6255
6219
  {
6256
6220
  "kind": "OBJECT",
6257
6221
  "name": "Benchmark",
@@ -40977,42 +40941,6 @@
40977
40941
  "enumValues": null,
40978
40942
  "possibleTypes": null
40979
40943
  },
40980
- {
40981
- "kind": "OBJECT",
40982
- "name": "GetGoalSetsResponse",
40983
- "description": null,
40984
- "isOneOf": null,
40985
- "fields": [
40986
- {
40987
- "name": "goal_sets",
40988
- "description": null,
40989
- "args": [],
40990
- "type": {
40991
- "kind": "NON_NULL",
40992
- "name": null,
40993
- "ofType": {
40994
- "kind": "LIST",
40995
- "name": null,
40996
- "ofType": {
40997
- "kind": "NON_NULL",
40998
- "name": null,
40999
- "ofType": {
41000
- "kind": "OBJECT",
41001
- "name": "GoalSet",
41002
- "ofType": null
41003
- }
41004
- }
41005
- }
41006
- },
41007
- "isDeprecated": false,
41008
- "deprecationReason": null
41009
- }
41010
- ],
41011
- "inputFields": null,
41012
- "interfaces": [],
41013
- "enumValues": null,
41014
- "possibleTypes": null
41015
- },
41016
40944
  {
41017
40945
  "kind": "INPUT_OBJECT",
41018
40946
  "name": "GetImportsParams",
@@ -42349,372 +42277,6 @@
42349
42277
  "enumValues": null,
42350
42278
  "possibleTypes": null
42351
42279
  },
42352
- {
42353
- "kind": "OBJECT",
42354
- "name": "GoalMetric",
42355
- "description": "GoalMetric is the underlying type the goal sets are made up of. They contain information about how to display goals\nin a users dashboard and what priority to show them in and what progress they have made towards these goals.\nprogress = total/target",
42356
- "isOneOf": null,
42357
- "fields": [
42358
- {
42359
- "name": "goal_set_id",
42360
- "description": null,
42361
- "args": [],
42362
- "type": {
42363
- "kind": "NON_NULL",
42364
- "name": null,
42365
- "ofType": {
42366
- "kind": "SCALAR",
42367
- "name": "ID",
42368
- "ofType": null
42369
- }
42370
- },
42371
- "isDeprecated": false,
42372
- "deprecationReason": null
42373
- },
42374
- {
42375
- "name": "priority",
42376
- "description": null,
42377
- "args": [],
42378
- "type": {
42379
- "kind": "NON_NULL",
42380
- "name": null,
42381
- "ofType": {
42382
- "kind": "SCALAR",
42383
- "name": "Int",
42384
- "ofType": null
42385
- }
42386
- },
42387
- "isDeprecated": false,
42388
- "deprecationReason": null
42389
- },
42390
- {
42391
- "name": "show_in_dashboard",
42392
- "description": null,
42393
- "args": [],
42394
- "type": {
42395
- "kind": "NON_NULL",
42396
- "name": null,
42397
- "ofType": {
42398
- "kind": "SCALAR",
42399
- "name": "Boolean",
42400
- "ofType": null
42401
- }
42402
- },
42403
- "isDeprecated": false,
42404
- "deprecationReason": null
42405
- },
42406
- {
42407
- "name": "target",
42408
- "description": null,
42409
- "args": [],
42410
- "type": {
42411
- "kind": "NON_NULL",
42412
- "name": null,
42413
- "ofType": {
42414
- "kind": "SCALAR",
42415
- "name": "Int",
42416
- "ofType": null
42417
- }
42418
- },
42419
- "isDeprecated": false,
42420
- "deprecationReason": null
42421
- },
42422
- {
42423
- "name": "total",
42424
- "description": null,
42425
- "args": [],
42426
- "type": {
42427
- "kind": "NON_NULL",
42428
- "name": null,
42429
- "ofType": {
42430
- "kind": "SCALAR",
42431
- "name": "Int",
42432
- "ofType": null
42433
- }
42434
- },
42435
- "isDeprecated": false,
42436
- "deprecationReason": null
42437
- },
42438
- {
42439
- "name": "type",
42440
- "description": null,
42441
- "args": [],
42442
- "type": {
42443
- "kind": "NON_NULL",
42444
- "name": null,
42445
- "ofType": {
42446
- "kind": "SCALAR",
42447
- "name": "String",
42448
- "ofType": null
42449
- }
42450
- },
42451
- "isDeprecated": false,
42452
- "deprecationReason": null
42453
- }
42454
- ],
42455
- "inputFields": null,
42456
- "interfaces": [],
42457
- "enumValues": null,
42458
- "possibleTypes": null
42459
- },
42460
- {
42461
- "kind": "INPUT_OBJECT",
42462
- "name": "GoalMetricData",
42463
- "description": null,
42464
- "isOneOf": false,
42465
- "fields": null,
42466
- "inputFields": [
42467
- {
42468
- "name": "priority",
42469
- "description": null,
42470
- "type": {
42471
- "kind": "NON_NULL",
42472
- "name": null,
42473
- "ofType": {
42474
- "kind": "SCALAR",
42475
- "name": "Int",
42476
- "ofType": null
42477
- }
42478
- },
42479
- "defaultValue": null,
42480
- "isDeprecated": false,
42481
- "deprecationReason": null
42482
- },
42483
- {
42484
- "name": "show_in_dashboard",
42485
- "description": null,
42486
- "type": {
42487
- "kind": "NON_NULL",
42488
- "name": null,
42489
- "ofType": {
42490
- "kind": "SCALAR",
42491
- "name": "Boolean",
42492
- "ofType": null
42493
- }
42494
- },
42495
- "defaultValue": null,
42496
- "isDeprecated": false,
42497
- "deprecationReason": null
42498
- },
42499
- {
42500
- "name": "target",
42501
- "description": null,
42502
- "type": {
42503
- "kind": "NON_NULL",
42504
- "name": null,
42505
- "ofType": {
42506
- "kind": "SCALAR",
42507
- "name": "Int",
42508
- "ofType": null
42509
- }
42510
- },
42511
- "defaultValue": null,
42512
- "isDeprecated": false,
42513
- "deprecationReason": null
42514
- },
42515
- {
42516
- "name": "type",
42517
- "description": null,
42518
- "type": {
42519
- "kind": "NON_NULL",
42520
- "name": null,
42521
- "ofType": {
42522
- "kind": "SCALAR",
42523
- "name": "String",
42524
- "ofType": null
42525
- }
42526
- },
42527
- "defaultValue": null,
42528
- "isDeprecated": false,
42529
- "deprecationReason": null
42530
- }
42531
- ],
42532
- "interfaces": null,
42533
- "enumValues": null,
42534
- "possibleTypes": null
42535
- },
42536
- {
42537
- "kind": "OBJECT",
42538
- "name": "GoalSet",
42539
- "description": "GoalSet is the parent of goals. They don't have much other information directly other than what brand they\nbelong to",
42540
- "isOneOf": null,
42541
- "fields": [
42542
- {
42543
- "name": "brand_id",
42544
- "description": "brand uuid that this is a GoalSet for",
42545
- "args": [],
42546
- "type": {
42547
- "kind": "NON_NULL",
42548
- "name": null,
42549
- "ofType": {
42550
- "kind": "SCALAR",
42551
- "name": "ID",
42552
- "ofType": null
42553
- }
42554
- },
42555
- "isDeprecated": false,
42556
- "deprecationReason": null
42557
- },
42558
- {
42559
- "name": "created_at",
42560
- "description": "time the GoalSet was created, in RFC-3339",
42561
- "args": [],
42562
- "type": {
42563
- "kind": "NON_NULL",
42564
- "name": null,
42565
- "ofType": {
42566
- "kind": "SCALAR",
42567
- "name": "String",
42568
- "ofType": null
42569
- }
42570
- },
42571
- "isDeprecated": false,
42572
- "deprecationReason": null
42573
- },
42574
- {
42575
- "name": "goals",
42576
- "description": "list of all GoalMetrics that are on this GoalSet",
42577
- "args": [],
42578
- "type": {
42579
- "kind": "NON_NULL",
42580
- "name": null,
42581
- "ofType": {
42582
- "kind": "LIST",
42583
- "name": null,
42584
- "ofType": {
42585
- "kind": "NON_NULL",
42586
- "name": null,
42587
- "ofType": {
42588
- "kind": "OBJECT",
42589
- "name": "GoalMetric",
42590
- "ofType": null
42591
- }
42592
- }
42593
- }
42594
- },
42595
- "isDeprecated": false,
42596
- "deprecationReason": null
42597
- },
42598
- {
42599
- "name": "id",
42600
- "description": "primary_key id for GoalSet",
42601
- "args": [],
42602
- "type": {
42603
- "kind": "NON_NULL",
42604
- "name": null,
42605
- "ofType": {
42606
- "kind": "SCALAR",
42607
- "name": "ID",
42608
- "ofType": null
42609
- }
42610
- },
42611
- "isDeprecated": false,
42612
- "deprecationReason": null
42613
- },
42614
- {
42615
- "name": "target_month",
42616
- "description": "timestamp for the month that this goalset contains metrics for, in the format YYYY-MM-DD (currently, day will always be 1).\nThis will correspond to the createdAt if this goal set was user-created.\nIf this goalset was copied from a previous month, it's targetMonth will match the month that it is actually targeting\nafter the createdAt. Basically, this is the month covered by this goalset, and createdAt can be used for metadata",
42617
- "args": [],
42618
- "type": {
42619
- "kind": "NON_NULL",
42620
- "name": null,
42621
- "ofType": {
42622
- "kind": "SCALAR",
42623
- "name": "String",
42624
- "ofType": null
42625
- }
42626
- },
42627
- "isDeprecated": false,
42628
- "deprecationReason": null
42629
- },
42630
- {
42631
- "name": "updated_at",
42632
- "description": "time the GoalSet was last updated, in RFC-3339",
42633
- "args": [],
42634
- "type": {
42635
- "kind": "NON_NULL",
42636
- "name": null,
42637
- "ofType": {
42638
- "kind": "SCALAR",
42639
- "name": "String",
42640
- "ofType": null
42641
- }
42642
- },
42643
- "isDeprecated": false,
42644
- "deprecationReason": null
42645
- }
42646
- ],
42647
- "inputFields": null,
42648
- "interfaces": [],
42649
- "enumValues": null,
42650
- "possibleTypes": null
42651
- },
42652
- {
42653
- "kind": "ENUM",
42654
- "name": "GoalType",
42655
- "description": null,
42656
- "isOneOf": null,
42657
- "fields": null,
42658
- "inputFields": null,
42659
- "interfaces": null,
42660
- "enumValues": [
42661
- {
42662
- "name": "DAM_ASSETS_UPLOADED",
42663
- "description": null,
42664
- "isDeprecated": false,
42665
- "deprecationReason": null
42666
- },
42667
- {
42668
- "name": "DIVERSITY_OF_CAMPAIGNS",
42669
- "description": null,
42670
- "isDeprecated": false,
42671
- "deprecationReason": null
42672
- },
42673
- {
42674
- "name": "NUMBER_RETAILERS_IMPORTED",
42675
- "description": null,
42676
- "isDeprecated": false,
42677
- "deprecationReason": null
42678
- },
42679
- {
42680
- "name": "ORGANIC_CAMPAIGNS_LAUNCHED",
42681
- "description": null,
42682
- "isDeprecated": false,
42683
- "deprecationReason": null
42684
- },
42685
- {
42686
- "name": "PAID_CAMPAIGNS_LAUNCHED",
42687
- "description": null,
42688
- "isDeprecated": false,
42689
- "deprecationReason": null
42690
- },
42691
- {
42692
- "name": "STRATEGIC_COMMUNICATIONS_SENT",
42693
- "description": null,
42694
- "isDeprecated": false,
42695
- "deprecationReason": null
42696
- },
42697
- {
42698
- "name": "TOTAL_SHARES_LAUNCHED",
42699
- "description": null,
42700
- "isDeprecated": false,
42701
- "deprecationReason": null
42702
- },
42703
- {
42704
- "name": "UNIQUE_REGISTERED_RETAILERS_INVITED_ORGANIC",
42705
- "description": null,
42706
- "isDeprecated": false,
42707
- "deprecationReason": null
42708
- },
42709
- {
42710
- "name": "UNIQUE_REGISTERED_RETAILERS_INVITED_PAID",
42711
- "description": null,
42712
- "isDeprecated": false,
42713
- "deprecationReason": null
42714
- }
42715
- ],
42716
- "possibleTypes": null
42717
- },
42718
42280
  {
42719
42281
  "kind": "SCALAR",
42720
42282
  "name": "ID",
@@ -53399,63 +52961,6 @@
53399
52961
  "isDeprecated": false,
53400
52962
  "deprecationReason": null
53401
52963
  },
53402
- {
53403
- "name": "createOrUpdateGoalSet",
53404
- "description": "will create or update a goal set for a given brand, user must have internal permissions",
53405
- "args": [
53406
- {
53407
- "name": "brand_id",
53408
- "description": null,
53409
- "type": {
53410
- "kind": "NON_NULL",
53411
- "name": null,
53412
- "ofType": {
53413
- "kind": "SCALAR",
53414
- "name": "String",
53415
- "ofType": null
53416
- }
53417
- },
53418
- "defaultValue": null,
53419
- "isDeprecated": false,
53420
- "deprecationReason": null
53421
- },
53422
- {
53423
- "name": "goals",
53424
- "description": null,
53425
- "type": {
53426
- "kind": "NON_NULL",
53427
- "name": null,
53428
- "ofType": {
53429
- "kind": "LIST",
53430
- "name": null,
53431
- "ofType": {
53432
- "kind": "NON_NULL",
53433
- "name": null,
53434
- "ofType": {
53435
- "kind": "INPUT_OBJECT",
53436
- "name": "GoalMetricData",
53437
- "ofType": null
53438
- }
53439
- }
53440
- }
53441
- },
53442
- "defaultValue": null,
53443
- "isDeprecated": false,
53444
- "deprecationReason": null
53445
- }
53446
- ],
53447
- "type": {
53448
- "kind": "NON_NULL",
53449
- "name": null,
53450
- "ofType": {
53451
- "kind": "OBJECT",
53452
- "name": "GoalSet",
53453
- "ofType": null
53454
- }
53455
- },
53456
- "isDeprecated": false,
53457
- "deprecationReason": null
53458
- },
53459
52964
  {
53460
52965
  "name": "createPaymentIntent",
53461
52966
  "description": null,
@@ -75547,100 +75052,6 @@
75547
75052
  "isDeprecated": false,
75548
75053
  "deprecationReason": null
75549
75054
  },
75550
- {
75551
- "name": "getGoalSets",
75552
- "description": "getGoalSets will return all the goal sets for the given brand id within the given time range\nTimes are in the format YYYY-MM-DD\nNote: the day is irrelevant for now. All goals are tracked in monthly increments, so no matter what day you provide, you will get the entire monthly progress",
75553
- "args": [
75554
- {
75555
- "name": "brand_id",
75556
- "description": null,
75557
- "type": {
75558
- "kind": "NON_NULL",
75559
- "name": null,
75560
- "ofType": {
75561
- "kind": "SCALAR",
75562
- "name": "ID",
75563
- "ofType": null
75564
- }
75565
- },
75566
- "defaultValue": null,
75567
- "isDeprecated": false,
75568
- "deprecationReason": null
75569
- },
75570
- {
75571
- "name": "end_date",
75572
- "description": null,
75573
- "type": {
75574
- "kind": "NON_NULL",
75575
- "name": null,
75576
- "ofType": {
75577
- "kind": "SCALAR",
75578
- "name": "String",
75579
- "ofType": null
75580
- }
75581
- },
75582
- "defaultValue": null,
75583
- "isDeprecated": false,
75584
- "deprecationReason": null
75585
- },
75586
- {
75587
- "name": "start_date",
75588
- "description": null,
75589
- "type": {
75590
- "kind": "NON_NULL",
75591
- "name": null,
75592
- "ofType": {
75593
- "kind": "SCALAR",
75594
- "name": "String",
75595
- "ofType": null
75596
- }
75597
- },
75598
- "defaultValue": null,
75599
- "isDeprecated": false,
75600
- "deprecationReason": null
75601
- }
75602
- ],
75603
- "type": {
75604
- "kind": "NON_NULL",
75605
- "name": null,
75606
- "ofType": {
75607
- "kind": "OBJECT",
75608
- "name": "GetGoalSetsResponse",
75609
- "ofType": null
75610
- }
75611
- },
75612
- "isDeprecated": false,
75613
- "deprecationReason": null
75614
- },
75615
- {
75616
- "name": "getGoalTypes",
75617
- "description": "getGoalTypes will return all possible goal types currently supported",
75618
- "args": [
75619
- {
75620
- "name": "brand_id",
75621
- "description": null,
75622
- "type": {
75623
- "kind": "SCALAR",
75624
- "name": "ID",
75625
- "ofType": null
75626
- },
75627
- "defaultValue": null,
75628
- "isDeprecated": true,
75629
- "deprecationReason": "graphql-server defined this argument for no good reason"
75630
- }
75631
- ],
75632
- "type": {
75633
- "kind": "NON_NULL",
75634
- "name": null,
75635
- "ofType": {
75636
- "kind": "OBJECT",
75637
- "name": "AvailableGoalTypes",
75638
- "ofType": null
75639
- }
75640
- },
75641
- "isDeprecated": false,
75642
- "deprecationReason": null
75643
- },
75644
75055
  {
75645
75056
  "name": "getGraphMe",
75646
75057
  "description": null,
package/index.d.ts CHANGED
@@ -708,12 +708,6 @@ export type AutomationState =
708
708
  | 'disabled'
709
709
  | 'enabled';
710
710
 
711
- /** AvailableGoalTypes are the goal types currently supported. */
712
- export type AvailableGoalTypes = {
713
- __typename?: 'AvailableGoalTypes';
714
- goal_types: Array<Scalars['String']['output']>;
715
- };
716
-
717
711
  export type Benchmark = {
718
712
  __typename?: 'Benchmark';
719
713
  chart: Chart;
@@ -4358,11 +4352,6 @@ export type GetFiltersParams = {
4358
4352
  fields?: InputMaybe<Array<Scalars['String']['input']>>;
4359
4353
  };
4360
4354
 
4361
- export type GetGoalSetsResponse = {
4362
- __typename?: 'GetGoalSetsResponse';
4363
- goal_sets: Array<GoalSet>;
4364
- };
4365
-
4366
4355
  export type GetImportsParams = {
4367
4356
  fields?: InputMaybe<Array<Scalars['String']['input']>>;
4368
4357
  };
@@ -4506,64 +4495,6 @@ export type GetUserFilters = {
4506
4495
  promoboxx_sales_team_member?: InputMaybe<Scalars['Boolean']['input']>;
4507
4496
  };
4508
4497
 
4509
- /**
4510
- * GoalMetric is the underlying type the goal sets are made up of. They contain information about how to display goals
4511
- * in a users dashboard and what priority to show them in and what progress they have made towards these goals.
4512
- * progress = total/target
4513
- */
4514
- export type GoalMetric = {
4515
- __typename?: 'GoalMetric';
4516
- goal_set_id: Scalars['ID']['output'];
4517
- priority: Scalars['Int']['output'];
4518
- show_in_dashboard: Scalars['Boolean']['output'];
4519
- target: Scalars['Int']['output'];
4520
- total: Scalars['Int']['output'];
4521
- type: Scalars['String']['output'];
4522
- };
4523
-
4524
- export type GoalMetricData = {
4525
- priority: Scalars['Int']['input'];
4526
- show_in_dashboard: Scalars['Boolean']['input'];
4527
- target: Scalars['Int']['input'];
4528
- type: Scalars['String']['input'];
4529
- };
4530
-
4531
- /**
4532
- * GoalSet is the parent of goals. They don't have much other information directly other than what brand they
4533
- * belong to
4534
- */
4535
- export type GoalSet = {
4536
- __typename?: 'GoalSet';
4537
- /** brand uuid that this is a GoalSet for */
4538
- brand_id: Scalars['ID']['output'];
4539
- /** time the GoalSet was created, in RFC-3339 */
4540
- created_at: Scalars['String']['output'];
4541
- /** list of all GoalMetrics that are on this GoalSet */
4542
- goals: Array<GoalMetric>;
4543
- /** primary_key id for GoalSet */
4544
- id: Scalars['ID']['output'];
4545
- /**
4546
- * timestamp for the month that this goalset contains metrics for, in the format YYYY-MM-DD (currently, day will always be 1).
4547
- * This will correspond to the createdAt if this goal set was user-created.
4548
- * If this goalset was copied from a previous month, it's targetMonth will match the month that it is actually targeting
4549
- * after the createdAt. Basically, this is the month covered by this goalset, and createdAt can be used for metadata
4550
- */
4551
- target_month: Scalars['String']['output'];
4552
- /** time the GoalSet was last updated, in RFC-3339 */
4553
- updated_at: Scalars['String']['output'];
4554
- };
4555
-
4556
- export type GoalType =
4557
- | 'DAM_ASSETS_UPLOADED'
4558
- | 'DIVERSITY_OF_CAMPAIGNS'
4559
- | 'NUMBER_RETAILERS_IMPORTED'
4560
- | 'ORGANIC_CAMPAIGNS_LAUNCHED'
4561
- | 'PAID_CAMPAIGNS_LAUNCHED'
4562
- | 'STRATEGIC_COMMUNICATIONS_SENT'
4563
- | 'TOTAL_SHARES_LAUNCHED'
4564
- | 'UNIQUE_REGISTERED_RETAILERS_INVITED_ORGANIC'
4565
- | 'UNIQUE_REGISTERED_RETAILERS_INVITED_PAID';
4566
-
4567
4498
  export type Identifier =
4568
4499
  | 'access_invitation_accept'
4569
4500
  | 'access_invitation_create'
@@ -5456,8 +5387,6 @@ export type Mutation = {
5456
5387
  createLocation?: Maybe<Location>;
5457
5388
  createLogo: SubBrandLogo;
5458
5389
  createNote: Note;
5459
- /** will create or update a goal set for a given brand, user must have internal permissions */
5460
- createOrUpdateGoalSet: GoalSet;
5461
5390
  createPaymentIntent?: Maybe<StripePaymentIntent>;
5462
5391
  createPermission: Permission;
5463
5392
  createPlatformAccessRequest?: Maybe<PlatformAccessRequest>;
@@ -6453,13 +6382,6 @@ export type MutationCreateNoteArgs = {
6453
6382
  };
6454
6383
 
6455
6384
 
6456
- /** mutation root */
6457
- export type MutationCreateOrUpdateGoalSetArgs = {
6458
- brand_id: Scalars['String']['input'];
6459
- goals: Array<GoalMetricData>;
6460
- };
6461
-
6462
-
6463
6385
  /** mutation root */
6464
6386
  export type MutationCreatePaymentIntentArgs = {
6465
6387
  req: CreateStripePaymentIntentInput;
@@ -8943,14 +8865,6 @@ export type Query = {
8943
8865
  getFacebookPages?: Maybe<Array<FacebookPage>>;
8944
8866
  getFilter?: Maybe<Filter>;
8945
8867
  getFilters: Array<Filter>;
8946
- /**
8947
- * getGoalSets will return all the goal sets for the given brand id within the given time range
8948
- * Times are in the format YYYY-MM-DD
8949
- * Note: the day is irrelevant for now. All goals are tracked in monthly increments, so no matter what day you provide, you will get the entire monthly progress
8950
- */
8951
- getGoalSets: GetGoalSetsResponse;
8952
- /** getGoalTypes will return all possible goal types currently supported */
8953
- getGoalTypes: AvailableGoalTypes;
8954
8868
  getGraphMe?: Maybe<FacebookGraphMe>;
8955
8869
  getGraphPermissions?: Maybe<Array<FacebookGraphPermission>>;
8956
8870
  getGraphTokenStatus?: Maybe<FacebookGraphTokenStatus>;
@@ -9909,18 +9823,6 @@ export type QueryGetFiltersArgs = {
9909
9823
  };
9910
9824
 
9911
9825
 
9912
- export type QueryGetGoalSetsArgs = {
9913
- brand_id: Scalars['ID']['input'];
9914
- end_date: Scalars['String']['input'];
9915
- start_date: Scalars['String']['input'];
9916
- };
9917
-
9918
-
9919
- export type QueryGetGoalTypesArgs = {
9920
- brand_id?: InputMaybe<Scalars['ID']['input']>;
9921
- };
9922
-
9923
-
9924
9826
  export type QueryGetGraphMeArgs = {
9925
9827
  accessToken: Scalars['String']['input'];
9926
9828
  fields?: InputMaybe<Array<Scalars['String']['input']>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promoboxx/graphql-gateway-types",
3
- "version": "1.1071.0",
3
+ "version": "1.1073.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/schema.graphql CHANGED
@@ -674,11 +674,6 @@ enum AutomationState {
674
674
  enabled
675
675
  }
676
676
 
677
- """AvailableGoalTypes are the goal types currently supported."""
678
- type AvailableGoalTypes {
679
- goal_types: [String!]!
680
- }
681
-
682
677
  type Benchmark {
683
678
  chart: Chart!
684
679
  rank: Rank
@@ -4167,10 +4162,6 @@ input GetFiltersParams {
4167
4162
  fields: [String!]
4168
4163
  }
4169
4164
 
4170
- type GetGoalSetsResponse {
4171
- goal_sets: [GoalSet!]!
4172
- }
4173
-
4174
4165
  input GetImportsParams {
4175
4166
  fields: [String!]
4176
4167
  }
@@ -4307,68 +4298,6 @@ input GetUserFilters {
4307
4298
  promoboxx_sales_team_member: Boolean
4308
4299
  }
4309
4300
 
4310
- """
4311
- GoalMetric is the underlying type the goal sets are made up of. They contain information about how to display goals
4312
- in a users dashboard and what priority to show them in and what progress they have made towards these goals.
4313
- progress = total/target
4314
- """
4315
- type GoalMetric {
4316
- goal_set_id: ID!
4317
- priority: Int!
4318
- show_in_dashboard: Boolean!
4319
- target: Int!
4320
- total: Int!
4321
- type: String!
4322
- }
4323
-
4324
- input GoalMetricData {
4325
- priority: Int!
4326
- show_in_dashboard: Boolean!
4327
- target: Int!
4328
- type: String!
4329
- }
4330
-
4331
- """
4332
- GoalSet is the parent of goals. They don't have much other information directly other than what brand they
4333
- belong to
4334
- """
4335
- type GoalSet {
4336
- """brand uuid that this is a GoalSet for"""
4337
- brand_id: ID!
4338
-
4339
- """time the GoalSet was created, in RFC-3339"""
4340
- created_at: String!
4341
-
4342
- """list of all GoalMetrics that are on this GoalSet"""
4343
- goals: [GoalMetric!]!
4344
-
4345
- """primary_key id for GoalSet"""
4346
- id: ID!
4347
-
4348
- """
4349
- timestamp for the month that this goalset contains metrics for, in the format YYYY-MM-DD (currently, day will always be 1).
4350
- This will correspond to the createdAt if this goal set was user-created.
4351
- If this goalset was copied from a previous month, it's targetMonth will match the month that it is actually targeting
4352
- after the createdAt. Basically, this is the month covered by this goalset, and createdAt can be used for metadata
4353
- """
4354
- target_month: String!
4355
-
4356
- """time the GoalSet was last updated, in RFC-3339"""
4357
- updated_at: String!
4358
- }
4359
-
4360
- enum GoalType {
4361
- DAM_ASSETS_UPLOADED
4362
- DIVERSITY_OF_CAMPAIGNS
4363
- NUMBER_RETAILERS_IMPORTED
4364
- ORGANIC_CAMPAIGNS_LAUNCHED
4365
- PAID_CAMPAIGNS_LAUNCHED
4366
- STRATEGIC_COMMUNICATIONS_SENT
4367
- TOTAL_SHARES_LAUNCHED
4368
- UNIQUE_REGISTERED_RETAILERS_INVITED_ORGANIC
4369
- UNIQUE_REGISTERED_RETAILERS_INVITED_PAID
4370
- }
4371
-
4372
4301
  enum Identifier {
4373
4302
  access_invitation_accept
4374
4303
  access_invitation_create
@@ -5225,11 +5154,6 @@ type Mutation {
5225
5154
  createLocation(location: LocationInput!, resourceId: ID!, resourceType: LocationResourceType!): Location
5226
5155
  createLogo(brand_id: ID!, logo: CreateOrUpdateLogoData!): SubBrandLogo!
5227
5156
  createNote(data: CreateNoteData!): Note!
5228
-
5229
- """
5230
- will create or update a goal set for a given brand, user must have internal permissions
5231
- """
5232
- createOrUpdateGoalSet(brand_id: String!, goals: [GoalMetricData!]!): GoalSet!
5233
5157
  createPaymentIntent(req: CreateStripePaymentIntentInput!): StripePaymentIntent
5234
5158
  createPermission(permission: CreatePermissionInput!, user_id: ID!): Permission!
5235
5159
  createPlatformAccessRequest(platform_access_request: CreatePlatformAccessRequestParams!): PlatformAccessRequest
@@ -7958,16 +7882,6 @@ type Query {
7958
7882
  getFacebookPages(params: FacebookPageParams, resourceId: ID!, resourceType: String!): [FacebookPage!]
7959
7883
  getFilter(fields: [String!], id: ID!): Filter
7960
7884
  getFilters(params: GetFiltersParams, resourceId: ID!, resourceType: FiltersResourceType!): [Filter!]!
7961
-
7962
- """
7963
- getGoalSets will return all the goal sets for the given brand id within the given time range
7964
- Times are in the format YYYY-MM-DD
7965
- Note: the day is irrelevant for now. All goals are tracked in monthly increments, so no matter what day you provide, you will get the entire monthly progress
7966
- """
7967
- getGoalSets(brand_id: ID!, end_date: String!, start_date: String!): GetGoalSetsResponse!
7968
-
7969
- """getGoalTypes will return all possible goal types currently supported"""
7970
- getGoalTypes(brand_id: ID @deprecated(reason: "graphql-server defined this argument for no good reason")): AvailableGoalTypes!
7971
7885
  getGraphMe(accessToken: String!, fields: [String!]): FacebookGraphMe
7972
7886
  getGraphPermissions(accessToken: String!, fields: [String!]): [FacebookGraphPermission!]
7973
7887
  getGraphTokenStatus(accessToken: String!, fields: [String!]): FacebookGraphTokenStatus