@promoboxx/graphql-gateway-types 1.390.0 → 1.392.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.
@@ -21701,6 +21701,33 @@
21701
21701
  "enumValues": null,
21702
21702
  "possibleTypes": null
21703
21703
  },
21704
+ {
21705
+ "kind": "OBJECT",
21706
+ "name": "CreateUserResponse",
21707
+ "description": null,
21708
+ "fields": [
21709
+ {
21710
+ "name": "user",
21711
+ "description": null,
21712
+ "args": [],
21713
+ "type": {
21714
+ "kind": "NON_NULL",
21715
+ "name": null,
21716
+ "ofType": {
21717
+ "kind": "OBJECT",
21718
+ "name": "User",
21719
+ "ofType": null
21720
+ }
21721
+ },
21722
+ "isDeprecated": false,
21723
+ "deprecationReason": null
21724
+ }
21725
+ ],
21726
+ "inputFields": null,
21727
+ "interfaces": [],
21728
+ "enumValues": null,
21729
+ "possibleTypes": null
21730
+ },
21704
21731
  {
21705
21732
  "kind": "OBJECT",
21706
21733
  "name": "Creative",
@@ -40730,6 +40757,39 @@
40730
40757
  "isDeprecated": false,
40731
40758
  "deprecationReason": null
40732
40759
  },
40760
+ {
40761
+ "name": "activateUser",
40762
+ "description": null,
40763
+ "args": [
40764
+ {
40765
+ "name": "id",
40766
+ "description": null,
40767
+ "type": {
40768
+ "kind": "NON_NULL",
40769
+ "name": null,
40770
+ "ofType": {
40771
+ "kind": "SCALAR",
40772
+ "name": "ID",
40773
+ "ofType": null
40774
+ }
40775
+ },
40776
+ "defaultValue": null,
40777
+ "isDeprecated": false,
40778
+ "deprecationReason": null
40779
+ }
40780
+ ],
40781
+ "type": {
40782
+ "kind": "NON_NULL",
40783
+ "name": null,
40784
+ "ofType": {
40785
+ "kind": "OBJECT",
40786
+ "name": "User",
40787
+ "ofType": null
40788
+ }
40789
+ },
40790
+ "isDeprecated": false,
40791
+ "deprecationReason": null
40792
+ },
40733
40793
  {
40734
40794
  "name": "addBillboard",
40735
40795
  "description": "Creates a new billboard with the given data and echoes the new row in the database",
@@ -43624,6 +43684,39 @@
43624
43684
  "isDeprecated": false,
43625
43685
  "deprecationReason": null
43626
43686
  },
43687
+ {
43688
+ "name": "createUser",
43689
+ "description": null,
43690
+ "args": [
43691
+ {
43692
+ "name": "user",
43693
+ "description": null,
43694
+ "type": {
43695
+ "kind": "NON_NULL",
43696
+ "name": null,
43697
+ "ofType": {
43698
+ "kind": "INPUT_OBJECT",
43699
+ "name": "UserCreateInput",
43700
+ "ofType": null
43701
+ }
43702
+ },
43703
+ "defaultValue": null,
43704
+ "isDeprecated": false,
43705
+ "deprecationReason": null
43706
+ }
43707
+ ],
43708
+ "type": {
43709
+ "kind": "NON_NULL",
43710
+ "name": null,
43711
+ "ofType": {
43712
+ "kind": "OBJECT",
43713
+ "name": "CreateUserResponse",
43714
+ "ofType": null
43715
+ }
43716
+ },
43717
+ "isDeprecated": false,
43718
+ "deprecationReason": null
43719
+ },
43627
43720
  {
43628
43721
  "name": "createUserBrandRejection",
43629
43722
  "description": null,
@@ -43690,6 +43783,39 @@
43690
43783
  "isDeprecated": false,
43691
43784
  "deprecationReason": null
43692
43785
  },
