@promoboxx/graphql-gateway-types 1.373.0 → 1.375.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.
@@ -33042,6 +33042,49 @@
33042
33042
  "enumValues": null,
33043
33043
  "possibleTypes": null
33044
33044
  },
33045
+ {
33046
+ "kind": "OBJECT",
33047
+ "name": "GetRetailerBulkPaginatedResponse",
33048
+ "description": null,
33049
+ "fields": [
33050
+ {
33051
+ "name": "data",
33052
+ "description": null,
33053
+ "args": [],
33054
+ "type": {
33055
+ "kind": "LIST",
33056
+ "name": null,
33057
+ "ofType": {
33058
+ "kind": "NON_NULL",
33059
+ "name": null,
33060
+ "ofType": {
33061
+ "kind": "OBJECT",
33062
+ "name": "Retailer",
33063
+ "ofType": null
33064
+ }
33065
+ }
33066
+ },
33067
+ "isDeprecated": false,
33068
+ "deprecationReason": null
33069
+ },
33070
+ {
33071
+ "name": "paging",
33072
+ "description": null,
33073
+ "args": [],
33074
+ "type": {
33075
+ "kind": "OBJECT",
33076
+ "name": "Paging",
33077
+ "ofType": null
33078
+ },
33079
+ "isDeprecated": false,
33080
+ "deprecationReason": null
33081
+ }
33082
+ ],
33083
+ "inputFields": null,
33084
+ "interfaces": [],
33085
+ "enumValues": null,
33086
+ "possibleTypes": null
33087
+ },
33045
33088
  {
33046
33089
  "kind": "INPUT_OBJECT",
33047
33090
  "name": "GetRetailerParams",
@@ -60973,6 +61016,51 @@
60973
61016
  }
60974
61017
  }
60975
61018
  },
61019
+ "isDeprecated": true,
61020
+ "deprecationReason": "Use getBrandRetailersBulkPaginated instead"
61021
+ },
61022
+ {
61023
+ "name": "getBrandRetailersBulkPaginated",
61024
+ "description": null,
61025
+ "args": [
61026
+ {
61027
+ "name": "brandId",
61028
+ "description": null,
61029
+ "type": {
61030
+ "kind": "NON_NULL",
61031
+ "name": null,
61032
+ "ofType": {
61033
+ "kind": "SCALAR",
61034
+ "name": "ID",
61035
+ "ofType": null
61036
+ }
61037
+ },
61038
+ "defaultValue": null,
61039
+ "isDeprecated": false,
61040
+ "deprecationReason": null
61041
+ },
61042
+ {
61043
+ "name": "params",
61044
+ "description": null,
61045
+ "type": {
61046
+ "kind": "NON_NULL",
61047
+ "name": null,
61048
+ "ofType": {
61049
+ "kind": "INPUT_OBJECT",
61050
+ "name": "GetRetailersBulkParams",
61051
+ "ofType": null
61052
+ }
61053
+ },
61054
+ "defaultValue": null,
61055
+ "isDeprecated": false,
61056
+ "deprecationReason": null
61057
+ }
61058
+ ],
61059
+ "type": {
61060
+ "kind": "OBJECT",
61061
+ "name": "GetRetailerBulkPaginatedResponse",
61062
+ "ofType": null
61063
+ },
60976
61064
  "isDeprecated": false,
60977
61065
  "deprecationReason": null
60978
61066
  },
@@ -65052,6 +65140,35 @@
65052
65140
  }
65053
65141
  }
65054
65142
  },
65143
+ "isDeprecated": true,
65144
+ "deprecationReason": "Use getRetailersBulkPaginated instead"
65145
+ },
65146
+ {
65147
+ "name": "getRetailersBulkPaginated",
65148
+ "description": null,
65149
+ "args": [
65150
+ {
65151
+ "name": "params",
65152
+ "description": null,
65153
+ "type": {
65154
+ "kind": "NON_NULL",
65155
+ "name": null,
65156
+ "ofType": {
65157
+ "kind": "INPUT_OBJECT",
65158
+ "name": "GetRetailersBulkParams",
65159
+ "ofType": null
65160
+ }
65161
+ },
65162
+ "defaultValue": null,
65163
+ "isDeprecated": false,
65164
+ "deprecationReason": null
65165
+ }
65166
+ ],
65167
+ "type": {
65168
+ "kind": "OBJECT",
65169
+ "name": "GetRetailerBulkPaginatedResponse",
65170
+ "ofType": null
65171
+ },
65055
65172
  "isDeprecated": false,
65056
65173
  "deprecationReason": null
65057
65174
  },
package/index.d.ts CHANGED
@@ -3603,6 +3603,12 @@ export type GetRetailerActivityResponse = {
3603
3603
  paging: Paging;
3604
3604
  };
3605
3605
 
3606
+ export type GetRetailerBulkPaginatedResponse = {
3607
+ __typename?: 'GetRetailerBulkPaginatedResponse';
3608
+ data?: Maybe<Array<Retailer>>;
3609
+ paging?: Maybe<Paging>;
3610
+ };
3611
+
3606
3612
  export type GetRetailerParams = {
3607
3613
  fields?: InputMaybe<Array<Scalars['String']['input']>>;
3608
3614
  };
