@promoboxx/graphql-gateway-types 1.276.0 → 1.278.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.
@@ -5435,6 +5435,37 @@
5435
5435
  "enumValues": null,
5436
5436
  "possibleTypes": null
5437
5437
  },
5438
+ {
5439
+ "kind": "INPUT_OBJECT",
5440
+ "name": "AssetParams",
5441
+ "description": null,
5442
+ "fields": null,
5443
+ "inputFields": [
5444
+ {
5445
+ "name": "fields",
5446
+ "description": null,
5447
+ "type": {
5448
+ "kind": "LIST",
5449
+ "name": null,
5450
+ "ofType": {
5451
+ "kind": "NON_NULL",
5452
+ "name": null,
5453
+ "ofType": {
5454
+ "kind": "SCALAR",
5455
+ "name": "String",
5456
+ "ofType": null
5457
+ }
5458
+ }
5459
+ },
5460
+ "defaultValue": null,
5461
+ "isDeprecated": false,
5462
+ "deprecationReason": null
5463
+ }
5464
+ ],
5465
+ "interfaces": null,
5466
+ "enumValues": null,
5467
+ "possibleTypes": null
5468
+ },
5438
5469
  {
5439
5470
  "kind": "OBJECT",
5440
5471
  "name": "AuthHeaders",
@@ -58164,6 +58195,47 @@
58164
58195
  "isDeprecated": false,
58165
58196
  "deprecationReason": null
58166
58197
  },
58198
+ {
58199
+ "name": "getAsset",
58200
+ "description": null,
58201
+ "args": [
58202
+ {
58203
+ "name": "assetId",
58204
+ "description": null,
58205
+ "type": {
58206
+ "kind": "NON_NULL",
58207
+ "name": null,
58208
+ "ofType": {
58209
+ "kind": "SCALAR",
58210
+ "name": "ID",
58211
+ "ofType": null
58212
+ }
58213
+ },
58214
+ "defaultValue": null,
58215
+ "isDeprecated": false,
58216
+ "deprecationReason": null
58217
+ },
58218
+ {
58219
+ "name": "params",
58220
+ "description": null,
58221
+ "type": {
58222
+ "kind": "INPUT_OBJECT",
58223
+ "name": "AssetParams",
58224
+ "ofType": null
58225
+ },
58226
+ "defaultValue": null,
58227
+ "isDeprecated": false,
58228
+ "deprecationReason": null
58229
+ }
58230
+ ],
58231
+ "type": {
58232
+ "kind": "OBJECT",
58233
+ "name": "Asset",
58234
+ "ofType": null
58235
+ },
58236
+ "isDeprecated": false,
58237
+ "deprecationReason": null
58238
+ },
58167
58239
  {
58168
58240
  "name": "getAutomation",
58169
58241
  "description": null,
package/index.d.ts CHANGED
@@ -622,6 +622,10 @@ export type Asset = {
622
622
  width?: Maybe<Scalars['String']['output']>;
623
623
  };
624
624
 
625
+ export type AssetParams = {
626
+ fields?: InputMaybe<Array<Scalars['String']['input']>>;
627
+ };
628
+
625
629
  export type AuthHeaders = {
626
630
  __typename?: 'AuthHeaders';
627
631
  accessToken?: Maybe<Scalars['String']['output']>;
@@ -7337,6 +7341,7 @@ export type Query = {
7337
7341
  getAggregateStats?: Maybe<AggregateStats>;
7338
7342
  getAlert: Alert;
7339
7343
  getAlerts: Array<Alert>;
7344
+ getAsset?: Maybe<Asset>;
7340
7345
  getAutomation?: Maybe<Automation>;
7341
7346
  getAutomations?: Maybe<Array<Automation>>;
7342
7347
  /** Gets the specific billboard with the given ID */
@@ -7781,6 +7786,12 @@ export type QueryGetAlertsArgs = {
7781
7786
  };
7782
7787
 
7783
7788
 
7789
+ export type QueryGetAssetArgs = {
7790
+ assetId: Scalars['ID']['input'];
7791
+ params?: InputMaybe<AssetParams>;
7792
+ };
7793
+
7794
+
7784
7795
  export type QueryGetAutomationArgs = {
7785
7796
  id: Scalars['ID']['input'];
7786
7797
  params?: InputMaybe<Array<AutomationParams>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promoboxx/graphql-gateway-types",
3
- "version": "1.276.0",
3
+ "version": "1.278.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/schema.graphql CHANGED
@@ -590,6 +590,10 @@ type Asset {
590
590
  width: String
591
591
  }
592
592
 
593
+ input AssetParams {
594
+ fields: [String!]
595
+ }
596
+
593
597
  type AuthHeaders {
594
598
  accessToken: String
595
599
  client: String
@@ -6575,6 +6579,7 @@ type Query {
6575
6579
  getAggregateStats(params: SharesByResourceTypeParams, retailerId: ID!, shareType: ShareTypeParam!): AggregateStats
6576
6580
  getAlert(resourceId: ID!): Alert!
6577
6581
  getAlerts(params: GetAlertsParams, resourceId: ID!, resourceType: String!): [Alert!]!
6582
+ getAsset(assetId: ID!, params: AssetParams): Asset
6578
6583
  getAutomation(id: ID!, params: [AutomationParams!]): Automation
6579
6584
  getAutomations(params: [AutomationParams!], resourceId: ID!, resourceType: AutomationResourceType!): [Automation!]
6580
6585