@promoboxx/graphql-gateway-types 1.129.0 → 1.131.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.
@@ -9515,6 +9515,18 @@
9515
9515
  "name": "CalendarItem",
9516
9516
  "description": null,
9517
9517
  "fields": [
9518
+ {
9519
+ "name": "associable",
9520
+ "description": null,
9521
+ "args": [],
9522
+ "type": {
9523
+ "kind": "UNION",
9524
+ "name": "CalendarItemAssociable",
9525
+ "ofType": null
9526
+ },
9527
+ "isDeprecated": false,
9528
+ "deprecationReason": null
9529
+ },
9518
9530
  {
9519
9531
  "name": "associable_id",
9520
9532
  "description": null,
@@ -9709,6 +9721,18 @@
9709
9721
  "isDeprecated": false,
9710
9722
  "deprecationReason": null
9711
9723
  },
9724
+ {
9725
+ "name": "share",
9726
+ "description": null,
9727
+ "args": [],
9728
+ "type": {
9729
+ "kind": "OBJECT",
9730
+ "name": "Share",
9731
+ "ofType": null
9732
+ },
9733
+ "isDeprecated": false,
9734
+ "deprecationReason": null
9735
+ },
9712
9736
  {
9713
9737
  "name": "start_date_at",
9714
9738
  "description": null,
@@ -9787,6 +9811,32 @@
9787
9811
  "enumValues": null,
9788
9812
  "possibleTypes": null
9789
9813
  },
9814
+ {
9815
+ "kind": "UNION",
9816
+ "name": "CalendarItemAssociable",
9817
+ "description": null,
9818
+ "fields": null,
9819
+ "inputFields": null,
9820
+ "interfaces": null,
9821
+ "enumValues": null,
9822
+ "possibleTypes": [
9823
+ {
9824
+ "kind": "OBJECT",
9825
+ "name": "Campaign",
9826
+ "ofType": null
9827
+ },
9828
+ {
9829
+ "kind": "OBJECT",
9830
+ "name": "CommunicationAutomation",
9831
+ "ofType": null
9832
+ },
9833
+ {
9834
+ "kind": "OBJECT",
9835
+ "name": "Share",
9836
+ "ofType": null
9837
+ }
9838
+ ]
9839
+ },
9790
9840
  {
9791
9841
  "kind": "INPUT_OBJECT",
9792
9842
  "name": "CalendarItemFilters",
@@ -48336,6 +48386,55 @@
48336
48386
  "isDeprecated": false,
48337
48387
  "deprecationReason": null
48338
48388
  },
48389
+ {
48390
+ "name": "adsvcGetRetailerCampaign",
48391
+ "description": null,
48392
+ "args": [
48393
+ {
48394
+ "name": "id",
48395
+ "description": null,
48396
+ "type": {
48397
+ "kind": "NON_NULL",
48398
+ "name": null,
48399
+ "ofType": {
48400
+ "kind": "SCALAR",
48401
+ "name": "ID",
48402
+ "ofType": null
48403
+ }
48404
+ },
48405
+ "defaultValue": null,
48406
+ "isDeprecated": false,
48407
+ "deprecationReason": null
48408
+ },
48409
+ {
48410
+ "name": "retailerID",
48411
+ "description": null,
48412
+ "type": {
48413
+ "kind": "NON_NULL",
48414
+ "name": null,
48415
+ "ofType": {
48416
+ "kind": "SCALAR",
48417
+ "name": "Int",
48418
+ "ofType": null
48419
+ }
48420
+ },
48421
+ "defaultValue": null,
48422
+ "isDeprecated": false,
48423
+ "deprecationReason": null
48424
+ }
48425
+ ],
48426
+ "type": {
48427
+ "kind": "NON_NULL",
48428
+ "name": null,
48429
+ "ofType": {
48430
+ "kind": "OBJECT",
48431
+ "name": "adsvcGetRetailerCampaignResponse",
48432
+ "ofType": null
48433
+ }
48434
+ },
48435
+ "isDeprecated": false,
48436
+ "deprecationReason": null
48437
+ },
48339
48438
  {
48340
48439
  "name": "brand_retailer_ledgers",
48341
48440
  "description": "get brand_retailer_ledgers\na list of business/retailer wallets that are associated to the requested brand. \nEach wallet contains the list of ledgers associated to the business/retailer and their expiration date if applicable.",
@@ -69582,6 +69681,650 @@
69582
69681
  }
69583
69682
  ],
