@promoboxx/graphql-gateway-types 1.1031.0 → 1.1033.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 +251 -0
- package/index.d.ts +37 -0
- package/package.json +1 -1
- package/schema.graphql +18 -0
package/graphql.schema.json
CHANGED
|
@@ -54198,6 +54198,39 @@
|
|
|
54198
54198
|
"isDeprecated": false,
|
|
54199
54199
|
"deprecationReason": null
|
|
54200
54200
|
},
|
|
54201
|
+
{
|
|
54202
|
+
"name": "deleteAsset",
|
|
54203
|
+
"description": null,
|
|
54204
|
+
"args": [
|
|
54205
|
+
{
|
|
54206
|
+
"name": "id",
|
|
54207
|
+
"description": null,
|
|
54208
|
+
"type": {
|
|
54209
|
+
"kind": "NON_NULL",
|
|
54210
|
+
"name": null,
|
|
54211
|
+
"ofType": {
|
|
54212
|
+
"kind": "SCALAR",
|
|
54213
|
+
"name": "ID",
|
|
54214
|
+
"ofType": null
|
|
54215
|
+
}
|
|
54216
|
+
},
|
|
54217
|
+
"defaultValue": null,
|
|
54218
|
+
"isDeprecated": false,
|
|
54219
|
+
"deprecationReason": null
|
|
54220
|
+
}
|
|
54221
|
+
],
|
|
54222
|
+
"type": {
|
|
54223
|
+
"kind": "NON_NULL",
|
|
54224
|
+
"name": null,
|
|
54225
|
+
"ofType": {
|
|
54226
|
+
"kind": "SCALAR",
|
|
54227
|
+
"name": "ID",
|
|
54228
|
+
"ofType": null
|
|
54229
|
+
}
|
|
54230
|
+
},
|
|
54231
|
+
"isDeprecated": false,
|
|
54232
|
+
"deprecationReason": null
|
|
54233
|
+
},
|
|
54201
54234
|
{
|
|
54202
54235
|
"name": "deleteBillboard",
|
|
54203
54236
|
"description": "Deletes the billboard with the given data and echoes its ID \n(note: GraphQL doesn't let us return nothing, so this is our way of getting around that)",
|
|
@@ -55030,6 +55063,39 @@
|
|
|
55030
55063
|
"isDeprecated": false,
|
|
55031
55064
|
"deprecationReason": null
|
|
55032
55065
|
},
|
|
55066
|
+
{
|
|
55067
|
+
"name": "deleteShareSetting",
|
|
55068
|
+
"description": null,
|
|
55069
|
+
"args": [
|
|
55070
|
+
{
|
|
55071
|
+
"name": "id",
|
|
55072
|
+
"description": null,
|
|
55073
|
+
"type": {
|
|
55074
|
+
"kind": "NON_NULL",
|
|
55075
|
+
"name": null,
|
|
55076
|
+
"ofType": {
|
|
55077
|
+
"kind": "SCALAR",
|
|
55078
|
+
"name": "ID",
|
|
55079
|
+
"ofType": null
|
|
55080
|
+
}
|
|
55081
|
+
},
|
|
55082
|
+
"defaultValue": null,
|
|
55083
|
+
"isDeprecated": false,
|
|
55084
|
+
"deprecationReason": null
|
|
55085
|
+
}
|
|
55086
|
+
],
|
|
55087
|
+
"type": {
|
|
55088
|
+
"kind": "NON_NULL",
|
|
55089
|
+
"name": null,
|
|
55090
|
+
"ofType": {
|
|
55091
|
+
"kind": "SCALAR",
|
|
55092
|
+
"name": "ID",
|
|
55093
|
+
"ofType": null
|
|
55094
|
+
}
|
|
55095
|
+
},
|
|
55096
|
+
"isDeprecated": false,
|
|
55097
|
+
"deprecationReason": null
|
|
55098
|
+
},
|
|
55033
55099
|
{
|
|
55034
55100
|
"name": "deleteSsoConnection",
|
|
55035
55101
|
"description": null,
|
|
@@ -60842,6 +60908,47 @@
|
|
|
60842
60908
|
"isDeprecated": false,
|
|
60843
60909
|
"deprecationReason": null
|
|
60844
60910
|
},
|
|
60911
|
+
{
|
|
60912
|
+
"name": "updateAsset",
|
|
60913
|
+
"description": null,
|
|
60914
|
+
"args": [
|
|
60915
|
+
{
|
|
60916
|
+
"name": "id",
|
|
60917
|
+
"description": null,
|
|
60918
|
+
"type": {
|
|
60919
|
+
"kind": "NON_NULL",
|
|
60920
|
+
"name": null,
|
|
60921
|
+
"ofType": {
|
|
60922
|
+
"kind": "SCALAR",
|
|
60923
|
+
"name": "ID",
|
|
60924
|
+
"ofType": null
|
|
60925
|
+
}
|
|
60926
|
+
},
|
|
60927
|
+
"defaultValue": null,
|
|
60928
|
+
"isDeprecated": false,
|
|
60929
|
+
"deprecationReason": null
|
|
60930
|
+
},
|
|
60931
|
+
{
|
|
60932
|
+
"name": "payload",
|
|
60933
|
+
"description": null,
|
|
60934
|
+
"type": {
|
|
60935
|
+
"kind": "INPUT_OBJECT",
|
|
60936
|
+
"name": "UpdateAssetParams",
|
|
60937
|
+
"ofType": null
|
|
60938
|
+
},
|
|
60939
|
+
"defaultValue": null,
|
|
60940
|
+
"isDeprecated": false,
|
|
60941
|
+
"deprecationReason": null
|
|
60942
|
+
}
|
|
60943
|
+
],
|
|
60944
|
+
"type": {
|
|
60945
|
+
"kind": "OBJECT",
|
|
60946
|
+
"name": "Asset",
|
|
60947
|
+
"ofType": null
|
|
60948
|
+
},
|
|
60949
|
+
"isDeprecated": false,
|
|
60950
|
+
"deprecationReason": null
|
|
60951
|
+
},
|
|
60845
60952
|
{
|
|
60846
60953
|
"name": "updateAutomation",
|
|
60847
60954
|
"description": null,
|
|
@@ -101521,6 +101628,150 @@
|
|
|
101521
101628
|
"enumValues": null,
|
|
101522
101629
|
"possibleTypes": null
|
|
101523
101630
|
},
|
|
101631
|
+
{
|
|
101632
|
+
"kind": "INPUT_OBJECT",
|
|
101633
|
+
"name": "UpdateAssetInput",
|
|
101634
|
+
"description": null,
|
|
101635
|
+
"isOneOf": false,
|
|
101636
|
+
"fields": null,
|
|
101637
|
+
"inputFields": [
|
|
101638
|
+
{
|
|
101639
|
+
"name": "brand_id",
|
|
101640
|
+
"description": null,
|
|
101641
|
+
"type": {
|
|
101642
|
+
"kind": "SCALAR",
|
|
101643
|
+
"name": "ID",
|
|
101644
|
+
"ofType": null
|
|
101645
|
+
},
|
|
101646
|
+
"defaultValue": null,
|
|
101647
|
+
"isDeprecated": false,
|
|
101648
|
+
"deprecationReason": null
|
|
101649
|
+
},
|
|
101650
|
+
{
|
|
101651
|
+
"name": "campaign_id",
|
|
101652
|
+
"description": null,
|
|
101653
|
+
"type": {
|
|
101654
|
+
"kind": "SCALAR",
|
|
101655
|
+
"name": "ID",
|
|
101656
|
+
"ofType": null
|
|
101657
|
+
},
|
|
101658
|
+
"defaultValue": null,
|
|
101659
|
+
"isDeprecated": false,
|
|
101660
|
+
"deprecationReason": null
|
|
101661
|
+
},
|
|
101662
|
+
{
|
|
101663
|
+
"name": "category",
|
|
101664
|
+
"description": null,
|
|
101665
|
+
"type": {
|
|
101666
|
+
"kind": "SCALAR",
|
|
101667
|
+
"name": "String",
|
|
101668
|
+
"ofType": null
|
|
101669
|
+
},
|
|
101670
|
+
"defaultValue": null,
|
|
101671
|
+
"isDeprecated": false,
|
|
101672
|
+
"deprecationReason": null
|
|
101673
|
+
},
|
|
101674
|
+
{
|
|
101675
|
+
"name": "description",
|
|
101676
|
+
"description": null,
|
|
101677
|
+
"type": {
|
|
101678
|
+
"kind": "SCALAR",
|
|
101679
|
+
"name": "String",
|
|
101680
|
+
"ofType": null
|
|
101681
|
+
},
|
|
101682
|
+
"defaultValue": null,
|
|
101683
|
+
"isDeprecated": false,
|
|
101684
|
+
"deprecationReason": null
|
|
101685
|
+
},
|
|
101686
|
+
{
|
|
101687
|
+
"name": "enabled",
|
|
101688
|
+
"description": null,
|
|
101689
|
+
"type": {
|
|
101690
|
+
"kind": "SCALAR",
|
|
101691
|
+
"name": "Boolean",
|
|
101692
|
+
"ofType": null
|
|
101693
|
+
},
|
|
101694
|
+
"defaultValue": null,
|
|
101695
|
+
"isDeprecated": false,
|
|
101696
|
+
"deprecationReason": null
|
|
101697
|
+
},
|
|
101698
|
+
{
|
|
101699
|
+
"name": "name",
|
|
101700
|
+
"description": null,
|
|
101701
|
+
"type": {
|
|
101702
|
+
"kind": "SCALAR",
|
|
101703
|
+
"name": "String",
|
|
101704
|
+
"ofType": null
|
|
101705
|
+
},
|
|
101706
|
+
"defaultValue": null,
|
|
101707
|
+
"isDeprecated": false,
|
|
101708
|
+
"deprecationReason": null
|
|
101709
|
+
},
|
|
101710
|
+
{
|
|
101711
|
+
"name": "pinned",
|
|
101712
|
+
"description": null,
|
|
101713
|
+
"type": {
|
|
101714
|
+
"kind": "SCALAR",
|
|
101715
|
+
"name": "Boolean",
|
|
101716
|
+
"ofType": null
|
|
101717
|
+
},
|
|
101718
|
+
"defaultValue": null,
|
|
101719
|
+
"isDeprecated": false,
|
|
101720
|
+
"deprecationReason": null
|
|
101721
|
+
}
|
|
101722
|
+
],
|
|
101723
|
+
"interfaces": null,
|
|
101724
|
+
"enumValues": null,
|
|
101725
|
+
"possibleTypes": null
|
|
101726
|
+
},
|
|
101727
|
+
{
|
|
101728
|
+
"kind": "INPUT_OBJECT",
|
|
101729
|
+
"name": "UpdateAssetParams",
|
|
101730
|
+
"description": null,
|
|
101731
|
+
"isOneOf": false,
|
|
101732
|
+
"fields": null,
|
|
101733
|
+
"inputFields": [
|
|
101734
|
+
{
|
|
101735
|
+
"name": "asset",
|
|
101736
|
+
"description": null,
|
|
101737
|
+
"type": {
|
|
101738
|
+
"kind": "INPUT_OBJECT",
|
|
101739
|
+
"name": "UpdateAssetInput",
|
|
101740
|
+
"ofType": null
|
|
101741
|
+
},
|
|
101742
|
+
"defaultValue": null,
|
|
101743
|
+
"isDeprecated": false,
|
|
101744
|
+
"deprecationReason": null
|
|
101745
|
+
},
|
|
101746
|
+
{
|
|
101747
|
+
"name": "fields",
|
|
101748
|
+
"description": null,
|
|
101749
|
+
"type": {
|
|
101750
|
+
"kind": "NON_NULL",
|
|
101751
|
+
"name": null,
|
|
101752
|
+
"ofType": {
|
|
101753
|
+
"kind": "LIST",
|
|
101754
|
+
"name": null,
|
|
101755
|
+
"ofType": {
|
|
101756
|
+
"kind": "NON_NULL",
|
|
101757
|
+
"name": null,
|
|
101758
|
+
"ofType": {
|
|
101759
|
+
"kind": "SCALAR",
|
|
101760
|
+
"name": "String",
|
|
101761
|
+
"ofType": null
|
|
101762
|
+
}
|
|
101763
|
+
}
|
|
101764
|
+
}
|
|
101765
|
+
},
|
|
101766
|
+
"defaultValue": null,
|
|
101767
|
+
"isDeprecated": false,
|
|
101768
|
+
"deprecationReason": null
|
|
101769
|
+
}
|
|
101770
|
+
],
|
|
101771
|
+
"interfaces": null,
|
|
101772
|
+
"enumValues": null,
|
|
101773
|
+
"possibleTypes": null
|
|
101774
|
+
},
|
|
101524
101775
|
{
|
|
101525
101776
|
"kind": "INPUT_OBJECT",
|
|
101526
101777
|
"name": "UpdateAutomationInput",
|
package/index.d.ts
CHANGED
|
@@ -5459,6 +5459,7 @@ export type Mutation = {
|
|
|
5459
5459
|
deactivateUser: User;
|
|
5460
5460
|
deleteAccessInvitation: Scalars['ID']['output'];
|
|
5461
5461
|
deleteAdInvitations: Scalars['ID']['output'];
|
|
5462
|
+
deleteAsset: Scalars['ID']['output'];
|
|
5462
5463
|
/**
|
|
5463
5464
|
* Deletes the billboard with the given data and echoes its ID
|
|
5464
5465
|
* (note: GraphQL doesn't let us return nothing, so this is our way of getting around that)
|
|
@@ -5487,6 +5488,7 @@ export type Mutation = {
|
|
|
5487
5488
|
deleteResourceSpecificFacebookPage?: Maybe<Scalars['ID']['output']>;
|
|
5488
5489
|
deleteRetailer: Scalars['ID']['output'];
|
|
5489
5490
|
deleteShare: DeleteShareResponse;
|
|
5491
|
+
deleteShareSetting: Scalars['ID']['output'];
|
|
5490
5492
|
deleteSsoConnection: Scalars['String']['output'];
|
|
5491
5493
|
deleteTwitterAccount?: Maybe<Scalars['ID']['output']>;
|
|
5492
5494
|
deleteUser: Scalars['ID']['output'];
|
|
@@ -5730,6 +5732,7 @@ export type Mutation = {
|
|
|
5730
5732
|
updateAdSetTemplate?: Maybe<Scalars['ID']['output']>;
|
|
5731
5733
|
updateAlert: Alert;
|
|
5732
5734
|
updateAlerts: Array<Alert>;
|
|
5735
|
+
updateAsset?: Maybe<Asset>;
|
|
5733
5736
|
updateAutomation?: Maybe<UpdateAutomationResponse>;
|
|
5734
5737
|
updateAutomations?: Maybe<Array<UpdateAutomationResponse>>;
|
|
5735
5738
|
/** Updates the existing billboard with the given ID in `data` to the non-null values in `data` */
|
|
@@ -6571,6 +6574,12 @@ export type MutationDeleteAdInvitationsArgs = {
|
|
|
6571
6574
|
};
|
|
6572
6575
|
|
|
6573
6576
|
|
|
6577
|
+
/** mutation root */
|
|
6578
|
+
export type MutationDeleteAssetArgs = {
|
|
6579
|
+
id: Scalars['ID']['input'];
|
|
6580
|
+
};
|
|
6581
|
+
|
|
6582
|
+
|
|
6574
6583
|
/** mutation root */
|
|
6575
6584
|
export type MutationDeleteBillboardArgs = {
|
|
6576
6585
|
data: DeleteBillboardData;
|
|
@@ -6720,6 +6729,12 @@ export type MutationDeleteShareArgs = {
|
|
|
6720
6729
|
};
|
|
6721
6730
|
|
|
6722
6731
|
|
|
6732
|
+
/** mutation root */
|
|
6733
|
+
export type MutationDeleteShareSettingArgs = {
|
|
6734
|
+
id: Scalars['ID']['input'];
|
|
6735
|
+
};
|
|
6736
|
+
|
|
6737
|
+
|
|
6723
6738
|
/** mutation root */
|
|
6724
6739
|
export type MutationDeleteSsoConnectionArgs = {
|
|
6725
6740
|
id: Scalars['ID']['input'];
|
|
@@ -7688,6 +7703,13 @@ export type MutationUpdateAlertsArgs = {
|
|
|
7688
7703
|
};
|
|
7689
7704
|
|
|
7690
7705
|
|
|
7706
|
+
/** mutation root */
|
|
7707
|
+
export type MutationUpdateAssetArgs = {
|
|
7708
|
+
id: Scalars['ID']['input'];
|
|
7709
|
+
payload?: InputMaybe<UpdateAssetParams>;
|
|
7710
|
+
};
|
|
7711
|
+
|
|
7712
|
+
|
|
7691
7713
|
/** mutation root */
|
|
7692
7714
|
export type MutationUpdateAutomationArgs = {
|
|
7693
7715
|
automationId: Scalars['ID']['input'];
|
|
@@ -12797,6 +12819,21 @@ export type UpdateAlertsParams = {
|
|
|
12797
12819
|
status: AlertStatus;
|
|
12798
12820
|
};
|
|
12799
12821
|
|
|
12822
|
+
export type UpdateAssetInput = {
|
|
12823
|
+
brand_id?: InputMaybe<Scalars['ID']['input']>;
|
|
12824
|
+
campaign_id?: InputMaybe<Scalars['ID']['input']>;
|
|
12825
|
+
category?: InputMaybe<Scalars['String']['input']>;
|
|
12826
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
12827
|
+
enabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
12828
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
12829
|
+
pinned?: InputMaybe<Scalars['Boolean']['input']>;
|
|
12830
|
+
};
|
|
12831
|
+
|
|
12832
|
+
export type UpdateAssetParams = {
|
|
12833
|
+
asset?: InputMaybe<UpdateAssetInput>;
|
|
12834
|
+
fields: Array<Scalars['String']['input']>;
|
|
12835
|
+
};
|
|
12836
|
+
|
|
12800
12837
|
export type UpdateAutomationInput = {
|
|
12801
12838
|
automationId: Scalars['ID']['input'];
|
|
12802
12839
|
state: AutomationState;
|
package/package.json
CHANGED
package/schema.graphql
CHANGED
|
@@ -5229,6 +5229,7 @@ type Mutation {
|
|
|
5229
5229
|
deactivateUser(id: ID!): User!
|
|
5230
5230
|
deleteAccessInvitation(id: ID!): ID!
|
|
5231
5231
|
deleteAdInvitations(params: DeleteAdInvitationsParams!): ID!
|
|
5232
|
+
deleteAsset(id: ID!): ID!
|
|
5232
5233
|
|
|
5233
5234
|
"""
|
|
5234
5235
|
Deletes the billboard with the given data and echoes its ID
|
|
@@ -5258,6 +5259,7 @@ type Mutation {
|
|
|
5258
5259
|
deleteResourceSpecificFacebookPage(facebookPageId: ID!, resourceId: ID!, resourceType: FacebookPageResourceType!): ID
|
|
5259
5260
|
deleteRetailer(id: ID!): ID!
|
|
5260
5261
|
deleteShare(shareId: ID!, shareType: ShareTypeParam): DeleteShareResponse!
|
|
5262
|
+
deleteShareSetting(id: ID!): ID!
|
|
5261
5263
|
deleteSsoConnection(id: ID!, user_id: ID!): String!
|
|
5262
5264
|
deleteTwitterAccount(id: ID!, resourceId: ID!, resourceType: String!): ID
|
|
5263
5265
|
deleteUser(id: ID!): ID!
|
|
@@ -6073,6 +6075,7 @@ type Mutation {
|
|
|
6073
6075
|
updateAdSetTemplate(ad_set_template_id: ID!, brand_id: ID!, params: UpdateAdSetTemplateParams!): ID
|
|
6074
6076
|
updateAlert(params: UpdateAlertParams!, resourceId: ID!): Alert!
|
|
6075
6077
|
updateAlerts(params: UpdateAlertsParams!): [Alert!]!
|
|
6078
|
+
updateAsset(id: ID!, payload: UpdateAssetParams): Asset
|
|
6076
6079
|
updateAutomation(automationId: ID!, state: AutomationState!): UpdateAutomationResponse
|
|
6077
6080
|
updateAutomations(params: [UpdateAutomationInput!]!): [UpdateAutomationResponse!]
|
|
6078
6081
|
|
|
@@ -11259,6 +11262,21 @@ input UpdateAlertsParams {
|
|
|
11259
11262
|
status: AlertStatus!
|
|
11260
11263
|
}
|
|
11261
11264
|
|
|
11265
|
+
input UpdateAssetInput {
|
|
11266
|
+
brand_id: ID
|
|
11267
|
+
campaign_id: ID
|
|
11268
|
+
category: String
|
|
11269
|
+
description: String
|
|
11270
|
+
enabled: Boolean
|
|
11271
|
+
name: String
|
|
11272
|
+
pinned: Boolean
|
|
11273
|
+
}
|
|
11274
|
+
|
|
11275
|
+
input UpdateAssetParams {
|
|
11276
|
+
asset: UpdateAssetInput
|
|
11277
|
+
fields: [String!]!
|
|
11278
|
+
}
|
|
11279
|
+
|
|
11262
11280
|
input UpdateAutomationInput {
|
|
11263
11281
|
automationId: ID!
|
|
11264
11282
|
state: AutomationState!
|