43786
+ {
43787
+ "name": "deactivateUser",
43788
+ "description": null,
43789
+ "args": [
43790
+ {
43791
+ "name": "id",
43792
+ "description": null,
43793
+ "type": {
43794
+ "kind": "NON_NULL",
43795
+ "name": null,
43796
+ "ofType": {
43797
+ "kind": "SCALAR",
43798
+ "name": "ID",
43799
+ "ofType": null
43800
+ }
43801
+ },
43802
+ "defaultValue": null,
43803
+ "isDeprecated": false,
43804
+ "deprecationReason": null
43805
+ }
43806
+ ],
43807
+ "type": {
43808
+ "kind": "NON_NULL",
43809
+ "name": null,
43810
+ "ofType": {
43811
+ "kind": "OBJECT",
43812
+ "name": "User",
43813
+ "ofType": null
43814
+ }
43815
+ },
43816
+ "isDeprecated": false,
43817
+ "deprecationReason": null
43818
+ },
43693
43819
  {
43694
43820
  "name": "deleteAccessInvitation",
43695
43821
  "description": null,
@@ -44604,6 +44730,39 @@
44604
44730
  "isDeprecated": false,
44605
44731
  "deprecationReason": null
44606
44732
  },
44733
+ {
44734
+ "name": "deleteUser",
44735
+ "description": null,
44736
+ "args": [
44737
+ {
44738
+ "name": "id",
44739
+ "description": null,
44740
+ "type": {
44741
+ "kind": "NON_NULL",
44742
+ "name": null,
44743
+ "ofType": {
44744
+ "kind": "SCALAR",
44745
+ "name": "ID",
44746
+ "ofType": null
44747
+ }
44748
+ },
44749
+ "defaultValue": null,
44750
+ "isDeprecated": false,
44751
+ "deprecationReason": null
44752
+ }
44753
+ ],
44754
+ "type": {
44755
+ "kind": "NON_NULL",
44756
+ "name": null,
44757
+ "ofType": {
44758
+ "kind": "SCALAR",
44759
+ "name": "ID",
44760
+ "ofType": null
44761
+ }
44762
+ },
44763
+ "isDeprecated": false,
44764
+ "deprecationReason": null
44765
+ },
44607
44766
  {
44608
44767
  "name": "delete_address_verification_run_results",
44609
44768
  "description": "delete data from the table: \"address_verification_run_results\"",
@@ -67087,6 +67246,39 @@
67087
67246
  "isDeprecated": false,
67088
67247
  "deprecationReason": null
67089
67248
  },
67249
+ {
67250
+ "name": "searchUser",
67251
+ "description": null,
67252
+ "args": [
67253
+ {
67254
+ "name": "params",
67255
+ "description": null,
67256
+ "type": {
67257
+ "kind": "NON_NULL",
67258
+ "name": null,
67259
+ "ofType": {
67260
+ "kind": "INPUT_OBJECT",
67261
+ "name": "UserSearchParams",
67262
+ "ofType": null
67263
+ }
67264
+ },
67265
+ "defaultValue": null,
67266
+ "isDeprecated": false,
67267
+ "deprecationReason": null
67268
+ }
67269
+ ],
67270
+ "type": {
67271
+ "kind": "NON_NULL",
67272
+ "name": null,
67273
+ "ofType": {
67274
+ "kind": "OBJECT",
67275
+ "name": "SearchUserResponse",
67276
+ "ofType": null
67277
+ }
67278
+ },
67279
+ "isDeprecated": false,
67280
+ "deprecationReason": null
67281
+ },
67090
67282
  {
67091
67283
  "name": "social_page_followers",
67092
67284
  "description": "An array relationship",
@@ -72716,6 +72908,57 @@
72716
72908
  "enumValues": null,
72717
72909
  "possibleTypes": null
72718
72910
  },