@@ -7607,7 +7613,9 @@ export type Query = {
7607
7613
  getBrandRequest: BrandRequest;
7608
7614
  getBrandRequestMetrics: BrandRequestsMetrics;
7609
7615
  getBrandRequests: GetBrandRequestsResponse;
7616
+ /** @deprecated Use getBrandRetailersBulkPaginated instead */
7610
7617
  getBrandRetailersBulk: Array<Retailer>;
7618
+ getBrandRetailersBulkPaginated?: Maybe<GetRetailerBulkPaginatedResponse>;
7611
7619
  getBrands: Array<Brand>;
7612
7620
  getBrandsForIndustryList: Array<Brand>;
7613
7621
  getCalendarItems: Array<CalendarItem>;
@@ -7692,8 +7700,12 @@ export type Query = {
7692
7700
  getRetailerByBrandUuidAndBusinessId: Retailer;
7693
7701
  /** Get a collection of retailers for a brand, division or user. */
7694
7702
  getRetailers: Array<Retailer>;
7695
- /** Get retailer information form a list of ids */
7703
+ /**
7704
+ * Get retailer information form a list of ids
7705
+ * @deprecated Use getRetailersBulkPaginated instead
7706
+ */
7696
7707
  getRetailersBulk?: Maybe<Array<Retailer>>;
7708
+ getRetailersBulkPaginated?: Maybe<GetRetailerBulkPaginatedResponse>;
7697
7709
  getShare: Share;
7698
7710
  getShareSetting: ShareSetting;
7699
7711
  getShareSettingRetailer: ShareSetting;
@@ -8197,6 +8209,12 @@ export type QueryGetBrandRetailersBulkArgs = {
8197
8209
  };
8198
8210
 
8199
8211
 
8212
+ export type QueryGetBrandRetailersBulkPaginatedArgs = {
8213
+ brandId: Scalars['ID']['input'];
8214
+ params: GetRetailersBulkParams;
8215
+ };
8216
+
8217
+
8200
8218
  export type QueryGetBrandsArgs = {
8201
8219
  fields?: InputMaybe<Array<Scalars['String']['input']>>;
8202
8220
  filters?: InputMaybe<GetBrandsFilters>;
@@ -8673,6 +8691,11 @@ export type QueryGetRetailersBulkArgs = {
8673
8691
  };
8674
8692
 
8675
8693
 
8694
+ export type QueryGetRetailersBulkPaginatedArgs = {
8695
+ params: GetRetailersBulkParams;
8696
+ };
8697
+
8698
+
8676
8699
  export type QueryGetShareArgs = {
8677
8700
  params?: InputMaybe<ShareParams>;
8678
8701
  shareId: Scalars['ID']['input'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promoboxx/graphql-gateway-types",
3
- "version": "1.373.0",
3
+ "version": "1.375.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/schema.graphql CHANGED
@@ -3472,6 +3472,11 @@ type GetRetailerActivityResponse {
3472
3472
  paging: Paging!
3473
3473
  }
3474
3474
 
3475
+ type GetRetailerBulkPaginatedResponse {
3476
+ data: [Retailer!]
3477
+ paging: Paging
3478
+ }
3479
+
3475
3480
  input GetRetailerParams {
3476
3481
  fields: [String!]
3477
3482
  }
@@ -7034,7 +7039,8 @@ type Query {
7034
7039
  getBrandRequest(fields: [String!], id: ID!): BrandRequest!
7035
7040
  getBrandRequestMetrics: BrandRequestsMetrics!
7036
7041
  getBrandRequests(fields: [String!], filters: GetBrandRequestFilters, offset: Int, per_page: Int, resource_id: ID, resource_type: String, sort_column: String, sort_direction: String): GetBrandRequestsResponse!
7037
- getBrandRetailersBulk(brandId: ID!, params: GetRetailersBulkParams!): [Retailer!]!
7042
+ getBrandRetailersBulk(brandId: ID!, params: GetRetailersBulkParams!): [Retailer!]! @deprecated(reason: "Use getBrandRetailersBulkPaginated instead")
7043
+ getBrandRetailersBulkPaginated(brandId: ID!, params: GetRetailersBulkParams!): GetRetailerBulkPaginatedResponse
7038
7044
  getBrands(fields: [String!], filters: GetBrandsFilters, offset: Int, per_page: Int, sort_column: String, sort_direction: String): [Brand!]!
7039
7045
  getBrandsForIndustryList(fields: [String!], filters: GetBrandsFilters, industry_list: [String!]!, offset: Int, per_page: Int, sort_column: String, sort_direction: String): [Brand!]!
7040
7046
  getCalendarItems(params: CalendarItemParams, resourceId: ID!, resourceType: String!): [CalendarItem!]!
@@ -7124,7 +7130,8 @@ type Query {
7124
7130
  getRetailers(params: GetRetailersParams, resourceId: ID!, resourceType: RetailersResourceType!): [Retailer!]!
7125
7131
 
7126
7132
  """Get retailer information form a list of ids"""
7127
- getRetailersBulk(params: GetRetailersBulkParams!): [Retailer!]
7133
+ getRetailersBulk(params: GetRetailersBulkParams!): [Retailer!] @deprecated(reason: "Use getRetailersBulkPaginated instead")
7134
+ getRetailersBulkPaginated(params: GetRetailersBulkParams!): GetRetailerBulkPaginatedResponse
7128
7135
  getShare(params: ShareParams, shareId: ID!, shareType: ShareTypeParam!): Share!
7129
7136
  getShareSetting(fields: [String!], id: ID!): ShareSetting!
7130
7137
  getShareSettingRetailer(fields: [String!], id: ID!, retailer_id: ID!): ShareSetting!