@promoboxx/graphql-gateway-types 1.580.0 → 1.581.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.
@@ -9549,6 +9549,97 @@
9549
9549
  ],
9550
9550
  "possibleTypes": null
9551
9551
  },
9552
+ {
9553
+ "kind": "INPUT_OBJECT",
9554
+ "name": "BulkGetSharesByResourceTypeParams",
9555
+ "description": null,
9556
+ "fields": null,
9557
+ "inputFields": [
9558
+ {
9559
+ "name": "fields",
9560
+ "description": null,
9561
+ "type": {
9562
+ "kind": "LIST",
9563
+ "name": null,
9564
+ "ofType": {
9565
+ "kind": "NON_NULL",
9566
+ "name": null,
9567
+ "ofType": {
9568
+ "kind": "SCALAR",
9569
+ "name": "String",
9570
+ "ofType": null
9571
+ }
9572
+ }
9573
+ },
9574
+ "defaultValue": null,
9575
+ "isDeprecated": false,
9576
+ "deprecationReason": null
9577
+ },
9578
+ {
9579
+ "name": "filters",
9580
+ "description": null,
9581
+ "type": {
9582
+ "kind": "INPUT_OBJECT",
9583
+ "name": "BulkSharesFilters",
9584
+ "ofType": null
9585
+ },
9586
+ "defaultValue": null,
9587
+ "isDeprecated": false,
9588
+ "deprecationReason": null
9589
+ },
9590
+ {
9591
+ "name": "offset",
9592
+ "description": null,
9593
+ "type": {
9594
+ "kind": "SCALAR",
9595
+ "name": "Int",
9596
+ "ofType": null
9597
+ },
9598
+ "defaultValue": null,
9599
+ "isDeprecated": false,
9600
+ "deprecationReason": null
9601
+ },
9602
+ {
9603
+ "name": "per_page",
9604
+ "description": null,
9605
+ "type": {
9606
+ "kind": "SCALAR",
9607
+ "name": "Int",
9608
+ "ofType": null
9609
+ },
9610
+ "defaultValue": null,
9611
+ "isDeprecated": false,
9612
+ "deprecationReason": null
9613
+ },
9614
+ {
9615
+ "name": "sort_column",
9616
+ "description": null,
9617
+ "type": {
9618
+ "kind": "SCALAR",
9619
+ "name": "String",
9620
+ "ofType": null
9621
+ },
9622
+ "defaultValue": null,
9623
+ "isDeprecated": false,
9624
+ "deprecationReason": null
9625
+ },
9626
+ {
9627
+ "name": "sort_direction",
9628
+ "description": null,
9629
+ "type": {
9630
+ "kind": "SCALAR",
9631
+ "name": "String",
9632
+ "ofType": null
9633
+ },
9634
+ "defaultValue": null,
9635
+ "isDeprecated": false,
9636
+ "deprecationReason": null
9637
+ }
9638
+ ],
9639
+ "interfaces": null,
9640
+ "enumValues": null,
9641
+ "possibleTypes": null
9642
+ },
9552
9643
  {
9553
9644
  "kind": "OBJECT",
9554
9645
  "name": "BulkGetUsersByUuidAndBrandIdResponse",
@@ -9611,6 +9702,37 @@
9611
9702
  "enumValues": null,
9612
9703
  "possibleTypes": null
9613
9704
  },
9705
+ {
9706
+ "kind": "INPUT_OBJECT",
9707
+ "name": "BulkSharesFilters",
9708
+ "description": null,
9709
+ "fields": null,
9710
+ "inputFields": [
9711
+ {
9712
+ "name": "by_ids",
9713
+ "description": null,
9714
+ "type": {
9715
+ "kind": "LIST",
9716
+ "name": null,
9717
+ "ofType": {
9718
+ "kind": "NON_NULL",
9719
+ "name": null,
9720
+ "ofType": {
9721
+ "kind": "SCALAR",
9722
+ "name": "ID",
9723
+ "ofType": null
9724
+ }
9725
+ }
9726
+ },
9727
+ "defaultValue": null,
9728
+ "isDeprecated": false,
9729
+ "deprecationReason": null
9730
+ }
9731
+ ],
9732
+ "interfaces": null,
9733
+ "enumValues": null,
9734
+ "possibleTypes": null
9735
+ },
9614
9736
  {
9615
9737
  "kind": "INPUT_OBJECT",
9616
9738
  "name": "BulkUpdateDigitalAssetParams",
@@ -62970,6 +63092,83 @@
62970
63092
  "isDeprecated": false,
62971
63093
  "deprecationReason": null
62972
63094
  },
