@promoboxx/graphql-gateway-types 1.1122.0 → 1.1124.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.
@@ -7913,6 +7913,26 @@
7913
7913
  "isDeprecated": false,
7914
7914
  "deprecationReason": null
7915
7915
  },
7916
+ {
7917
+ "name": "product_lines",
7918
+ "description": null,
7919
+ "args": [],
7920
+ "type": {
7921
+ "kind": "LIST",
7922
+ "name": null,
7923
+ "ofType": {
7924
+ "kind": "NON_NULL",
7925
+ "name": null,
7926
+ "ofType": {
7927
+ "kind": "OBJECT",
7928
+ "name": "ProductLine",
7929
+ "ofType": null
7930
+ }
7931
+ }
7932
+ },
7933
+ "isDeprecated": false,
7934
+ "deprecationReason": null
7935
+ },
7916
7936
  {
7917
7937
  "name": "prospected_by_id",
7918
7938
  "description": null,
@@ -8772,6 +8792,12 @@
8772
8792
  "isDeprecated": false,
8773
8793
  "deprecationReason": null
8774
8794
  },
8795
+ {
8796
+ "name": "product_lines",
8797
+ "description": null,
8798
+ "isDeprecated": false,
8799
+ "deprecationReason": null
8800
+ },
8775
8801
  {
8776
8802
  "name": "settings",
8777
8803
  "description": null,
@@ -24445,6 +24471,62 @@
24445
24471
  "enumValues": null,
24446
24472
  "possibleTypes": null
24447
24473
  },
24474
+ {
24475
+ "kind": "INPUT_OBJECT",
24476
+ "name": "CreateProductLine",
24477
+ "description": null,
24478
+ "isOneOf": false,
24479
+ "fields": null,
24480
+ "inputFields": [
24481
+ {
24482
+ "name": "name",
24483
+ "description": null,
24484
+ "type": {
24485
+ "kind": "NON_NULL",
24486
+ "name": null,
24487
+ "ofType": {
24488
+ "kind": "SCALAR",
24489
+ "name": "String",
24490
+ "ofType": null
24491
+ }
24492
+ },
24493
+ "defaultValue": null,
24494
+ "isDeprecated": false,
24495
+ "deprecationReason": null
24496
+ }
24497
+ ],
24498
+ "interfaces": null,
24499
+ "enumValues": null,
24500
+ "possibleTypes": null
24501
+ },
24502
+ {
24503
+ "kind": "INPUT_OBJECT",
24504
+ "name": "CreateProductLineParams",
24505
+ "description": null,
24506
+ "isOneOf": false,
24507
+ "fields": null,
24508
+ "inputFields": [
24509
+ {
24510
+ "name": "product_line",
24511
+ "description": null,
24512
+ "type": {
24513
+ "kind": "NON_NULL",
24514
+ "name": null,
24515
+ "ofType": {
24516
+ "kind": "INPUT_OBJECT",
24517
+ "name": "CreateProductLine",
24518
+ "ofType": null
24519
+ }
24520
+ },
24521
+ "defaultValue": null,
24522
+ "isDeprecated": false,
24523
+ "deprecationReason": null
24524
+ }
24525
+ ],
24526
+ "interfaces": null,
24527
+ "enumValues": null,
24528
+ "possibleTypes": null
24529
+ },
24448
24530
  {
24449
24531
  "kind": "INPUT_OBJECT",
24450
24532
  "name": "CreateRetailerParams",
@@ -53546,6 +53628,55 @@
53546
53628
  "isDeprecated": false,
53547
53629
  "deprecationReason": null
53548
53630
  },