69584
69683
  "possibleTypes": null
69684
+ },
69685
+ {
69686
+ "kind": "OBJECT",
69687
+ "name": "adsvcCampaignChannel",
69688
+ "description": null,
69689
+ "fields": [
69690
+ {
69691
+ "name": "campaignID",
69692
+ "description": null,
69693
+ "args": [],
69694
+ "type": {
69695
+ "kind": "NON_NULL",
69696
+ "name": null,
69697
+ "ofType": {
69698
+ "kind": "SCALAR",
69699
+ "name": "ID",
69700
+ "ofType": null
69701
+ }
69702
+ },
69703
+ "isDeprecated": false,
69704
+ "deprecationReason": null
69705
+ },
69706
+ {
69707
+ "name": "channel",
69708
+ "description": null,
69709
+ "args": [],
69710
+ "type": {
69711
+ "kind": "NON_NULL",
69712
+ "name": null,
69713
+ "ofType": {
69714
+ "kind": "SCALAR",
69715
+ "name": "String",
69716
+ "ofType": null
69717
+ }
69718
+ },
69719
+ "isDeprecated": false,
69720
+ "deprecationReason": null
69721
+ },
69722
+ {
69723
+ "name": "channelCampaignID",
69724
+ "description": null,
69725
+ "args": [],
69726
+ "type": {
69727
+ "kind": "NON_NULL",
69728
+ "name": null,
69729
+ "ofType": {
69730
+ "kind": "SCALAR",
69731
+ "name": "String",
69732
+ "ofType": null
69733
+ }
69734
+ },
69735
+ "isDeprecated": false,
69736
+ "deprecationReason": null
69737
+ },
69738
+ {
69739
+ "name": "createdAt",
69740
+ "description": null,
69741
+ "args": [],
69742
+ "type": {
69743
+ "kind": "NON_NULL",
69744
+ "name": null,
69745
+ "ofType": {
69746
+ "kind": "SCALAR",
69747
+ "name": "String",
69748
+ "ofType": null
69749
+ }
69750
+ },
69751
+ "isDeprecated": false,
69752
+ "deprecationReason": null
69753
+ },
69754
+ {
69755
+ "name": "id",
69756
+ "description": null,
69757
+ "args": [],
69758
+ "type": {
69759
+ "kind": "NON_NULL",
69760
+ "name": null,
69761
+ "ofType": {
69762
+ "kind": "SCALAR",
69763
+ "name": "ID",
69764
+ "ofType": null
69765
+ }
69766
+ },
69767
+ "isDeprecated": false,
69768
+ "deprecationReason": null
69769
+ }
69770
+ ],
69771
+ "inputFields": null,
69772
+ "interfaces": [],
69773
+ "enumValues": null,
69774
+ "possibleTypes": null
69775
+ },
69776
+ {
69777
+ "kind": "OBJECT",
69778
+ "name": "adsvcCampaignInvitation",
69779
+ "description": null,
69780
+ "fields": [
69781
+ {
69782
+ "name": "acceptedAt",
69783
+ "description": null,
69784
+ "args": [],
69785
+ "type": {
69786
+ "kind": "SCALAR",
69787
+ "name": "String",
69788
+ "ofType": null
69789
+ },
69790
+ "isDeprecated": false,
69791
+ "deprecationReason": null
69792
+ },
69793
+ {
69794
+ "name": "automateAt",
69795
+ "description": null,
69796
+ "args": [],
69797
+ "type": {
69798
+ "kind": "SCALAR",
69799
+ "name": "String",
69800
+ "ofType": null
69801
+ },
69802
+ "isDeprecated": false,
69803
+ "deprecationReason": null
69804
+ },
69805
+ {
69806
+ "name": "automated",
69807
+ "description": null,
69808
+ "args": [],
69809
+ "type": {
69810
+ "kind": "NON_NULL",
69811
+ "name": null,
69812
+ "ofType": {
69813
+ "kind": "SCALAR",
69814
+ "name": "Boolean",
69815
+ "ofType": null
69816
+ }
69817
+ },
69818
+ "isDeprecated": false,
69819
+ "deprecationReason": null
69820
+ },
69821
+ {
69822
+ "name": "businessID",
69823
+ "description": null,
69824
+ "args": [],
69825
+ "type": {
69826
+ "kind": "NON_NULL",
69827
+ "name": null,
69828
+ "ofType": {
69829
+ "kind": "SCALAR",
69830
+ "name": "ID",
69831
+ "ofType": null
69832
+ }
69833
+ },
69834
+ "isDeprecated": false,
69835
+ "deprecationReason": null
69836
+ },
69837
+ {
69838
+ "name": "campaignID",
69839
+ "description": null,
69840
+ "args": [],
69841
+ "type": {
69842
+ "kind": "NON_NULL",
69843
+ "name": null,
69844
+ "ofType": {
69845
+ "kind": "SCALAR",
69846
+ "name": "ID",
69847
+ "ofType": null
69848
+ }
69849
+ },
69850
+ "isDeprecated": false,
69851
+ "deprecationReason": null
69852
+ },
69853
+ {
69854
+ "name": "createdAt",
69855
+ "description": null,
69856
+ "args": [],
69857
+ "type": {
69858
+ "kind": "NON_NULL",
69859
+ "name": null,
69860
+ "ofType": {
69861
+ "kind": "SCALAR",
69862
+ "name": "String",
69863
+ "ofType": null
69864
+ }
69865
+ },
69866
+ "isDeprecated": false,
69867
+ "deprecationReason": null
69868
+ },
69869
+ {
69870
+ "name": "failureReason",
69871
+ "description": null,
69872
+ "args": [],
69873
+ "type": {
69874
+ "kind": "SCALAR",
69875
+ "name": "String",
69876
+ "ofType": null
69877
+ },
69878
+ "isDeprecated": false,
69879
+ "deprecationReason": null
69880
+ },
69881
+ {
69882
+ "name": "id",
69883
+ "description": null,
69884
+ "args": [],
69885
+ "type": {
69886
+ "kind": "NON_NULL",
69887
+ "name": null,
69888
+ "ofType": {
69889
+ "kind": "SCALAR",
69890
+ "name": "ID",
69891
+ "ofType": null
69892
+ }
69893
+ },
69894
+ "isDeprecated": false,
69895
+ "deprecationReason": null
69896
+ },
69897
+ {
69898
+ "name": "intendedAmountCents",
69899
+ "description": null,
69900
+ "args": [],
69901
+ "type": {
69902
+ "kind": "NON_NULL",
69903
+ "name": null,
69904
+ "ofType": {
69905
+ "kind": "SCALAR",
69906
+ "name": "Int",
69907
+ "ofType": null
69908
+ }
69909
+ },
69910
+ "isDeprecated": false,
69911
+ "deprecationReason": null
69912
+ },
69913
+ {
69914
+ "name": "refundAttempts",
69915
+ "description": null,
69916
+ "args": [],
69917
+ "type": {
69918
+ "kind": "NON_NULL",
69919
+ "name": null,
69920
+ "ofType": {
69921
+ "kind": "SCALAR",
69922
+ "name": "Int",
69923
+ "ofType": null
69924
+ }
69925
+ },
69926
+ "isDeprecated": false,
69927
+ "deprecationReason": null
69928
+ },
69929
+ {
69930
+ "name": "refundedAt",
69931
+ "description": null,
69932
+ "args": [],
69933
+ "type": {
69934
+ "kind": "SCALAR",
69935
+ "name": "String",
69936
+ "ofType": null
69937
+ },
69938
+ "isDeprecated": false,
69939
+ "deprecationReason": null
69940
+ },
69941
+ {
69942
+ "name": "retailerID",
69943
+ "description": null,
69944
+ "args": [],
69945
+ "type": {
69946
+ "kind": "NON_NULL",
69947
+ "name": null,
69948
+ "ofType": {
69949
+ "kind": "SCALAR",
69950
+ "name": "ID",
69951
+ "ofType": null
69952
+ }
69953
+ },
69954
+ "isDeprecated": false,
69955
+ "deprecationReason": null
69956
+ },
69957
+ {
69958
+ "name": "state",
69959
+ "description": null,
69960
+ "args": [],
69961
+ "type": {
69962
+ "kind": "NON_NULL",
69963
+ "name": null,
69964
+ "ofType": {
69965
+ "kind": "SCALAR",
69966
+ "name": "String",
69967
+ "ofType": null
69968
+ }
69969
+ },
69970
+ "isDeprecated": false,
69971
+ "deprecationReason": null
69972
+ },
69973
+ {
69974
+ "name": "updatedAt",
69975
+ "description": null,
69976
+ "args": [],
69977
+ "type": {
69978
+ "kind": "NON_NULL",
69979
+ "name": null,
69980
+ "ofType": {
69981
+ "kind": "SCALAR",
69982
+ "name": "String",
69983
+ "ofType": null
69984
+ }
69985
+ },
69986
+ "isDeprecated": false,
69987
+ "deprecationReason": null
69988
+ }
69989
+ ],
69990
+ "inputFields": null,
69991
+ "interfaces": [],
69992
+ "enumValues": null,
69993
+ "possibleTypes": null
69994
+ },
69995
+ {
69996
+ "kind": "OBJECT",
69997
+ "name": "adsvcGetRetailerCampaignResponse",
69998
+ "description": null,
69999
+ "fields": [
70000
+ {
70001
+ "name": "automated",
70002
+ "description": null,
70003
+ "args": [],
70004
+ "type": {
70005
+ "kind": "NON_NULL",
70006
+ "name": null,
70007
+ "ofType": {
70008
+ "kind": "SCALAR",
70009
+ "name": "Boolean",
70010
+ "ofType": null
70011
+ }
70012
+ },
70013
+ "isDeprecated": false,
70014
+ "deprecationReason": null
70015
+ },
70016
+ {
70017
+ "name": "automatedNow",
70018
+ "description": null,
70019
+ "args": [],
70020
+ "type": {
70021
+ "kind": "NON_NULL",
70022
+ "name": null,
70023
+ "ofType": {
70024
+ "kind": "SCALAR",
70025
+ "name": "Boolean",
70026
+ "ofType": null
70027
+ }
70028
+ },
70029
+ "isDeprecated": false,
70030
+ "deprecationReason": null
70031
+ },
70032
+ {
70033
+ "name": "brandId",
70034
+ "description": null,
70035
+ "args": [],
70036
+ "type": {
70037
+ "kind": "NON_NULL",
70038
+ "name": null,
70039
+ "ofType": {
70040
+ "kind": "SCALAR",
70041
+ "name": "ID",
70042
+ "ofType": null
70043
+ }
70044
+ },
70045
+ "isDeprecated": false,
70046
+ "deprecationReason": null
70047
+ },
70048
+ {
70049
+ "name": "campaignChannels",
70050
+ "description": null,
70051
+ "args": [],
70052
+ "type": {
70053
+ "kind": "NON_NULL",
70054
+ "name": null,
70055
+ "ofType": {
70056
+ "kind": "LIST",
70057
+ "name": null,
70058
+ "ofType": {
70059
+ "kind": "NON_NULL",
70060
+ "name": null,
70061
+ "ofType": {
70062
+ "kind": "OBJECT",
70063
+ "name": "adsvcCampaignChannel",
70064
+ "ofType": null
70065
+ }
70066
+ }
70067
+ }
70068
+ },
70069
+ "isDeprecated": false,
70070
+ "deprecationReason": null
70071
+ },
70072
+ {
70073
+ "name": "campaignInvitation",
70074
+ "description": null,
70075
+ "args": [],
70076
+ "type": {
70077
+ "kind": "NON_NULL",
70078
+ "name": null,
70079
+ "ofType": {
70080
+ "kind": "OBJECT",
70081
+ "name": "adsvcCampaignInvitation",
70082
+ "ofType": null
70083
+ }
70084
+ },
70085
+ "isDeprecated": false,
70086
+ "deprecationReason": null
70087
+ },
70088
+ {
70089
+ "name": "createdAt",
70090
+ "description": null,
70091
+ "args": [],
70092
+ "type": {
70093
+ "kind": "NON_NULL",
70094
+ "name": null,
70095
+ "ofType": {
70096
+ "kind": "SCALAR",
70097
+ "name": "String",
70098
+ "ofType": null
70099
+ }
70100
+ },
70101
+ "isDeprecated": false,
70102
+ "deprecationReason": null
70103
+ },
70104
+ {
70105
+ "name": "endsAt",
70106
+ "description": null,
70107
+ "args": [],
70108
+ "type": {
70109
+ "kind": "NON_NULL",
70110
+ "name": null,
70111
+ "ofType": {
70112
+ "kind": "SCALAR",
70113
+ "name": "String",
70114
+ "ofType": null
70115
+ }
70116
+ },
70117
+ "isDeprecated": false,
70118
+ "deprecationReason": null
70119
+ },
70120
+ {
70121
+ "name": "fbAdAccountId",
70122
+ "description": null,
70123
+ "args": [],
70124
+ "type": {
70125
+ "kind": "SCALAR",
70126
+ "name": "String",
70127
+ "ofType": null
70128
+ },
70129
+ "isDeprecated": false,
70130
+ "deprecationReason": null
70131
+ },
70132
+ {
70133
+ "name": "id",
70134
+ "description": null,
70135
+ "args": [],
70136
+ "type": {
70137
+ "kind": "NON_NULL",
70138
+ "name": null,
70139
+ "ofType": {
70140
+ "kind": "SCALAR",
70141
+ "name": "ID",
70142
+ "ofType": null
70143
+ }
70144
+ },
70145
+ "isDeprecated": false,
70146
+ "deprecationReason": null
70147
+ },
70148
+ {
70149
+ "name": "objective",
70150
+ "description": null,
70151
+ "args": [],
70152
+ "type": {
70153
+ "kind": "NON_NULL",
70154
+ "name": null,
70155
+ "ofType": {
70156
+ "kind": "SCALAR",
70157
+ "name": "String",
70158
+ "ofType": null
70159
+ }
70160
+ },
70161
+ "isDeprecated": false,
70162
+ "deprecationReason": null
70163
+ },
70164
+ {
70165
+ "name": "platforms",
70166
+ "description": null,
70167
+ "args": [],
70168
+ "type": {
70169
+ "kind": "NON_NULL",
70170
+ "name": null,
70171
+ "ofType": {
70172
+ "kind": "LIST",
70173
+ "name": null,
70174
+ "ofType": {
70175
+ "kind": "NON_NULL",
70176
+ "name": null,
70177
+ "ofType": {
70178
+ "kind": "SCALAR",
70179
+ "name": "String",
70180
+ "ofType": null
70181
+ }
70182
+ }
70183
+ }
70184
+ },
70185
+ "isDeprecated": false,
70186
+ "deprecationReason": null
70187
+ },
70188
+ {
70189
+ "name": "publishedAt",
70190
+ "description": null,
70191
+ "args": [],
70192
+ "type": {
70193
+ "kind": "SCALAR",
70194
+ "name": "String",
70195
+ "ofType": null
70196
+ },
70197
+ "isDeprecated": false,
70198
+ "deprecationReason": null
70199
+ },
70200
+ {
70201
+ "name": "startsAt",
70202
+ "description": null,
70203
+ "args": [],
70204
+ "type": {
70205
+ "kind": "NON_NULL",
70206
+ "name": null,
70207
+ "ofType": {
70208
+ "kind": "SCALAR",
70209
+ "name": "String",
70210
+ "ofType": null
70211
+ }
70212
+ },
70213
+ "isDeprecated": false,
70214
+ "deprecationReason": null
70215
+ },
70216
+ {
70217
+ "name": "state",
70218
+ "description": null,
70219
+ "args": [],
70220
+ "type": {
70221
+ "kind": "NON_NULL",
70222
+ "name": null,
70223
+ "ofType": {
70224
+ "kind": "SCALAR",
70225
+ "name": "String",
70226
+ "ofType": null
70227
+ }
70228
+ },
70229
+ "isDeprecated": false,
70230
+ "deprecationReason": null
70231
+ },
70232
+ {
70233
+ "name": "thumbnail",
70234
+ "description": null,
70235
+ "args": [],
70236
+ "type": {
70237
+ "kind": "NON_NULL",
70238
+ "name": null,
70239
+ "ofType": {
70240
+ "kind": "OBJECT",
70241
+ "name": "adsvcMedia",
70242
+ "ofType": null
70243
+ }
70244
+ },
70245
+ "isDeprecated": false,
70246
+ "deprecationReason": null
70247
+ },
70248
+ {
70249
+ "name": "title",
70250
+ "description": null,
70251
+ "args": [],
70252
+ "type": {
70253
+ "kind": "NON_NULL",
70254
+ "name": null,
70255
+ "ofType": {
70256
+ "kind": "SCALAR",
70257
+ "name": "String",
70258
+ "ofType": null
70259
+ }
70260
+ },
70261
+ "isDeprecated": false,
70262
+ "deprecationReason": null
70263
+ },
70264
+ {
70265
+ "name": "type",
70266
+ "description": null,
70267
+ "args": [],
70268
+ "type": {
70269
+ "kind": "NON_NULL",
70270
+ "name": null,
70271
+ "ofType": {
70272
+ "kind": "SCALAR",
70273
+ "name": "String",
70274
+ "ofType": null
70275
+ }
70276
+ },
70277
+ "isDeprecated": false,
70278
+ "deprecationReason": null
70279
+ }
70280
+ ],
70281
+ "inputFields": null,
70282
+ "interfaces": [],
70283
+ "enumValues": null,
70284
+ "possibleTypes": null
70285
+ },
70286
+ {
70287
+ "kind": "OBJECT",
70288
+ "name": "adsvcMedia",
70289
+ "description": null,
70290
+ "fields": [
70291
+ {
70292
+ "name": "sourceID",
70293
+ "description": null,
70294
+ "args": [],
70295
+ "type": {
70296
+ "kind": "NON_NULL",
70297
+ "name": null,
70298
+ "ofType": {
70299
+ "kind": "SCALAR",
70300
+ "name": "String",
70301
+ "ofType": null
70302
+ }
70303
+ },
70304
+ "isDeprecated": false,
70305
+ "deprecationReason": null
70306
+ },
70307
+ {
70308
+ "name": "sourceType",
70309
+ "description": null,
70310
+ "args": [],
70311
+ "type": {
70312
+ "kind": "NON_NULL",
70313
+ "name": null,
70314
+ "ofType": {
70315
+ "kind": "SCALAR",
70316
+ "name": "String",
70317
+ "ofType": null
70318
+ }
70319
+ },
70320
+ "isDeprecated": false,
70321
+ "deprecationReason": null
70322
+ }
70323
+ ],
70324
+ "inputFields": null,
70325
+ "interfaces": [],
70326
+ "enumValues": null,
70327
+ "possibleTypes": null
69585
70328
  }
