@promoboxx/graphql-gateway-types 1.121.0 → 1.123.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.
@@ -28870,8 +28870,8 @@
28870
28870
  "kind": "NON_NULL",
28871
28871
  "name": null,
28872
28872
  "ofType": {
28873
- "kind": "SCALAR",
28874
- "name": "String",
28873
+ "kind": "INPUT_OBJECT",
28874
+ "name": "SortFields",
28875
28875
  "ofType": null
28876
28876
  }
28877
28877
  }
@@ -45266,6 +45266,18 @@
45266
45266
  "name": "updateRetailerAccount",
45267
45267
  "description": null,
45268
45268
  "args": [
45269
+ {
45270
+ "name": "args",
45271
+ "description": null,
45272
+ "type": {
45273
+ "kind": "INPUT_OBJECT",
45274
+ "name": "UpdateRetailerAccountArgs",
45275
+ "ofType": null
45276
+ },
45277
+ "defaultValue": null,
45278
+ "isDeprecated": false,
45279
+ "deprecationReason": null
45280
+ },
45269
45281
  {
45270
45282
  "name": "id",
45271
45283
  "description": null,
@@ -45311,6 +45323,71 @@
45311
45323
  "isDeprecated": false,
45312
45324
  "deprecationReason": null
45313
45325
  },
45326
+ {
45327
+ "name": "updateRetailers",
45328
+ "description": null,
45329
+ "args": [
45330
+ {
45331
+ "name": "ids",
45332
+ "description": null,
45333
+ "type": {
45334
+ "kind": "NON_NULL",
45335
+ "name": null,
45336
+ "ofType": {
45337
+ "kind": "LIST",
45338
+ "name": null,
45339
+ "ofType": {
45340
+ "kind": "NON_NULL",
45341
+ "name": null,
45342
+ "ofType": {
45343
+ "kind": "SCALAR",
45344
+ "name": "ID",
45345
+ "ofType": null
45346
+ }
45347
+ }
45348
+ }
45349
+ },
45350
+ "defaultValue": null,
45351
+ "isDeprecated": false,
45352
+ "deprecationReason": null
45353
+ },
45354
+ {
45355
+ "name": "retailer",
45356
+ "description": null,
45357
+ "type": {
45358
+ "kind": "NON_NULL",
45359
+ "name": null,
45360
+ "ofType": {
45361
+ "kind": "INPUT_OBJECT",
45362
+ "name": "UpdateRetailerParams",
45363
+ "ofType": null
45364
+ }
45365
+ },
45366
+ "defaultValue": null,
45367
+ "isDeprecated": false,
45368
+ "deprecationReason": null
45369
+ }
45370
+ ],
45371
+ "type": {
45372
+ "kind": "NON_NULL",
45373
+ "name": null,
45374
+ "ofType": {
45375
+ "kind": "LIST",
45376
+ "name": null,
45377
+ "ofType": {
45378
+ "kind": "NON_NULL",
45379
+ "name": null,
45380
+ "ofType": {
45381
+ "kind": "OBJECT",
45382
+ "name": "Retailer",
45383
+ "ofType": null
45384
+ }
45385
+ }
45386
+ }
45387
+ },
45388
+ "isDeprecated": false,
45389
+ "deprecationReason": null
45390
+ },
45314
45391
  {
45315
45392
  "name": "updateSsoConnection",
45316
45393
  "description": null,
@@ -65325,6 +65402,37 @@
65325
65402
  "enumValues": null,
65326
65403
  "possibleTypes": null
65327
65404
  },
65405
+ {
65406
+ "kind": "INPUT_OBJECT",
65407
+ "name": "UpdateRetailerAccountArgs",
65408
+ "description": null,
65409
+ "fields": null,
65410
+ "inputFields": [
65411
+ {
65412
+ "name": "fields",
65413
+ "description": null,
65414
+ "type": {
65415
+ "kind": "LIST",
65416
+ "name": null,
65417
+ "ofType": {
65418
+ "kind": "NON_NULL",
65419
+ "name": null,
65420
+ "ofType": {
65421
+ "kind": "SCALAR",
65422
+ "name": "String",
65423
+ "ofType": null
65424
+ }
65425
+ }
65426
+ },
65427
+ "defaultValue": null,
65428
+ "isDeprecated": false,
65429
+ "deprecationReason": null
65430
+ }
65431
+ ],
65432
+ "interfaces": null,
65433
+ "enumValues": null,
65434
+ "possibleTypes": null
65435
+ },
65328
65436
  {
65329
65437
  "kind": "INPUT_OBJECT",
65330
65438
  "name": "UpdateRetailerAccountParams",
@@ -65335,9 +65443,13 @@
65335
65443
  "name": "name",
65336
65444
  "description": null,
65337
65445
  "type": {
65338
- "kind": "SCALAR",
65339
- "name": "String",
65340
- "ofType": null
65446
+ "kind": "NON_NULL",
65447
+ "name": null,
65448
+ "ofType": {
65449
+ "kind": "SCALAR",
65450
+ "name": "String",
65451
+ "ofType": null
65452
+ }
65341
65453
  },
65342
65454
  "defaultValue": null,
65343
65455
  "isDeprecated": false,
@@ -65347,9 +65459,13 @@
65347
65459
  "name": "phone",
65348
65460
  "description": null,
65349
65461
  "type": {
65350
- "kind": "SCALAR",
65351
- "name": "String",
65352
- "ofType": null
65462
+ "kind": "NON_NULL",
65463
+ "name": null,
65464
+ "ofType": {
65465
+ "kind": "SCALAR",
65466
+ "name": "String",
65467
+ "ofType": null
65468
+ }
65353
65469
  },
65354
65470
  "defaultValue": null,
65355
65471
  "isDeprecated": false,
package/index.d.ts CHANGED
@@ -3121,7 +3121,7 @@ export type FilterPagingParams = {
3121
3121
  filter_groups?: InputMaybe<Array<PaidAdFilterGroups>>;
3122
3122
  offset?: InputMaybe<Scalars['Int']['input']>;
3123
3123
  page_size?: InputMaybe<Scalars['Int']['input']>;
3124
- sort_fields?: InputMaybe<Array<Scalars['String']['input']>>;
3124
+ sort_fields?: InputMaybe<Array<SortFields>>;
3125
3125
  };
3126
3126
 
3127
3127
  export type FiltersArchivedStatus =
@@ -4413,6 +4413,7 @@ export type Mutation = {
4413
4413
  updatePaymentIntent?: Maybe<StripePaymentIntent>;
4414
4414
  updateRetailer: Retailer;
4415
4415
  updateRetailerAccount: RetailerAccount;
4416
+ updateRetailers: Array<Retailer>;
4416
4417
  updateSsoConnection: SsoConnection;
4417
4418
  updateUser: UpdateUserResponse;
4418
4419
  /** @deprecated Use bulkUpdateRetailerData or bulkDeleteRetailerData */
@@ -5342,11 +5343,18 @@ export type MutationUpdateRetailerArgs = {
5342
5343
 
5343
5344
 
5344
5345
  export type MutationUpdateRetailerAccountArgs = {
5346
+ args?: InputMaybe<UpdateRetailerAccountArgs>;
5345
5347
  id: Scalars['ID']['input'];
5346
5348
  params: UpdateRetailerAccountParams;
5347
5349
  };
5348
5350
 
5349
5351
 
5352
+ export type MutationUpdateRetailersArgs = {
5353
+ ids: Array<Scalars['ID']['input']>;
5354
+ retailer: UpdateRetailerParams;
5355
+ };
5356
+
5357
+
5350
5358
  export type MutationUpdateSsoConnectionArgs = {
5351
5359
  id: Scalars['ID']['input'];
5352
5360
  sso_connection: SsoConnectionInput;
@@ -7786,9 +7794,13 @@ export type UpdatePasswordResponse = {
7786
7794
  user: User;
7787
7795
  };
7788
7796
 
7797
+ export type UpdateRetailerAccountArgs = {
7798
+ fields?: InputMaybe<Array<Scalars['String']['input']>>;
7799
+ };
7800
+
7789
7801
  export type UpdateRetailerAccountParams = {
7790
- name?: InputMaybe<Scalars['String']['input']>;
7791
- phone?: InputMaybe<Scalars['String']['input']>;
7802
+ name: Scalars['String']['input'];
7803
+ phone: Scalars['String']['input'];
7792
7804
  phone_extension?: InputMaybe<Scalars['String']['input']>;
7793
7805
  website?: InputMaybe<Scalars['String']['input']>;
7794
7806
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promoboxx/graphql-gateway-types",
3
- "version": "1.121.0",
3
+ "version": "1.123.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/schema.graphql CHANGED
@@ -3011,7 +3011,7 @@ input FilterPagingParams {
3011
3011
  filter_groups: [PaidAdFilterGroups!]
3012
3012
  offset: Int
3013
3013
  page_size: Int
3014
- sort_fields: [String!]
3014
+ sort_fields: [SortFields!]
3015
3015
  }
3016
3016
 
3017
3017
  enum FiltersArchivedStatus {
@@ -4276,7 +4276,8 @@ type Mutation {
4276
4276
  updatePassword(accessToken: String!, client: String!, expiry: String!, password: String!, password_confirmation: String!, tokenType: String!, uid: String!): UpdatePasswordResponse!
4277
4277
  updatePaymentIntent(data: UpdateStripePaymentIntent!): StripePaymentIntent
4278
4278
  updateRetailer(id: ID!, retailer: UpdateRetailerParams!): Retailer!
4279
- updateRetailerAccount(id: ID!, params: UpdateRetailerAccountParams!): RetailerAccount!
4279
+ updateRetailerAccount(args: UpdateRetailerAccountArgs, id: ID!, params: UpdateRetailerAccountParams!): RetailerAccount!
4280
+ updateRetailers(ids: [ID!]!, retailer: UpdateRetailerParams!): [Retailer!]!
4280
4281
  updateSsoConnection(id: ID!, sso_connection: SsoConnectionInput!, user_id: ID!): SsoConnection!
4281
4282
  updateUser(user: UpdateUserInput!): UpdateUserResponse!
4282
4283
  uploadCsv(brandId: String!, params: UploadCsvParams!): UploadCsvResponse @deprecated(reason: "Use bulkUpdateRetailerData or bulkDeleteRetailerData")
@@ -5984,9 +5985,13 @@ type UpdatePasswordResponse {
5984
5985
  user: User!
5985
5986
  }
5986
5987
 
5988
+ input UpdateRetailerAccountArgs {
5989
+ fields: [String!]
5990
+ }
5991
+
5987
5992
  input UpdateRetailerAccountParams {
5988
- name: String
5989
- phone: String
5993
+ name: String!
5994
+ phone: String!
5990
5995
  phone_extension: String
5991
5996
  website: String
5992
5997
  }