53631
+ {
53632
+ "name": "createProductLine",
53633
+ "description": null,
53634
+ "args": [
53635
+ {
53636
+ "name": "brandId",
53637
+ "description": null,
53638
+ "type": {
53639
+ "kind": "NON_NULL",
53640
+ "name": null,
53641
+ "ofType": {
53642
+ "kind": "SCALAR",
53643
+ "name": "ID",
53644
+ "ofType": null
53645
+ }
53646
+ },
53647
+ "defaultValue": null,
53648
+ "isDeprecated": false,
53649
+ "deprecationReason": null
53650
+ },
53651
+ {
53652
+ "name": "params",
53653
+ "description": null,
53654
+ "type": {
53655
+ "kind": "NON_NULL",
53656
+ "name": null,
53657
+ "ofType": {
53658
+ "kind": "INPUT_OBJECT",
53659
+ "name": "CreateProductLineParams",
53660
+ "ofType": null
53661
+ }
53662
+ },
53663
+ "defaultValue": null,
53664
+ "isDeprecated": false,
53665
+ "deprecationReason": null
53666
+ }
53667
+ ],
53668
+ "type": {
53669
+ "kind": "NON_NULL",
53670
+ "name": null,
53671
+ "ofType": {
53672
+ "kind": "OBJECT",
53673
+ "name": "ProductLine",
53674
+ "ofType": null
53675
+ }
53676
+ },
53677
+ "isDeprecated": false,
53678
+ "deprecationReason": null
53679
+ },
53549
53680
  {
53550
53681
  "name": "createRetailer",
53551
53682
  "description": null,
@@ -55120,6 +55251,39 @@
55120
55251
  "isDeprecated": false,
55121
55252
  "deprecationReason": null
55122
55253
  },
55254
+ {
55255
+ "name": "deleteProductLine",
55256
+ "description": null,
55257
+ "args": [
55258
+ {
55259
+ "name": "id",
55260
+ "description": null,
55261
+ "type": {
55262
+ "kind": "NON_NULL",
55263
+ "name": null,
55264
+ "ofType": {
55265
+ "kind": "SCALAR",
55266
+ "name": "ID",
55267
+ "ofType": null
55268
+ }
55269
+ },
55270
+ "defaultValue": null,
55271
+ "isDeprecated": false,
55272
+ "deprecationReason": null
55273
+ }
55274
+ ],
55275
+ "type": {
55276
+ "kind": "NON_NULL",
55277
+ "name": null,
55278
+ "ofType": {
55279
+ "kind": "SCALAR",
55280
+ "name": "ID",
55281
+ "ofType": null
55282
+ }
55283
+ },
55284
+ "isDeprecated": false,
55285
+ "deprecationReason": null
55286
+ },
55123
55287
  {
55124
55288
  "name": "deleteResourceSpecificFacebookPage",
55125
55289
  "description": null,
@@ -68711,6 +68875,118 @@
68711
68875
  "enumValues": null,
68712
68876
  "possibleTypes": null
68713
68877
  },
68878
+ {
68879
+ "kind": "OBJECT",
68880
+ "name": "ProductLine",
68881
+ "description": null,
68882
+ "isOneOf": null,
68883
+ "fields": [
68884
+ {
68885
+ "name": "brand",
68886
+ "description": null,
68887
+ "args": [],
68888
+ "type": {
68889
+ "kind": "OBJECT",
68890
+ "name": "Brand",
68891
+ "ofType": null
68892
+ },
68893
+ "isDeprecated": false,
68894
+ "deprecationReason": null
68895
+ },
68896
+ {
68897
+ "name": "brand_id",
68898
+ "description": null,
68899
+ "args": [],
68900
+ "type": {
68901
+ "kind": "SCALAR",
68902
+ "name": "ID",
68903
+ "ofType": null
68904
+ },
68905
+ "isDeprecated": false,
68906
+ "deprecationReason": null
68907
+ },
68908
+ {
68909
+ "name": "created_at",
68910
+ "description": null,
68911
+ "args": [],
68912
+ "type": {
68913
+ "kind": "SCALAR",
68914
+ "name": "String",
68915
+ "ofType": null
68916
+ },
68917
+ "isDeprecated": false,
68918
+ "deprecationReason": null
68919
+ },
68920
+ {
68921
+ "name": "created_by_id",
68922
+ "description": null,
68923
+ "args": [],
68924
+ "type": {
68925
+ "kind": "SCALAR",
68926
+ "name": "ID",
68927
+ "ofType": null
68928
+ },
68929
+ "isDeprecated": false,
68930
+ "deprecationReason": null
68931
+ },
68932
+ {
68933
+ "name": "id",
68934
+ "description": null,
68935
+ "args": [],
68936
+ "type": {
68937
+ "kind": "NON_NULL",
68938
+ "name": null,
68939
+ "ofType": {
68940
+ "kind": "SCALAR",
68941
+ "name": "ID",
68942
+ "ofType": null
68943
+ }
68944
+ },
68945
+ "isDeprecated": false,
68946
+ "deprecationReason": null
68947
+ },
68948
+ {
68949
+ "name": "name",
68950
+ "description": null,
68951
+ "args": [],
68952
+ "type": {
68953
+ "kind": "SCALAR",
68954
+ "name": "String",
68955
+ "ofType": null
68956
+ },
68957
+ "isDeprecated": false,
68958
+ "deprecationReason": null
68959
+ },
68960
+ {
68961
+ "name": "updated_at",
68962
+ "description": null,
68963
+ "args": [],
68964
+ "type": {
68965
+ "kind": "SCALAR",
68966
+ "name": "String",
68967
+ "ofType": null
68968
+ },
68969
+ "isDeprecated": false,
68970
+ "deprecationReason": null
68971
+ },
68972
+ {
68973
+ "name": "updated_by_id",
68974
+ "description": null,
68975
+ "args": [],
68976
+ "type": {
68977
+ "kind": "SCALAR",
68978
+ "name": "ID",
68979
+ "ofType": null
68980
+ },
68981
+ "isDeprecated": false,
68982
+ "deprecationReason": null
68983
+ }
68984
+ ],
68985
+ "inputFields": null,
68986
+ "interfaces": [],
68987
+ "enumValues": null,
68988
+ "possibleTypes": null
68989
+ },
68714
68990
  {
68715
68991
  "kind": "OBJECT",
68716
68992
  "name": "PublicUserInfo",
@@ -76891,6 +77167,47 @@
76891
77167
  "isDeprecated": false,
76892
77168
  "deprecationReason": null
76893
77169
  },