72911
+ {
72912
+ "kind": "OBJECT",
72913
+ "name": "SearchUserResponse",
72914
+ "description": null,
72915
+ "fields": [
72916
+ {
72917
+ "name": "data",
72918
+ "description": null,
72919
+ "args": [],
72920
+ "type": {
72921
+ "kind": "NON_NULL",
72922
+ "name": null,
72923
+ "ofType": {
72924
+ "kind": "LIST",
72925
+ "name": null,
72926
+ "ofType": {
72927
+ "kind": "NON_NULL",
72928
+ "name": null,
72929
+ "ofType": {
72930
+ "kind": "OBJECT",
72931
+ "name": "User",
72932
+ "ofType": null
72933
+ }
72934
+ }
72935
+ }
72936
+ },
72937
+ "isDeprecated": false,
72938
+ "deprecationReason": null
72939
+ },
72940
+ {
72941
+ "name": "paging",
72942
+ "description": null,
72943
+ "args": [],
72944
+ "type": {
72945
+ "kind": "NON_NULL",
72946
+ "name": null,
72947
+ "ofType": {
72948
+ "kind": "OBJECT",
72949
+ "name": "Paging",
72950
+ "ofType": null
72951
+ }
72952
+ },
72953
+ "isDeprecated": false,
72954
+ "deprecationReason": null
72955
+ }
72956
+ ],
72957
+ "inputFields": null,
72958
+ "interfaces": [],
72959
+ "enumValues": null,
72960
+ "possibleTypes": null
72961
+ },
72719
72962
  {
72720
72963
  "kind": "INPUT_OBJECT",
72721
72964
  "name": "SetAccountFacebookPagesInput",
@@ -90704,6 +90947,256 @@
90704
90947
  "enumValues": null,
90705
90948
  "possibleTypes": null
90706
90949
  },