69586
70329
  ],
69587
70330
  "directives": [
package/index.d.ts CHANGED
@@ -1069,6 +1069,7 @@ export type BulkUpdateDigitalAssetParams = {
1069
1069
 
1070
1070
  export type CalendarItem = {
1071
1071
  __typename?: 'CalendarItem';
1072
+ associable?: Maybe<CalendarItemAssociable>;
1072
1073
  associable_id: Scalars['ID']['output'];
1073
1074
  associable_type: Scalars['String']['output'];
1074
1075
  campaign?: Maybe<Campaign>;
@@ -1080,6 +1081,7 @@ export type CalendarItem = {
1080
1081
  id: Scalars['ID']['output'];
1081
1082
  owner_id: Scalars['ID']['output'];
1082
1083
  owner_type: Scalars['String']['output'];
1084
+ share?: Maybe<Share>;
1083
1085
  start_date_at: Scalars['String']['output'];
1084
1086
  targetable_id?: Maybe<Scalars['ID']['output']>;
1085
1087
  targetable_type?: Maybe<Scalars['ID']['output']>;
@@ -1097,6 +1099,8 @@ export type CalendarItemCommunicationAutomationArgs = {
1097
1099
  fields?: InputMaybe<Array<Scalars['String']['input']>>;
1098
1100
  };
1099
1101
 
1102
+ export type CalendarItemAssociable = Campaign | CommunicationAutomation | Share;
1103
+
1100
1104
  export type CalendarItemFilters = {
1101
1105
  max_date: Scalars['String']['input'];
1102
1106
  min_date: Scalars['String']['input'];
@@ -5732,6 +5736,7 @@ export type PutEventsResp = {
5732
5736
  export type Query = {
5733
5737
  __typename?: 'Query';
5734
5738
  adminGetSignedDashboard?: Maybe<SignedDashboardResponse>;
5739
+ adsvcGetRetailerCampaign: AdsvcGetRetailerCampaignResponse;
5735
5740
  /**
5736
5741
  * get brand_retailer_ledgers
5737
5742
  * a list of business/retailer wallets that are associated to the requested brand.
@@ -5899,6 +5904,12 @@ export type QueryAdminGetSignedDashboardArgs = {
5899
5904
  };
5900
5905
 
5901
5906
 
5907
+ export type QueryAdsvcGetRetailerCampaignArgs = {
5908
+ id: Scalars['ID']['input'];
5909
+ retailerID: Scalars['Int']['input'];
5910
+ };
5911
+
5912
+
5902
5913
  export type QueryBrand_Retailer_LedgersArgs = {
5903
5914
  brand_id: Scalars['ID']['input'];
5904
5915
  business_ids: Array<Scalars['ID']['input']>;
@@ -8170,3 +8181,57 @@ export type ZipDigitalAssetsResponse = {
8170
8181
  __typename?: 'ZipDigitalAssetsResponse';
8171
8182
  url: Scalars['String']['output'];
8172
8183
  };
8184
+
8185
+ export type AdsvcCampaignChannel = {
8186
+ __typename?: 'adsvcCampaignChannel';
8187
+ campaignID: Scalars['ID']['output'];
8188
+ channel: Scalars['String']['output'];
8189
+ channelCampaignID: Scalars['String']['output'];
8190
+ createdAt: Scalars['String']['output'];
8191
+ id: Scalars['ID']['output'];
8192
+ };
8193
+
8194
+ export type AdsvcCampaignInvitation = {
8195
+ __typename?: 'adsvcCampaignInvitation';
8196
+ acceptedAt?: Maybe<Scalars['String']['output']>;
8197
+ automateAt?: Maybe<Scalars['String']['output']>;
8198
+ automated: Scalars['Boolean']['output'];
8199
+ businessID: Scalars['ID']['output'];
8200
+ campaignID: Scalars['ID']['output'];
8201
+ createdAt: Scalars['String']['output'];
8202
+ failureReason?: Maybe<Scalars['String']['output']>;
8203
+ id: Scalars['ID']['output'];
8204
+ intendedAmountCents: Scalars['Int']['output'];
8205
+ refundAttempts: Scalars['Int']['output'];
8206
+ refundedAt?: Maybe<Scalars['String']['output']>;
8207
+ retailerID: Scalars['ID']['output'];
8208
+ state: Scalars['String']['output'];
8209
+ updatedAt: Scalars['String']['output'];
8210
+ };
8211
+
8212
+ export type AdsvcGetRetailerCampaignResponse = {
8213
+ __typename?: 'adsvcGetRetailerCampaignResponse';
8214
+ automated: Scalars['Boolean']['output'];
8215
+ automatedNow: Scalars['Boolean']['output'];
8216
+ brandId: Scalars['ID']['output'];
8217
+ campaignChannels: Array<AdsvcCampaignChannel>;
8218
+ campaignInvitation: AdsvcCampaignInvitation;
8219
+ createdAt: Scalars['String']['output'];
8220
+ endsAt: Scalars['String']['output'];
8221
+ fbAdAccountId?: Maybe<Scalars['String']['output']>;
8222
+ id: Scalars['ID']['output'];
8223
+ objective: Scalars['String']['output'];
8224
+ platforms: Array<Scalars['String']['output']>;
8225
+ publishedAt?: Maybe<Scalars['String']['output']>;
8226
+ startsAt: Scalars['String']['output'];
8227
+ state: Scalars['String']['output'];
8228
+ thumbnail: AdsvcMedia;
8229
+ title: Scalars['String']['output'];
8230
+ type: Scalars['String']['output'];
8231
+ };
8232
+
8233
+ export type AdsvcMedia = {
8234
+ __typename?: 'adsvcMedia';
8235
+ sourceID: Scalars['String']['output'];
8236
+ sourceType: Scalars['String']['output'];
8237
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promoboxx/graphql-gateway-types",
3
- "version": "1.129.0",
3
+ "version": "1.131.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/schema.graphql CHANGED
@@ -1043,6 +1043,7 @@ input BulkUpdateDigitalAssetParams {
1043
1043
  }
1044
1044
 
1045
1045
  type CalendarItem {
1046
+ associable: CalendarItemAssociable
1046
1047
  associable_id: ID!
1047
1048
  associable_type: String!
1048
1049
  campaign(params: CampaignParams): Campaign
@@ -1054,6 +1055,7 @@ type CalendarItem {
1054
1055
  id: ID!
1055
1056
  owner_id: ID!
1056
1057
  owner_type: String!
1058
+ share: Share
1057
1059
  start_date_at: String!
1058
1060
  targetable_id: ID
1059
1061
  targetable_type: ID
@@ -1061,6 +1063,8 @@ type CalendarItem {
1061
1063
  updated_at: String!
1062
1064
  }
1063
1065
 
1066
+ union CalendarItemAssociable = Campaign | CommunicationAutomation | Share
1067
+
1064
1068
  input CalendarItemFilters {
1065
1069
  max_date: String!
1066
1070
  min_date: String!
@@ -4653,6 +4657,7 @@ type PutEventsResp {
4653
4657
 
4654
4658
  type Query {
4655
4659
  adminGetSignedDashboard(req: AdminGetSignedDashboardRequest!): SignedDashboardResponse
4660
+ adsvcGetRetailerCampaign(id: ID!, retailerID: Int!): adsvcGetRetailerCampaignResponse!
4656
4661
 
4657
4662
  """
4658
4663
  get brand_retailer_ledgers
@@ -6319,4 +6324,54 @@ input ZipDigitalAssetsParams {
6319
6324
 
6320
6325
  type ZipDigitalAssetsResponse {
6321
6326
  url: String!
6327
+ }
6328
+
6329
+ type adsvcCampaignChannel {
6330
+ campaignID: ID!
6331
+ channel: String!
6332
+ channelCampaignID: String!
6333
+ createdAt: String!
6334
+ id: ID!
6335
+ }
6336
+
6337
+ type adsvcCampaignInvitation {
6338
+ acceptedAt: String
6339
+ automateAt: String
6340
+ automated: Boolean!
6341
+ businessID: ID!
6342
+ campaignID: ID!
6343
+ createdAt: String!
6344
+ failureReason: String
6345
+ id: ID!
6346
+ intendedAmountCents: Int!
6347
+ refundAttempts: Int!
6348
+ refundedAt: String
6349
+ retailerID: ID!
6350
+ state: String!
6351
+ updatedAt: String!
6352
+ }
6353
+
6354
+ type adsvcGetRetailerCampaignResponse {
6355
+ automated: Boolean!
6356
+ automatedNow: Boolean!
6357
+ brandId: ID!
6358
+ campaignChannels: [adsvcCampaignChannel!]!
6359
+ campaignInvitation: adsvcCampaignInvitation!
6360
+ createdAt: String!
6361
+ endsAt: String!
6362
+ fbAdAccountId: String
6363
+ id: ID!
6364
+ objective: String!
6365
+ platforms: [String!]!
6366
+ publishedAt: String
6367
+ startsAt: String!
6368
+ state: String!
6369
+ thumbnail: adsvcMedia!
6370
+ title: String!
6371
+ type: String!
6372
+ }
6373
+
6374
+ type adsvcMedia {
6375
+ sourceID: String!
6376
+ sourceType: String!
6322
6377
  }