63095
+ {
63096
+ "name": "getBulkSharesByResourceType",
63097
+ "description": null,
63098
+ "args": [
63099
+ {
63100
+ "name": "params",
63101
+ "description": null,
63102
+ "type": {
63103
+ "kind": "INPUT_OBJECT",
63104
+ "name": "BulkGetSharesByResourceTypeParams",
63105
+ "ofType": null
63106
+ },
63107
+ "defaultValue": null,
63108
+ "isDeprecated": false,
63109
+ "deprecationReason": null
63110
+ },
63111
+ {
63112
+ "name": "resourceId",
63113
+ "description": null,
63114
+ "type": {
63115
+ "kind": "NON_NULL",
63116
+ "name": null,
63117
+ "ofType": {
63118
+ "kind": "SCALAR",
63119
+ "name": "ID",
63120
+ "ofType": null
63121
+ }
63122
+ },
63123
+ "defaultValue": null,
63124
+ "isDeprecated": false,
63125
+ "deprecationReason": null
63126
+ },
63127
+ {
63128
+ "name": "resourceType",
63129
+ "description": null,
63130
+ "type": {
63131
+ "kind": "NON_NULL",
63132
+ "name": null,
63133
+ "ofType": {
63134
+ "kind": "ENUM",
63135
+ "name": "ResourceType",
63136
+ "ofType": null
63137
+ }
63138
+ },
63139
+ "defaultValue": null,
63140
+ "isDeprecated": false,
63141
+ "deprecationReason": null
63142
+ },
63143
+ {
63144
+ "name": "shareType",
63145
+ "description": null,
63146
+ "type": {
63147
+ "kind": "NON_NULL",
63148
+ "name": null,
63149
+ "ofType": {
63150
+ "kind": "ENUM",
63151
+ "name": "ShareTypeParam",
63152
+ "ofType": null
63153
+ }
63154
+ },
63155
+ "defaultValue": null,
63156
+ "isDeprecated": false,
63157
+ "deprecationReason": null
63158
+ }
63159
+ ],
63160
+ "type": {
63161
+ "kind": "NON_NULL",
63162
+ "name": null,
63163
+ "ofType": {
63164
+ "kind": "OBJECT",
63165
+ "name": "GetSharesByResourceTypeResponse",
63166
+ "ofType": null
63167
+ }
63168
+ },
63169
+ "isDeprecated": false,
63170
+ "deprecationReason": null
63171
+ },
62973
63172
  {
62974
63173
  "name": "getCalendarItems",
62975
63174
  "description": null,
package/index.d.ts CHANGED
@@ -1075,6 +1075,15 @@ export type BulkDeleteType =
1075
1075
  | 'locations'
1076
1076
  | 'permissions';
1077
1077
 
1078
+ export type BulkGetSharesByResourceTypeParams = {
1079
+ fields?: InputMaybe<Array<Scalars['String']['input']>>;
1080
+ filters?: InputMaybe<BulkSharesFilters>;
1081
+ offset?: InputMaybe<Scalars['Int']['input']>;
1082
+ per_page?: InputMaybe<Scalars['Int']['input']>;
1083
+ sort_column?: InputMaybe<Scalars['String']['input']>;
1084
+ sort_direction?: InputMaybe<Scalars['String']['input']>;
1085
+ };
1086
+
1078
1087
  export type BulkGetUsersByUuidAndBrandIdResponse = {
1079
1088
  __typename?: 'BulkGetUsersByUuidAndBrandIdResponse';
1080
1089
  users: Array<PublicUserInfo>;
@@ -1085,6 +1094,10 @@ export type BulkRetailersFilterParams = {
1085
1094
  by_ids: Scalars['String']['input'];
1086
1095
  };
1087
1096
 
1097
+ export type BulkSharesFilters = {
1098
+ by_ids?: InputMaybe<Array<Scalars['ID']['input']>>;
1099
+ };
1100
+
1088
1101
  export type BulkUpdateDigitalAssetParams = {
1089
1102
  digital_asset_ids: Array<Scalars['ID']['input']>;
1090
1103
  fields?: InputMaybe<Array<Scalars['String']['input']>>;
@@ -7805,6 +7818,7 @@ export type Query = {
7805
7818
  getBrands: Array<Brand>;
7806
7819
  getBrandsBulk?: Maybe<GetBrandsBulkResponse>;
7807
7820
  getBrandsForIndustryList: Array<Brand>;
7821
+ getBulkSharesByResourceType: GetSharesByResourceTypeResponse;
7808
7822
  getCalendarItems: Array<CalendarItem>;
7809
7823
  getCallsToAction: CallsToAction;
7810
7824
  getCampaign?: Maybe<Campaign>;
@@ -8436,6 +8450,14 @@ export type QueryGetBrandsForIndustryListArgs = {
8436
8450
  };
8437
8451
 
8438
8452
 
8453
+ export type QueryGetBulkSharesByResourceTypeArgs = {
8454
+ params?: InputMaybe<BulkGetSharesByResourceTypeParams>;
8455
+ resourceId: Scalars['ID']['input'];
8456
+ resourceType: ResourceType;
8457
+ shareType: ShareTypeParam;
8458
+ };
8459
+
8460
+
8439
8461
  export type QueryGetCalendarItemsArgs = {
8440
8462
  params?: InputMaybe<CalendarItemParams>;
8441
8463
  resourceId: Scalars['ID']['input'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promoboxx/graphql-gateway-types",
3
- "version": "1.580.0",
3
+ "version": "1.581.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/schema.graphql CHANGED
@@ -1047,6 +1047,15 @@ enum BulkDeleteType {
1047
1047
  permissions
1048
1048
  }
1049
1049
 
1050
+ input BulkGetSharesByResourceTypeParams {
1051
+ fields: [String!]
1052
+ filters: BulkSharesFilters
1053
+ offset: Int
1054
+ per_page: Int
1055
+ sort_column: String
1056
+ sort_direction: String
1057
+ }
1058
+
1050
1059
  type BulkGetUsersByUuidAndBrandIdResponse {
1051
1060
  users: [PublicUserInfo!]!
1052
1061
  }
@@ -1056,6 +1065,10 @@ input BulkRetailersFilterParams {
1056
1065
  by_ids: String!
1057
1066
  }
1058
1067
 
1068
+ input BulkSharesFilters {
1069
+ by_ids: [ID!]
1070
+ }
1071
+
1059
1072
  input BulkUpdateDigitalAssetParams {
1060
1073
  digital_asset_ids: [ID!]!
1061
1074
  fields: [String!]
@@ -7149,6 +7162,7 @@ type Query {
7149
7162
  getBrands(fields: [String!], filters: GetBrandsFilters, offset: Int, per_page: Int, sort_column: String, sort_direction: String): [Brand!]!
7150
7163
  getBrandsBulk(params: GetBrandsBulkParams!): GetBrandsBulkResponse
7151
7164
  getBrandsForIndustryList(fields: [String!], filters: GetBrandsFilters, industry_list: [String!]!, offset: Int, per_page: Int, sort_column: String, sort_direction: String): [Brand!]!
7165
+ getBulkSharesByResourceType(params: BulkGetSharesByResourceTypeParams, resourceId: ID!, resourceType: ResourceType!, shareType: ShareTypeParam!): GetSharesByResourceTypeResponse!
7152
7166
  getCalendarItems(params: CalendarItemParams, resourceId: ID!, resourceType: String!): [CalendarItem!]!
7153
7167
  getCallsToAction(params: CallsToActionParams!): CallsToAction!
7154
7168
  getCampaign(campaignId: ID!, params: CampaignParams): Campaign