@promoboxx/graphql-gateway-types 1.64.0 → 1.66.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.
@@ -46027,6 +46027,59 @@
46027
46027
  "isDeprecated": false,
46028
46028
  "deprecationReason": null
46029
46029
  },
46030
+ {
46031
+ "name": "getBrandByUuid",
46032
+ "description": null,
46033
+ "args": [
46034
+ {
46035
+ "name": "fields",
46036
+ "description": null,
46037
+ "type": {
46038
+ "kind": "LIST",
46039
+ "name": null,
46040
+ "ofType": {
46041
+ "kind": "NON_NULL",
46042
+ "name": null,
46043
+ "ofType": {
46044
+ "kind": "ENUM",
46045
+ "name": "BrandFields",
46046
+ "ofType": null
46047
+ }
46048
+ }
46049
+ },
46050
+ "defaultValue": null,
46051
+ "isDeprecated": false,
46052
+ "deprecationReason": null
46053
+ },
46054
+ {
46055
+ "name": "uuid",
46056
+ "description": null,
46057
+ "type": {
46058
+ "kind": "NON_NULL",
46059
+ "name": null,
46060
+ "ofType": {
46061
+ "kind": "SCALAR",
46062
+ "name": "ID",
46063
+ "ofType": null
46064
+ }
46065
+ },
46066
+ "defaultValue": null,
46067
+ "isDeprecated": false,
46068
+ "deprecationReason": null
46069
+ }
46070
+ ],
46071
+ "type": {
46072
+ "kind": "NON_NULL",
46073
+ "name": null,
46074
+ "ofType": {
46075
+ "kind": "OBJECT",
46076
+ "name": "Brand",
46077
+ "ofType": null
46078
+ }
46079
+ },
46080
+ "isDeprecated": false,
46081
+ "deprecationReason": null
46082
+ },
46030
46083
  {
46031
46084
  "name": "getBrandEmailSettings",
46032
46085
  "description": null,
@@ -49734,6 +49787,59 @@
49734
49787
  "isDeprecated": false,
49735
49788
  "deprecationReason": null
49736
49789
  },
49790
+ {
49791
+ "name": "getRetailerAccountByBusinessId",
49792
+ "description": null,
49793
+ "args": [
49794
+ {
49795
+ "name": "business_id",
49796
+ "description": null,
49797
+ "type": {
49798
+ "kind": "NON_NULL",
49799
+ "name": null,
49800
+ "ofType": {
49801
+ "kind": "SCALAR",
49802
+ "name": "ID",
49803
+ "ofType": null
49804
+ }
49805
+ },
49806
+ "defaultValue": null,
49807
+ "isDeprecated": false,
49808
+ "deprecationReason": null
49809
+ },
49810
+ {
49811
+ "name": "fields",
49812
+ "description": null,
49813
+ "type": {
49814
+ "kind": "LIST",
49815
+ "name": null,
49816
+ "ofType": {
49817
+ "kind": "NON_NULL",
49818
+ "name": null,
49819
+ "ofType": {
49820
+ "kind": "ENUM",
49821
+ "name": "RetailerAccountFields",
49822
+ "ofType": null
49823
+ }
49824
+ }
49825
+ },
49826
+ "defaultValue": null,
49827
+ "isDeprecated": false,
49828
+ "deprecationReason": null
49829
+ }
49830
+ ],
49831
+ "type": {
49832
+ "kind": "NON_NULL",
49833
+ "name": null,
49834
+ "ofType": {
49835
+ "kind": "OBJECT",
49836
+ "name": "RetailerAccount",
49837
+ "ofType": null
49838
+ }
49839
+ },
49840
+ "isDeprecated": false,
49841
+ "deprecationReason": null
49842
+ },
49737
49843
  {
49738
49844
  "name": "getRetailerActivity",
49739
49845
  "description": null,
@@ -49863,6 +49969,75 @@
49863
49969
  "isDeprecated": false,
49864
49970
  "deprecationReason": null
49865
49971
  },