77170
+ {
77171
+ "name": "getProductLines",
77172
+ "description": null,
77173
+ "args": [
77174
+ {
77175
+ "name": "brandId",
77176
+ "description": null,
77177
+ "type": {
77178
+ "kind": "NON_NULL",
77179
+ "name": null,
77180
+ "ofType": {
77181
+ "kind": "SCALAR",
77182
+ "name": "ID",
77183
+ "ofType": null
77184
+ }
77185
+ },
77186
+ "defaultValue": null,
77187
+ "isDeprecated": false,
77188
+ "deprecationReason": null
77189
+ }
77190
+ ],
77191
+ "type": {
77192
+ "kind": "NON_NULL",
77193
+ "name": null,
77194
+ "ofType": {
77195
+ "kind": "LIST",
77196
+ "name": null,
77197
+ "ofType": {
77198
+ "kind": "NON_NULL",
77199
+ "name": null,
77200
+ "ofType": {
77201
+ "kind": "OBJECT",
77202
+ "name": "ProductLine",
77203
+ "ofType": null
77204
+ }
77205
+ }
77206
+ }
77207
+ },
77208
+ "isDeprecated": false,
77209
+ "deprecationReason": null
77210
+ },
76894
77211
  {
76895
77212
  "name": "getRegistrationKey",
76896
77213
  "description": null,
package/index.d.ts CHANGED
@@ -881,6 +881,7 @@ export type Brand = {
881
881
  offboard_redirect?: Maybe<Scalars['String']['output']>;
882
882
  on_embeddings?: Maybe<Scalars['Boolean']['output']>;
883
883
  phone?: Maybe<Scalars['String']['output']>;
884
+ product_lines?: Maybe<Array<ProductLine>>;
884
885
  prospected_by_id?: Maybe<Scalars['ID']['output']>;
885
886
  region_data_stored_in_custom_fields?: Maybe<Scalars['Boolean']['output']>;
886
887
  retailer_alias?: Maybe<Scalars['String']['output']>;
@@ -974,6 +975,7 @@ export type BrandFields =
974
975
  | 'instagram_accounts'
975
976
  | 'locales'
976
977
  | 'on_embeddings'
978
+ | 'product_lines'
977
979
  | 'settings'
978
980
  | 'smart_groups'
979
981
  | 'sso_connections'
@@ -2553,6 +2555,14 @@ export type CreatePlatformAccessRequestParams = {
2553
2555
  vertical: Scalars['String']['input'];
2554
2556
  };
2555
2557
 
2558
+ export type CreateProductLine = {
2559
+ name: Scalars['String']['input'];
2560
+ };
2561
+
2562
+ export type CreateProductLineParams = {
2563
+ product_line: CreateProductLine;
2564
+ };
2565
+
2556
2566
  export type CreateRetailerParams = {
2557
2567
  brand_id: Scalars['ID']['input'];
2558
2568
  name: Scalars['String']['input'];
@@ -5426,6 +5436,7 @@ export type Mutation = {
5426
5436
  createPaymentIntent?: Maybe<StripePaymentIntent>;
5427
5437
  createPermission: Permission;
5428
5438
  createPlatformAccessRequest?: Maybe<PlatformAccessRequest>;
5439
+ createProductLine: ProductLine;
5429
5440
  createRetailer: CreateRetailerResponse;
5430
5441
  createRetailerAccount: RetailerAccount;
5431
5442
  createShare: Share;
@@ -5468,6 +5479,7 @@ export type Mutation = {
5468
5479
  deleteLogo: Scalars['ID']['output'];
5469
5480
  deletePaidAd?: Maybe<DeletePaidAdResponse>;
5470
5481
  deletePermission: Scalars['ID']['output'];
5482
+ deleteProductLine: Scalars['ID']['output'];
5471
5483
  deleteResourceSpecificFacebookPage?: Maybe<Scalars['ID']['output']>;
5472
5484
  deleteRetailer: Scalars['ID']['output'];
5473
5485
  deleteShare: DeleteShareResponse;
@@ -6452,6 +6464,13 @@ export type MutationCreatePlatformAccessRequestArgs = {
6452
6464
  };
6453
6465
 
6454
6466
 
6467
+ /** mutation root */
6468
+ export type MutationCreateProductLineArgs = {
6469
+ brandId: Scalars['ID']['input'];
6470
+ params: CreateProductLineParams;
6471
+ };
6472
+
6473
+
6455
6474
  /** mutation root */
6456
6475
  export type MutationCreateRetailerArgs = {
6457
6476
  params: CreateRetailerParams;
@@ -6704,6 +6723,12 @@ export type MutationDeletePermissionArgs = {
6704
6723
  };
6705
6724
 
6706
6725
 
6726
+ /** mutation root */
6727
+ export type MutationDeleteProductLineArgs = {
6728
+ id: Scalars['ID']['input'];
6729
+ };
6730
+
6731
+
6707
6732
  /** mutation root */
6708
6733
  export type MutationDeleteResourceSpecificFacebookPageArgs = {
6709
6734
  facebookPageId: Scalars['ID']['input'];
@@ -8714,6 +8739,18 @@ export type PreviewChildAttachment = {
8714
8739
  url_override?: InputMaybe<Scalars['String']['input']>;
8715
8740
  };
8716
8741
 
8742
+ export type ProductLine = {
8743
+ __typename?: 'ProductLine';
8744
+ brand?: Maybe<Brand>;
8745
+ brand_id?: Maybe<Scalars['ID']['output']>;
8746
+ created_at?: Maybe<Scalars['String']['output']>;
8747
+ created_by_id?: Maybe<Scalars['ID']['output']>;
8748
+ id: Scalars['ID']['output'];
8749
+ name?: Maybe<Scalars['String']['output']>;
8750
+ updated_at?: Maybe<Scalars['String']['output']>;
8751
+ updated_by_id?: Maybe<Scalars['ID']['output']>;
8752
+ };
8753
+
8717
8754
  export type PublicUserInfo = {
8718
8755
  __typename?: 'PublicUserInfo';
8719
8756
  first_name: Scalars['String']['output'];
@@ -8953,6 +8990,7 @@ export type Query = {
8953
8990
  getPermission: Permission;
8954
8991
  getPermissions: Array<Permission>;
8955
8992
  getPicAssetSearch: Array<DigitalAsset>;
8993
+ getProductLines: Array<ProductLine>;
8956
8994
  getRegistrationKey?: Maybe<RegistrationKey>;
8957
8995
  getResourceAssetSearch: Array<DigitalAsset>;
8958
8996
  getResourceDamSearch: Array<DigitalAsset>;
@@ -10032,6 +10070,11 @@ export type QueryGetPicAssetSearchArgs = {
10032
10070
  };
10033
10071
 
10034
10072
 
10073
+ export type QueryGetProductLinesArgs = {
10074
+ brandId: Scalars['ID']['input'];
10075
+ };
10076
+
10077
+
10035
10078
  export type QueryGetRegistrationKeyArgs = {
10036
10079
  brandId: Scalars['ID']['input'];
10037
10080
  fields?: InputMaybe<Array<Scalars['String']['input']>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promoboxx/graphql-gateway-types",
3
- "version": "1.1122.0",
3
+ "version": "1.1124.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/schema.graphql CHANGED
@@ -859,6 +859,7 @@ type Brand {
859
859
  offboard_redirect: String
860
860
  on_embeddings: Boolean
861
861
  phone: String
862
+ product_lines: [ProductLine!]
862
863
  prospected_by_id: ID
863
864
  region_data_stored_in_custom_fields: Boolean
864
865
  retailer_alias: String
@@ -950,6 +951,7 @@ enum BrandFields {
950
951
  instagram_accounts
951
952
  locales
952
953
  on_embeddings
954
+ product_lines
953
955
  settings
954
956
  smart_groups
955
957
  sso_connections
@@ -2436,6 +2438,14 @@ input CreatePlatformAccessRequestParams {
2436
2438
  vertical: String!
2437
2439
  }
2438
2440
 
2441
+ input CreateProductLine {
2442
+ name: String!
2443
+ }
2444
+
2445
+ input CreateProductLineParams {
2446
+ product_line: CreateProductLine!
2447
+ }
2448
+
2439
2449
  input CreateRetailerParams {
2440
2450
  brand_id: ID!
2441
2451
  name: String!
@@ -5192,6 +5202,7 @@ type Mutation {
5192
5202
  createPaymentIntent(req: CreateStripePaymentIntentInput!): StripePaymentIntent
5193
5203
  createPermission(permission: CreatePermissionInput!, user_id: ID!): Permission!
5194
5204
  createPlatformAccessRequest(platform_access_request: CreatePlatformAccessRequestParams!): PlatformAccessRequest
5205
+ createProductLine(brandId: ID!, params: CreateProductLineParams!): ProductLine!
5195
5206
  createRetailer(params: CreateRetailerParams!): CreateRetailerResponse!
5196
5207
  createRetailerAccount(create_retailer_for_brand_id: ID, enrollment_method: String, fields: [String!], registration_key_link_id: ID, retailer_account: UpdateRetailerAccountParams!): RetailerAccount!
5197
5208
  createShare(asset_share: CreateShareAssetShare, email_share: CreateShareEmailShare, embed_share: CreateShareEmbedShare, facebook_share: CreateShareFacebookShare, fields: [String!], instagram_share: CreateShareInstagramShare, resource_id: ID!, resource_type: String!, shareType: String!, twitter_share: CreateShareTwitterShare): Share!
@@ -5235,6 +5246,7 @@ type Mutation {
5235
5246
  deleteLogo(id: ID!): ID!
5236
5247
  deletePaidAd(params: DeletePaidAdParams!): DeletePaidAdResponse
5237
5248
  deletePermission(id: ID!): ID!
5249
+ deleteProductLine(id: ID!): ID!
5238
5250
  deleteResourceSpecificFacebookPage(facebookPageId: ID!, resourceId: ID!, resourceType: FacebookPageResourceType!): ID
5239
5251
  deleteRetailer(id: ID!): ID!
5240
5252
  deleteShare(shareId: ID!, shareType: ShareTypeParam): DeleteShareResponse!
@@ -7344,6 +7356,17 @@ input PreviewChildAttachment {
7344
7356
  url_override: String
7345
7357
  }
7346
7358
 
7359
+ type ProductLine {
7360
+ brand: Brand
7361
+ brand_id: ID
7362
+ created_at: String
7363
+ created_by_id: ID
7364
+ id: ID!
7365
+ name: String
7366
+ updated_at: String
7367
+ updated_by_id: ID
7368
+ }
7369
+
7347
7370
  type PublicUserInfo {
7348
7371
  first_name: String!
7349
7372
  last_name: String!
@@ -7942,6 +7965,7 @@ type Query {
7942
7965
  getPermission(fields: [String!], id: ID!): Permission!
7943
7966
  getPermissions(fields: [String!], resource_id: ID!, resource_type: String!): [Permission!]!
7944
7967
  getPicAssetSearch(fields: [String!], search_string: String!): [DigitalAsset!]!
7968
+ getProductLines(brandId: ID!): [ProductLine!]!
7945
7969
  getRegistrationKey(brandId: ID!, fields: [String!], linkId: ID!): RegistrationKey
7946
7970
  getResourceAssetSearch(fields: [String!], resource_id: ID!, resource_type: String!, search_string: String!): [DigitalAsset!]!
7947
7971
  getResourceDamSearch(fields: [String!], resource_id: ID!, resource_type: String!, search_string: String!): [DigitalAsset!]!