90950
+ {
90951
+ "kind": "INPUT_OBJECT",
90952
+ "name": "UserCreateInput",
90953
+ "description": null,
90954
+ "fields": null,
90955
+ "inputFields": [
90956
+ {
90957
+ "name": "clickwrap_accepted_at",
90958
+ "description": null,
90959
+ "type": {
90960
+ "kind": "SCALAR",
90961
+ "name": "String",
90962
+ "ofType": null
90963
+ },
90964
+ "defaultValue": null,
90965
+ "isDeprecated": false,
90966
+ "deprecationReason": null
90967
+ },
90968
+ {
90969
+ "name": "company",
90970
+ "description": null,
90971
+ "type": {
90972
+ "kind": "SCALAR",
90973
+ "name": "String",
90974
+ "ofType": null
90975
+ },
90976
+ "defaultValue": null,
90977
+ "isDeprecated": false,
90978
+ "deprecationReason": null
90979
+ },
90980
+ {
90981
+ "name": "email",
90982
+ "description": null,
90983
+ "type": {
90984
+ "kind": "NON_NULL",
90985
+ "name": null,
90986
+ "ofType": {
90987
+ "kind": "SCALAR",
90988
+ "name": "String",
90989
+ "ofType": null
90990
+ }
90991
+ },
90992
+ "defaultValue": null,
90993
+ "isDeprecated": false,
90994
+ "deprecationReason": null
90995
+ },
90996
+ {
90997
+ "name": "first_name",
90998
+ "description": null,
90999
+ "type": {
91000
+ "kind": "SCALAR",
91001
+ "name": "String",
91002
+ "ofType": null
91003
+ },
91004
+ "defaultValue": null,
91005
+ "isDeprecated": false,
91006
+ "deprecationReason": null
91007
+ },
91008
+ {
91009
+ "name": "language_preference",
91010
+ "description": null,
91011
+ "type": {
91012
+ "kind": "SCALAR",
91013
+ "name": "String",
91014
+ "ofType": null
91015
+ },
91016
+ "defaultValue": null,
91017
+ "isDeprecated": false,
91018
+ "deprecationReason": null
91019
+ },
91020
+ {
91021
+ "name": "last_name",
91022
+ "description": null,
91023
+ "type": {
91024
+ "kind": "SCALAR",
91025
+ "name": "String",
91026
+ "ofType": null
91027
+ },
91028
+ "defaultValue": null,
91029
+ "isDeprecated": false,
91030
+ "deprecationReason": null
91031
+ },
91032
+ {
91033
+ "name": "mobile_phone_number",
91034
+ "description": null,
91035
+ "type": {
91036
+ "kind": "SCALAR",
91037
+ "name": "String",
91038
+ "ofType": null
91039
+ },
91040
+ "defaultValue": null,
91041
+ "isDeprecated": false,
91042
+ "deprecationReason": null
91043
+ },
91044
+ {
91045
+ "name": "mobile_phone_number_extension",
91046
+ "description": null,
91047
+ "type": {
91048
+ "kind": "SCALAR",
91049
+ "name": "String",
91050
+ "ofType": null
91051
+ },
91052
+ "defaultValue": null,
91053
+ "isDeprecated": false,
91054
+ "deprecationReason": null
91055
+ },
91056
+ {
91057
+ "name": "password",
91058
+ "description": null,
91059
+ "type": {
91060
+ "kind": "NON_NULL",
91061
+ "name": null,
91062
+ "ofType": {
91063
+ "kind": "SCALAR",
91064
+ "name": "String",
91065
+ "ofType": null
91066
+ }
91067
+ },
91068
+ "defaultValue": null,
91069
+ "isDeprecated": false,
91070
+ "deprecationReason": null
91071
+ },
91072
+ {
91073
+ "name": "password_confirmation",
91074
+ "description": null,
91075
+ "type": {
91076
+ "kind": "NON_NULL",
91077
+ "name": null,
91078
+ "ofType": {
91079
+ "kind": "SCALAR",
91080
+ "name": "String",
91081
+ "ofType": null
91082
+ }
91083
+ },
91084
+ "defaultValue": null,
91085
+ "isDeprecated": false,
91086
+ "deprecationReason": null
91087
+ },
91088
+ {
91089
+ "name": "promoboxx_sales_team_member",
91090
+ "description": null,
91091
+ "type": {
91092
+ "kind": "SCALAR",
91093
+ "name": "Boolean",
91094
+ "ofType": null
91095
+ },
91096
+ "defaultValue": null,
91097
+ "isDeprecated": false,
91098
+ "deprecationReason": null
91099
+ },
91100
+ {
91101
+ "name": "time_zone",
91102
+ "description": null,
91103
+ "type": {
91104
+ "kind": "SCALAR",
91105
+ "name": "String",
91106
+ "ofType": null
91107
+ },
91108
+ "defaultValue": null,
91109
+ "isDeprecated": false,
91110
+ "deprecationReason": null
91111
+ },
91112
+ {
91113
+ "name": "title",
91114
+ "description": null,
91115
+ "type": {
91116
+ "kind": "SCALAR",
91117
+ "name": "String",
91118
+ "ofType": null
91119
+ },
91120
+ "defaultValue": null,
91121
+ "isDeprecated": false,
91122
+ "deprecationReason": null
91123
+ }
91124
+ ],
91125
+ "interfaces": null,
91126
+ "enumValues": null,
91127
+ "possibleTypes": null
91128
+ },
91129
+ {
91130
+ "kind": "INPUT_OBJECT",
91131
+ "name": "UserSearchParams",
91132
+ "description": null,
91133
+ "fields": null,
91134
+ "inputFields": [
91135
+ {
91136
+ "name": "offset",
91137
+ "description": null,
91138
+ "type": {
91139
+ "kind": "SCALAR",
91140
+ "name": "Int",
91141
+ "ofType": null
91142
+ },
91143
+ "defaultValue": null,
91144
+ "isDeprecated": false,
91145
+ "deprecationReason": null
91146
+ },
91147
+ {
91148
+ "name": "per_page",
91149
+ "description": null,
91150
+ "type": {
91151
+ "kind": "SCALAR",
91152
+ "name": "Int",
91153
+ "ofType": null
91154
+ },
91155
+ "defaultValue": null,
91156
+ "isDeprecated": false,
91157
+ "deprecationReason": null
91158
+ },
91159
+ {
91160
+ "name": "search",
91161
+ "description": null,
91162
+ "type": {
91163
+ "kind": "SCALAR",
91164
+ "name": "String",
91165
+ "ofType": null
91166
+ },
91167
+ "defaultValue": null,
91168
+ "isDeprecated": false,
91169
+ "deprecationReason": null
91170
+ },
91171
+ {
91172
+ "name": "sort_column",
91173
+ "description": null,
91174
+ "type": {
91175
+ "kind": "SCALAR",
91176
+ "name": "String",
91177
+ "ofType": null
91178
+ },
91179
+ "defaultValue": null,
91180
+ "isDeprecated": false,
91181
+ "deprecationReason": null
91182
+ },
91183
+ {
91184
+ "name": "sort_direction",
91185
+ "description": null,
91186
+ "type": {
91187
+ "kind": "SCALAR",
91188
+ "name": "String",
91189
+ "ofType": null
91190
+ },
91191
+ "defaultValue": null,
91192
+ "isDeprecated": false,
91193
+ "deprecationReason": null
91194
+ }
91195
+ ],
91196
+ "interfaces": null,
91197
+ "enumValues": null,
91198
+ "possibleTypes": null
91199
+ },
90707
91200
  {
90708
91201
  "kind": "ENUM",
90709
91202
  "name": "UserType",
package/index.d.ts CHANGED
@@ -2291,6 +2291,11 @@ export type CreateTwitterAccountInput = {
2291
2291
  url?: InputMaybe<Scalars['String']['input']>;
2292
2292
  };
2293
2293
 
2294
+ export type CreateUserResponse = {
2295
+ __typename?: 'CreateUserResponse';
2296
+ user: User;
2297
+ };
2298
+
2294
2299
  export type Creative = {
2295
2300
  __typename?: 'Creative';
2296
2301
  allow_call_to_action?: Maybe<Scalars['Boolean']['output']>;
@@ -4460,6 +4465,7 @@ export type Mutation = {
4460
4465
  acceptBrandRequest: BrandRequest;
4461
4466
  activateCampaign?: Maybe<ActivateCampaignResponse>;
4462
4467
  activateLogo: SubBrandLogo;
4468
+ activateUser: User;
4463
4469
  /** Creates a new billboard with the given data and echoes the new row in the database */
4464
4470
  addBillboard?: Maybe<Billboard>;
4465
4471
  addContract?: Maybe<Contract>;
@@ -4522,8 +4528,10 @@ export type Mutation = {
4522
4528
  createSsoConnectionFromUser: SsoConnection;
4523
4529
  createSupportEmail: CreateSupportEmailResponse;
4524
4530
  createTwitterAccount: TwitterAccount;
4531
+ createUser: CreateUserResponse;
4525
4532
  createUserBrandRejection: UserBrandRejection;
4526
4533
  deactivateLogo: SubBrandLogo;
4534
+ deactivateUser: User;
4527
4535
  deleteAccessInvitation: Scalars['ID']['output'];
4528
4536
  deleteAdInvitations: Scalars['ID']['output'];
4529
4537
  /**
@@ -4554,6 +4562,7 @@ export type Mutation = {
4554
4562
  deleteShare: DeleteShareResponse;
4555
4563
  deleteSsoConnection: Scalars['String']['output'];
4556
4564
  deleteTwitterAccount?: Maybe<Scalars['ID']['output']>;
4565
+ deleteUser: Scalars['ID']['output'];
4557
4566
  /** delete data from the table: "address_verification_run_results" */
4558
4567
  delete_address_verification_run_results?: Maybe<Address_Verification_Run_Results_Mutation_Response>;
4559
4568
  /** delete single row from the table: "address_verification_run_results" */
@@ -4978,6 +4987,12 @@ export type MutationActivateLogoArgs = {
4978
4987
  };
4979
4988
 
4980
4989
 
4990
+ /** mutation root */
4991
+ export type MutationActivateUserArgs = {
4992
+ id: Scalars['ID']['input'];
4993
+ };
4994
+
4995
+
4981
4996
  /** mutation root */
4982
4997
  export type MutationAddBillboardArgs = {
4983
4998
  data: AddBillboardData;
@@ -5390,6 +5405,12 @@ export type MutationCreateTwitterAccountArgs = {
5390
5405
  };
5391
5406
 
5392
5407
 
5408
+ /** mutation root */
5409
+ export type MutationCreateUserArgs = {
5410
+ user: UserCreateInput;
5411
+ };
5412
+
5413
+
5393
5414
  /** mutation root */
5394
5415
  export type MutationCreateUserBrandRejectionArgs = {
5395
5416
  user_brand_rejection: UserBrandRejectionInput;
@@ -5402,6 +5423,12 @@ export type MutationDeactivateLogoArgs = {
5402
5423
  };
5403
5424
 
5404
5425
 
5426
+ /** mutation root */
5427
+ export type MutationDeactivateUserArgs = {
5428
+ id: Scalars['ID']['input'];
5429
+ };
5430
+
5431
+
5405
5432
  /** mutation root */
5406
5433
  export type MutationDeleteAccessInvitationArgs = {
5407
5434
  id: Scalars['ID']['input'];
@@ -5564,6 +5591,12 @@ export type MutationDeleteTwitterAccountArgs = {
5564
5591
  };
5565
5592
 
5566
5593
 
5594
+ /** mutation root */
5595
+ export type MutationDeleteUserArgs = {
5596
+ id: Scalars['ID']['input'];
5597
+ };
5598
+
5599
+
5567
5600
  /** mutation root */
5568
5601
  export type MutationDelete_Address_Verification_Run_ResultsArgs = {
5569
5602
  where: Address_Verification_Run_Results_Bool_Exp;
@@ -7717,6 +7750,7 @@ export type Query = {
7717
7750
  retailer_account_schedule_recommendations_aggregate: Retailer_Account_Schedule_Recommendations_Aggregate;
7718
7751
  /** fetch data from the table: "retailer_account_schedule_recommendations" using primary key columns */
7719
7752
  retailer_account_schedule_recommendations_by_pk?: Maybe<Retailer_Account_Schedule_Recommendations>;
7753
+ searchUser: SearchUserResponse;
7720
7754
  /** An array relationship */
7721
7755
  social_page_followers: Array<Social_Page_Followers>;
7722
7756
  /** An aggregate relationship */
@@ -8887,6 +8921,11 @@ export type QueryRetailer_Account_Schedule_Recommendations_By_PkArgs = {
8887
8921
  };
8888
8922
 
8889
8923
 
8924
+ export type QuerySearchUserArgs = {
8925
+ params: UserSearchParams;
8926
+ };
8927
+
8928
+
8890
8929
  export type QuerySocial_Page_FollowersArgs = {
8891
8930
  distinct_on?: InputMaybe<Array<Social_Page_Followers_Select_Column>>;
8892
8931
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -9499,6 +9538,12 @@ export type SalespersonStats = {
9499
9538
  retailerAssignmentRatio?: Maybe<Chart>;
9500
9539
  };
9501
9540
 
9541
+ export type SearchUserResponse = {
9542
+ __typename?: 'SearchUserResponse';
9543
+ data: Array<User>;
9544
+ paging: Paging;
9545
+ };
9546
+
9502
9547
  export type SetAccountFacebookPagesInput = {
9503
9548
  accountId: Scalars['ID']['input'];
9504
9549
  id: Scalars['ID']['input'];
@@ -11536,6 +11581,30 @@ export type UserBrandRejectionInput = {
11536
11581
  user_id: Scalars['Int']['input'];
11537
11582
  };
11538
11583
 
11584
+ export type UserCreateInput = {
11585
+ clickwrap_accepted_at?: InputMaybe<Scalars['String']['input']>;
11586
+ company?: InputMaybe<Scalars['String']['input']>;
11587
+ email: Scalars['String']['input'];
11588
+ first_name?: InputMaybe<Scalars['String']['input']>;
11589
+ language_preference?: InputMaybe<Scalars['String']['input']>;
11590
+ last_name?: InputMaybe<Scalars['String']['input']>;
11591
+ mobile_phone_number?: InputMaybe<Scalars['String']['input']>;
11592
+ mobile_phone_number_extension?: InputMaybe<Scalars['String']['input']>;
11593
+ password: Scalars['String']['input'];
11594
+ password_confirmation: Scalars['String']['input'];
11595
+ promoboxx_sales_team_member?: InputMaybe<Scalars['Boolean']['input']>;
11596
+ time_zone?: InputMaybe<Scalars['String']['input']>;
11597
+ title?: InputMaybe<Scalars['String']['input']>;
11598
+ };
11599
+
11600
+ export type UserSearchParams = {
11601
+ offset?: InputMaybe<Scalars['Int']['input']>;
11602
+ per_page?: InputMaybe<Scalars['Int']['input']>;
11603
+ search?: InputMaybe<Scalars['String']['input']>;
11604
+ sort_column?: InputMaybe<Scalars['String']['input']>;
11605
+ sort_direction?: InputMaybe<Scalars['String']['input']>;
11606
+ };
11607
+
11539
11608
  export type UserType =
11540
11609
  | 'ActiveUser'
11541
11610
  | 'InactiveUser'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promoboxx/graphql-gateway-types",
3
- "version": "1.390.0",
3
+ "version": "1.392.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/schema.graphql CHANGED
@@ -2200,6 +2200,10 @@ input CreateTwitterAccountInput {
2200
2200
  url: String
2201
2201
  }
2202
2202
 
2203
+ type CreateUserResponse {
2204
+ user: User!
2205
+ }
2206
+
2203
2207
  type Creative {
2204
2208
  allow_call_to_action: Boolean
2205
2209
  allow_url_override: Boolean
@@ -4298,6 +4302,7 @@ type Mutation {
4298
4302
  acceptBrandRequest(id: ID!): BrandRequest!
4299
4303
  activateCampaign(campaignId: ID!, params: ActivateCampaignParams!): ActivateCampaignResponse
4300
4304
  activateLogo(id: ID!): SubBrandLogo!
4305
+ activateUser(id: ID!): User!
4301
4306
 
4302
4307
  """
4303
4308
  Creates a new billboard with the given data and echoes the new row in the database
@@ -4364,8 +4369,10 @@ type Mutation {
4364
4369
  createSsoConnectionFromUser(sso_connection: SsoConnectionInput!, user_id: ID!): SsoConnection!
4365
4370
  createSupportEmail(data: CreateSupportEmailRequest!): CreateSupportEmailResponse!
4366
4371
  createTwitterAccount(resourceId: ID!, resourceType: String!, twitterAccount: CreateTwitterAccountInput!): TwitterAccount!
4372
+ createUser(user: UserCreateInput!): CreateUserResponse!
4367
4373
  createUserBrandRejection(user_brand_rejection: UserBrandRejectionInput!): UserBrandRejection!
4368
4374
  deactivateLogo(id: ID!): SubBrandLogo!
4375
+ deactivateUser(id: ID!): User!
4369
4376
  deleteAccessInvitation(id: ID!): ID!
4370
4377
  deleteAdInvitations(params: DeleteAdInvitationsParams!): ID!
4371
4378
 
@@ -4397,6 +4404,7 @@ type Mutation {
4397
4404
  deleteShare(shareId: ID!, shareType: ShareTypeParam): DeleteShareResponse!
4398
4405
  deleteSsoConnection(id: ID!, user_id: ID!): String!
4399
4406
  deleteTwitterAccount(id: ID!, resourceId: ID!, resourceType: String!): ID
4407
+ deleteUser(id: ID!): ID!
4400
4408
 
4401
4409
  """
4402
4410
  delete data from the table: "address_verification_run_results"
@@ -7288,6 +7296,7 @@ type Query {
7288
7296
  fetch data from the table: "retailer_account_schedule_recommendations" using primary key columns
7289
7297
  """
7290
7298
  retailer_account_schedule_recommendations_by_pk(id: uuid!): retailer_account_schedule_recommendations
7299
+ searchUser(params: UserSearchParams!): SearchUserResponse!
7291
7300
 
7292
7301
  """An array relationship"""
7293
7302
  social_page_followers(
@@ -8129,6 +8138,11 @@ type SalespersonStats {
8129
8138
  retailerAssignmentRatio: Chart
8130
8139
  }
8131
8140
 
8141
+ type SearchUserResponse {
8142
+ data: [User!]!
8143
+ paging: Paging!
8144
+ }
8145
+
8132
8146
  input SetAccountFacebookPagesInput {
8133
8147
  accountId: ID!
8134
8148
  id: ID!
@@ -10595,6 +10609,30 @@ input UserBrandRejectionInput {
10595
10609
  user_id: Int!
10596
10610
  }
10597
10611
 
10612
+ input UserCreateInput {
10613
+ clickwrap_accepted_at: String
10614
+ company: String
10615
+ email: String!
10616
+ first_name: String
10617
+ language_preference: String
10618
+ last_name: String
10619
+ mobile_phone_number: String
10620
+ mobile_phone_number_extension: String
10621
+ password: String!
10622
+ password_confirmation: String!
10623
+ promoboxx_sales_team_member: Boolean
10624
+ time_zone: String
10625
+ title: String
10626
+ }
10627
+
10628
+ input UserSearchParams {
10629
+ offset: Int
10630
+ per_page: Int
10631
+ search: String
10632
+ sort_column: String
10633
+ sort_direction: String
10634
+ }
10635
+
10598
10636
  enum UserType {
10599
10637
  ActiveUser
10600
10638
  InactiveUser