49972
+ {
49973
+ "name": "getRetailerByBrandUuidAndBusinessId",
49974
+ "description": null,
49975
+ "args": [
49976
+ {
49977
+ "name": "brand_uuid",
49978
+ "description": null,
49979
+ "type": {
49980
+ "kind": "NON_NULL",
49981
+ "name": null,
49982
+ "ofType": {
49983
+ "kind": "SCALAR",
49984
+ "name": "ID",
49985
+ "ofType": null
49986
+ }
49987
+ },
49988
+ "defaultValue": null,
49989
+ "isDeprecated": false,
49990
+ "deprecationReason": null
49991
+ },
49992
+ {
49993
+ "name": "business_id",
49994
+ "description": null,
49995
+ "type": {
49996
+ "kind": "NON_NULL",
49997
+ "name": null,
49998
+ "ofType": {
49999
+ "kind": "SCALAR",
50000
+ "name": "ID",
50001
+ "ofType": null
50002
+ }
50003
+ },
50004
+ "defaultValue": null,
50005
+ "isDeprecated": false,
50006
+ "deprecationReason": null
50007
+ },
50008
+ {
50009
+ "name": "fields",
50010
+ "description": null,
50011
+ "type": {
50012
+ "kind": "LIST",
50013
+ "name": null,
50014
+ "ofType": {
50015
+ "kind": "NON_NULL",
50016
+ "name": null,
50017
+ "ofType": {
50018
+ "kind": "ENUM",
50019
+ "name": "RetailerFields",
50020
+ "ofType": null
50021
+ }
50022
+ }
50023
+ },
50024
+ "defaultValue": null,
50025
+ "isDeprecated": false,
50026
+ "deprecationReason": null
50027
+ }
50028
+ ],
50029
+ "type": {
50030
+ "kind": "NON_NULL",
50031
+ "name": null,
50032
+ "ofType": {
50033
+ "kind": "OBJECT",
50034
+ "name": "Retailer",
50035
+ "ofType": null
50036
+ }
50037
+ },
50038
+ "isDeprecated": false,
50039
+ "deprecationReason": null
50040
+ },
49866
50041
  {
49867
50042
  "name": "getRetailers",
49868
50043
  "description": "Get a collection of retailers for a brand, division or user.",
package/index.d.ts CHANGED
@@ -5412,6 +5412,7 @@ export type Query = {
5412
5412
  /** Gets all of the billboards matching the given filtering criteria, and sorted by the given paging parameters */
5413
5413
  getBillboards?: Maybe<BillboardResponse>;
5414
5414
  getBrand?: Maybe<Brand>;
5415
+ getBrandByUuid: Brand;
5415
5416
  getBrandEmailSettings?: Maybe<GetBrandEmailSettingsResponse>;
5416
5417
  /**
5417
5418
  * Get all events for the given brand matching the given filtering and paging parameters and
@@ -5493,7 +5494,9 @@ export type Query = {
5493
5494
  /** Get a specific retailer */
5494
5495
  getRetailer?: Maybe<Retailer>;
5495
5496
  getRetailerAccount?: Maybe<RetailerAccount>;
5497
+ getRetailerAccountByBusinessId: RetailerAccount;
5496
5498
  getRetailerActivity: GetRetailerActivityResponse;
5499
+ getRetailerByBrandUuidAndBusinessId: Retailer;
5497
5500
  /** Get a collection of retailers for a brand, division or user. */
5498
5501
  getRetailers: Array<Retailer>;
5499
5502
  /** Get retailer information form a list of ids */
@@ -5639,6 +5642,12 @@ export type QueryGetBrandArgs = {
5639
5642
  };
5640
5643
 
5641
5644
 
5645
+ export type QueryGetBrandByUuidArgs = {
5646
+ fields?: InputMaybe<Array<BrandFields>>;
5647
+ uuid: Scalars['ID']['input'];
5648
+ };
5649
+
5650
+
5642
5651
  export type QueryGetBrandEmailSettingsArgs = {
5643
5652
  params: GetBrandEmailSettingsParams;
5644
5653
  };
@@ -6072,6 +6081,12 @@ export type QueryGetRetailerAccountArgs = {
6072
6081
  };
6073
6082
 
6074
6083
 
6084
+ export type QueryGetRetailerAccountByBusinessIdArgs = {
6085
+ business_id: Scalars['ID']['input'];
6086
+ fields?: InputMaybe<Array<RetailerAccountFields>>;
6087
+ };
6088
+
6089
+
6075
6090
  export type QueryGetRetailerActivityArgs = {
6076
6091
  filters?: InputMaybe<RetailerActivityFilters>;
6077
6092
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -6084,6 +6099,13 @@ export type QueryGetRetailerActivityArgs = {
6084
6099
  };
6085
6100
 
6086
6101
 
6102
+ export type QueryGetRetailerByBrandUuidAndBusinessIdArgs = {
6103
+ brand_uuid: Scalars['ID']['input'];
6104
+ business_id: Scalars['ID']['input'];
6105
+ fields?: InputMaybe<Array<RetailerFields>>;
6106
+ };
6107
+
6108
+
6087
6109
  export type QueryGetRetailersArgs = {
6088
6110
  params?: InputMaybe<GetRetailersParams>;
6089
6111
  resourceId: Scalars['ID']['input'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promoboxx/graphql-gateway-types",
3
- "version": "1.64.0",
3
+ "version": "1.66.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/schema.graphql CHANGED
@@ -4441,6 +4441,7 @@ type Query {
4441
4441
  """
4442
4442
  getBillboards(params: BillboardParams): BillboardResponse
4443
4443
  getBrand(id: ID!, params: BrandParams): Brand
4444
+ getBrandByUuid(fields: [BrandFields!], uuid: ID!): Brand!
4444
4445
  getBrandEmailSettings(params: GetBrandEmailSettingsParams!): GetBrandEmailSettingsResponse
4445
4446
 
4446
4447
  """
@@ -4569,7 +4570,9 @@ type Query {
4569
4570
  """Get a specific retailer"""
4570
4571
  getRetailer(id: ID!, params: GetRetailerParams): Retailer
4571
4572
  getRetailerAccount(fields: [RetailerAccountFields!], id: ID!): RetailerAccount
4573
+ getRetailerAccountByBusinessId(business_id: ID!, fields: [RetailerAccountFields!]): RetailerAccount!
4572
4574
  getRetailerActivity(filters: RetailerActivityFilters, limit: Int, offset: Int, parameterless_filters: [RetailerActivityParameterlessFilters!], resourceId: ID!, resourceType: String!, sort_column: String, sort_direction: String): GetRetailerActivityResponse!
4575
+ getRetailerByBrandUuidAndBusinessId(brand_uuid: ID!, business_id: ID!, fields: [RetailerFields!]): Retailer!
4573
4576
 
4574
4577
  """Get a collection of retailers for a brand, division or user."""
4575
4578
  getRetailers(params: GetRetailersParams, resourceId: ID!, resourceType: RetailersResourceType!): [Retailer!]!