@promoboxx/graphql-gateway-types 1.394.0 → 1.396.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.
@@ -56720,6 +56720,18 @@
56720
56720
  "isDeprecated": false,
56721
56721
  "deprecationReason": null
56722
56722
  },
56723
+ {
56724
+ "name": "permissionable",
56725
+ "description": null,
56726
+ "args": [],
56727
+ "type": {
56728
+ "kind": "UNION",
56729
+ "name": "Permissionable",
56730
+ "ofType": null
56731
+ },
56732
+ "isDeprecated": false,
56733
+ "deprecationReason": null
56734
+ },
56723
56735
  {
56724
56736
  "name": "permissionable_id",
56725
56737
  "description": null,
@@ -56774,6 +56786,37 @@
56774
56786
  "enumValues": null,
56775
56787
  "possibleTypes": null
56776
56788
  },
56789
+ {
56790
+ "kind": "UNION",
56791
+ "name": "Permissionable",
56792
+ "description": null,
56793
+ "fields": null,
56794
+ "inputFields": null,
56795
+ "interfaces": null,
56796
+ "enumValues": null,
56797
+ "possibleTypes": [
56798
+ {
56799
+ "kind": "OBJECT",
56800
+ "name": "Brand",
56801
+ "ofType": null
56802
+ },
56803
+ {
56804
+ "kind": "OBJECT",
56805
+ "name": "Division",
56806
+ "ofType": null
56807
+ },
56808
+ {
56809
+ "kind": "OBJECT",
56810
+ "name": "Retailer",
56811
+ "ofType": null
56812
+ },
56813
+ {
56814
+ "kind": "OBJECT",
56815
+ "name": "RetailerAccount",
56816
+ "ofType": null
56817
+ }
56818
+ ]
56819
+ },
56777
56820
  {
56778
56821
  "kind": "OBJECT",
56779
56822
  "name": "PlatformAccessRequest",
package/index.d.ts CHANGED
@@ -7392,12 +7392,15 @@ export type Permission = {
7392
7392
  created_at?: Maybe<Scalars['String']['output']>;
7393
7393
  deleted_at?: Maybe<Scalars['String']['output']>;
7394
7394
  id?: Maybe<Scalars['ID']['output']>;
7395
+ permissionable?: Maybe<Permissionable>;
7395
7396
  permissionable_id?: Maybe<Scalars['ID']['output']>;
7396
7397
  permissionable_type?: Maybe<Scalars['String']['output']>;
7397
7398
  updated_at?: Maybe<Scalars['String']['output']>;
7398
7399
  user_id?: Maybe<Scalars['ID']['output']>;
7399
7400
  };
7400
7401
 
7402
+ export type Permissionable = Brand | Division | Retailer | RetailerAccount;
7403
+
7401
7404
  export type PlatformAccessRequest = {
7402
7405
  __typename?: 'PlatformAccessRequest';
7403
7406
  created_at: Scalars['String']['output'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promoboxx/graphql-gateway-types",
3
- "version": "1.394.0",
3
+ "version": "1.396.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/schema.graphql CHANGED
@@ -6437,12 +6437,15 @@ type Permission {
6437
6437
  created_at: String
6438
6438
  deleted_at: String
6439
6439
  id: ID
6440
+ permissionable: Permissionable
6440
6441
  permissionable_id: ID
6441
6442
  permissionable_type: String
6442
6443
  updated_at: String
6443
6444
  user_id: ID
6444
6445
  }
6445
6446
 
6447
+ union Permissionable = Brand | Division | Retailer | RetailerAccount
6448
+
6446
6449
  type PlatformAccessRequest {
6447
6450
  created_at: String!
6448
6451
  email_address: String!