@promoboxx/graphql-gateway-types 1.787.0 → 1.788.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.
@@ -12036,6 +12036,26 @@
12036
12036
  "isDeprecated": false,
12037
12037
  "deprecationReason": null
12038
12038
  },
12039
+ {
12040
+ "name": "inviteable_groups",
12041
+ "description": null,
12042
+ "args": [],
12043
+ "type": {
12044
+ "kind": "LIST",
12045
+ "name": null,
12046
+ "ofType": {
12047
+ "kind": "NON_NULL",
12048
+ "name": null,
12049
+ "ofType": {
12050
+ "kind": "OBJECT",
12051
+ "name": "Collection",
12052
+ "ofType": null
12053
+ }
12054
+ }
12055
+ },
12056
+ "isDeprecated": false,
12057
+ "deprecationReason": null
12058
+ },
12039
12059
  {
12040
12060
  "name": "inviteable_id",
12041
12061
  "description": null,
@@ -12048,6 +12068,26 @@
12048
12068
  "isDeprecated": false,
12049
12069
  "deprecationReason": null
12050
12070
  },
12071
+ {
12072
+ "name": "inviteable_smart_groups",
12073
+ "description": null,
12074
+ "args": [],
12075
+ "type": {
12076
+ "kind": "LIST",
12077
+ "name": null,
12078
+ "ofType": {
12079
+ "kind": "NON_NULL",
12080
+ "name": null,
12081
+ "ofType": {
12082
+ "kind": "OBJECT",
12083
+ "name": "Filter",
12084
+ "ofType": null
12085
+ }
12086
+ }
12087
+ },
12088
+ "isDeprecated": false,
12089
+ "deprecationReason": null
12090
+ },
12051
12091
  {
12052
12092
  "name": "inviteable_type",
12053
12093
  "description": null,
@@ -48211,6 +48251,71 @@
48211
48251
  "isDeprecated": false,
48212
48252
  "deprecationReason": null
48213
48253
  },
48254
+ {
48255
+ "name": "createCampaignInviteable",
48256
+ "description": null,
48257
+ "args": [
48258
+ {
48259
+ "name": "campaignId",
48260
+ "description": null,
48261
+ "type": {
48262
+ "kind": "NON_NULL",
48263
+ "name": null,
48264
+ "ofType": {
48265
+ "kind": "SCALAR",
48266
+ "name": "ID",
48267
+ "ofType": null
48268
+ }
48269
+ },
48270
+ "defaultValue": null,
48271
+ "isDeprecated": false,
48272
+ "deprecationReason": null
48273
+ },
48274
+ {
48275
+ "name": "inviteableId",
48276
+ "description": null,
48277
+ "type": {
48278
+ "kind": "NON_NULL",
48279
+ "name": null,
48280
+ "ofType": {
48281
+ "kind": "SCALAR",
48282
+ "name": "ID",
48283
+ "ofType": null
48284
+ }
48285
+ },
48286
+ "defaultValue": null,
48287
+ "isDeprecated": false,
48288
+ "deprecationReason": null
48289
+ },
48290
+ {
48291
+ "name": "inviteableType",
48292
+ "description": null,
48293
+ "type": {
48294
+ "kind": "NON_NULL",
48295
+ "name": null,
48296
+ "ofType": {
48297
+ "kind": "SCALAR",
48298
+ "name": "String",
48299
+ "ofType": null
48300
+ }
48301
+ },
48302
+ "defaultValue": null,
48303
+ "isDeprecated": false,
48304
+ "deprecationReason": null
48305
+ }
48306
+ ],
48307
+ "type": {
48308
+ "kind": "NON_NULL",
48309
+ "name": null,
48310
+ "ofType": {
48311
+ "kind": "SCALAR",
48312
+ "name": "String",
48313
+ "ofType": null
48314
+ }
48315
+ },
48316
+ "isDeprecated": false,
48317
+ "deprecationReason": null
48318
+ },
48214
48319
  {
48215
48320
  "name": "createCollection",
48216
48321
  "description": null,
@@ -50210,6 +50315,71 @@
50210
50315
  "isDeprecated": false,
50211
50316
  "deprecationReason": null
50212
50317
  },
50318
+ {
50319
+ "name": "deleteCampaignInviteable",
50320
+ "description": null,
50321
+ "args": [
50322
+ {
50323
+ "name": "campaignId",
50324
+ "description": null,
50325
+ "type": {
50326
+ "kind": "NON_NULL",
50327
+ "name": null,
50328
+ "ofType": {
50329
+ "kind": "SCALAR",
50330
+ "name": "ID",
50331
+ "ofType": null
50332
+ }
50333
+ },
50334
+ "defaultValue": null,
50335
+ "isDeprecated": false,
50336
+ "deprecationReason": null
50337
+ },
50338
+ {
50339
+ "name": "inviteableId",
50340
+ "description": null,
50341
+ "type": {
50342
+ "kind": "NON_NULL",
50343
+ "name": null,
50344
+ "ofType": {
50345
+ "kind": "SCALAR",
50346
+ "name": "ID",
50347
+ "ofType": null
50348
+ }
50349
+ },
50350
+ "defaultValue": null,
50351
+ "isDeprecated": false,
50352
+ "deprecationReason": null
50353
+ },
50354
+ {
50355
+ "name": "inviteableType",
50356
+ "description": null,
50357
+ "type": {
50358
+ "kind": "NON_NULL",
50359
+ "name": null,
50360
+ "ofType": {
50361
+ "kind": "SCALAR",
50362
+ "name": "String",
50363
+ "ofType": null
50364
+ }
50365
+ },
50366
+ "defaultValue": null,
50367
+ "isDeprecated": false,
50368
+ "deprecationReason": null
50369
+ }
50370
+ ],
50371
+ "type": {
50372
+ "kind": "NON_NULL",
50373
+ "name": null,
50374
+ "ofType": {
50375
+ "kind": "SCALAR",
50376
+ "name": "String",
50377
+ "ofType": null
50378
+ }
50379
+ },
50380
+ "isDeprecated": false,
50381
+ "deprecationReason": null
50382
+ },
50213
50383
  {
50214
50384
  "name": "deleteCollection",
50215
50385
  "description": null,
@@ -55480,6 +55650,63 @@
55480
55650
  "isDeprecated": false,
55481
55651
  "deprecationReason": null
55482
55652
  },
55653
+ {
55654
+ "name": "replaceCampaignInviteables",
55655
+ "description": null,
55656
+ "args": [
55657
+ {
55658
+ "name": "campaignId",
55659
+ "description": null,
55660
+ "type": {
55661
+ "kind": "NON_NULL",
55662
+ "name": null,
55663
+ "ofType": {
55664
+ "kind": "SCALAR",
55665
+ "name": "ID",
55666
+ "ofType": null
55667
+ }
55668
+ },
55669
+ "defaultValue": null,
55670
+ "isDeprecated": false,
55671
+ "deprecationReason": null
55672
+ },
55673
+ {
55674
+ "name": "inviteables",
55675
+ "description": null,
55676
+ "type": {
55677
+ "kind": "NON_NULL",
55678
+ "name": null,
55679
+ "ofType": {
55680
+ "kind": "LIST",
55681
+ "name": null,
55682
+ "ofType": {
55683
+ "kind": "NON_NULL",
55684
+ "name": null,
55685
+ "ofType": {
55686
+ "kind": "INPUT_OBJECT",
55687
+ "name": "ReplaceCampaignInviteablesInput",
55688
+ "ofType": null
55689
+ }
55690
+ }
55691
+ }
55692
+ },
55693
+ "defaultValue": null,
55694
+ "isDeprecated": false,
55695
+ "deprecationReason": null
55696
+ }
55697
+ ],
55698
+ "type": {
55699
+ "kind": "NON_NULL",
55700
+ "name": null,
55701
+ "ofType": {
55702
+ "kind": "SCALAR",
55703
+ "name": "String",
55704
+ "ofType": null
55705
+ }
55706
+ },
55707
+ "isDeprecated": false,
55708
+ "deprecationReason": null
55709
+ },
55483
55710
  {
55484
55711
  "name": "requestPasswordReset",
55485
55712
  "description": null,
@@ -77888,6 +78115,49 @@
77888
78115
  "enumValues": null,
77889
78116
  "possibleTypes": null
77890
78117
  },
78118
+ {
78119
+ "kind": "INPUT_OBJECT",
78120
+ "name": "ReplaceCampaignInviteablesInput",
78121
+ "description": null,
78122
+ "fields": null,
78123
+ "inputFields": [
78124
+ {
78125
+ "name": "inviteable_id",
78126
+ "description": null,
78127
+ "type": {
78128
+ "kind": "NON_NULL",
78129
+ "name": null,
78130
+ "ofType": {
78131
+ "kind": "SCALAR",
78132
+ "name": "ID",
78133
+ "ofType": null
78134
+ }
78135
+ },
78136
+ "defaultValue": null,
78137
+ "isDeprecated": false,
78138
+ "deprecationReason": null
78139
+ },
78140
+ {
78141
+ "name": "inviteable_type",
78142
+ "description": null,
78143
+ "type": {
78144
+ "kind": "NON_NULL",
78145
+ "name": null,
78146
+ "ofType": {
78147
+ "kind": "SCALAR",
78148
+ "name": "String",
78149
+ "ofType": null
78150
+ }
78151
+ },
78152
+ "defaultValue": null,
78153
+ "isDeprecated": false,
78154
+ "deprecationReason": null
78155
+ }
78156
+ ],
78157
+ "interfaces": null,
78158
+ "enumValues": null,
78159
+ "possibleTypes": null
78160
+ },
77891
78161
  {
77892
78162
  "kind": "ENUM",
77893
78163
  "name": "RequestableType",
package/index.d.ts CHANGED
@@ -1296,7 +1296,9 @@ export type Campaign = {
1296
1296
  instamatch_strategy?: Maybe<Scalars['String']['output']>;
1297
1297
  invitation?: Maybe<Invitation>;
1298
1298
  invitations?: Maybe<Array<Invitation>>;
1299
+ inviteable_groups?: Maybe<Array<Collection>>;
1299
1300
  inviteable_id?: Maybe<Scalars['ID']['output']>;
1301
+ inviteable_smart_groups?: Maybe<Array<Filter>>;
1300
1302
  inviteable_type?: Maybe<Scalars['String']['output']>;
1301
1303
  kpi?: Maybe<Kpi>;
1302
1304
  landing_header_html?: Maybe<Scalars['String']['output']>;
@@ -5110,6 +5112,7 @@ export type Mutation = {
5110
5112
  createCampaignDescription: Scalars['ID']['output'];
5111
5113
  createCampaignInvitation?: Maybe<Invitation>;
5112
5114
  createCampaignInvitations?: Maybe<Array<Maybe<Invitation>>>;
5115
+ createCampaignInviteable: Scalars['String']['output'];
5113
5116
  createCollection?: Maybe<Collection>;
5114
5117
  createContentDiscoveryCampaign: Campaign;
5115
5118
  createCustomFieldValue?: Maybe<CustomFieldValues>;
@@ -5154,6 +5157,7 @@ export type Mutation = {
5154
5157
  deleteCampaign?: Maybe<Scalars['ID']['output']>;
5155
5158
  deleteCampaignDescription: Scalars['ID']['output'];
5156
5159
  deleteCampaignInvitation: Scalars['ID']['output'];
5160
+ deleteCampaignInviteable: Scalars['String']['output'];
5157
5161
  deleteCollection?: Maybe<Scalars['ID']['output']>;
5158
5162
  deleteDigitalAsset?: Maybe<DeleteDigitalAssetResponse>;
5159
5163
  deleteDivision: Scalars['ID']['output'];
@@ -5390,6 +5394,7 @@ export type Mutation = {
5390
5394
  refreshFacebookPageTokens?: Maybe<Array<Scalars['ID']['output']>>;
5391
5395
  rejectBrandRequest: BrandRequest;
5392
5396
  removeRole: UserResponse;
5397
+ replaceCampaignInviteables: Scalars['String']['output'];
5393
5398
  requestPasswordReset: Scalars['String']['output'];
5394
5399
  rescheduleShare: Share;
5395
5400
  resendAccessInvitation: Scalars['ID']['output'];
@@ -5877,6 +5882,14 @@ export type MutationCreateCampaignInvitationsArgs = {
5877
5882
  };
5878
5883
 
5879
5884
 
5885
+ /** mutation root */
5886
+ export type MutationCreateCampaignInviteableArgs = {
5887
+ campaignId: Scalars['ID']['input'];
5888
+ inviteableId: Scalars['ID']['input'];
5889
+ inviteableType: Scalars['String']['input'];
5890
+ };
5891
+
5892
+
5880
5893
  /** mutation root */
5881
5894
  export type MutationCreateCollectionArgs = {
5882
5895
  data: CreateCollectionData;
@@ -6161,6 +6174,14 @@ export type MutationDeleteCampaignInvitationArgs = {
6161
6174
  };
6162
6175
 
6163
6176
 
6177
+ /** mutation root */
6178
+ export type MutationDeleteCampaignInviteableArgs = {
6179
+ campaignId: Scalars['ID']['input'];
6180
+ inviteableId: Scalars['ID']['input'];
6181
+ inviteableType: Scalars['String']['input'];
6182
+ };
6183
+
6184
+
6164
6185
  /** mutation root */
6165
6186
  export type MutationDeleteCollectionArgs = {
6166
6187
  id: Scalars['ID']['input'];
@@ -7075,6 +7096,13 @@ export type MutationRemoveRoleArgs = {
7075
7096
  };
7076
7097
 
7077
7098
 
7099
+ /** mutation root */
7100
+ export type MutationReplaceCampaignInviteablesArgs = {
7101
+ campaignId: Scalars['ID']['input'];
7102
+ inviteables: Array<ReplaceCampaignInviteablesInput>;
7103
+ };
7104
+
7105
+
7078
7106
  /** mutation root */
7079
7107
  export type MutationRequestPasswordResetArgs = {
7080
7108
  email: Scalars['String']['input'];
@@ -10109,6 +10137,11 @@ export type RejectBrandRequestBrandRequest = {
10109
10137
  brand_message?: InputMaybe<Scalars['String']['input']>;
10110
10138
  };
10111
10139
 
10140
+ export type ReplaceCampaignInviteablesInput = {
10141
+ inviteable_id: Scalars['ID']['input'];
10142
+ inviteable_type: Scalars['String']['input'];
10143
+ };
10144
+
10112
10145
  export type RequestableType =
10113
10146
  | 'Brand'
10114
10147
  | 'Retailer'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promoboxx/graphql-gateway-types",
3
- "version": "1.787.0",
3
+ "version": "1.788.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/schema.graphql CHANGED
@@ -1251,7 +1251,9 @@ type Campaign {
1251
1251
  instamatch_strategy: String
1252
1252
  invitation: Invitation
1253
1253
  invitations: [Invitation!]
1254
+ inviteable_groups: [Collection!]
1254
1255
  inviteable_id: ID
1256
+ inviteable_smart_groups: [Filter!]
1255
1257
  inviteable_type: String
1256
1258
  kpi: Kpi
1257
1259
  landing_header_html: String
@@ -4901,6 +4903,7 @@ type Mutation {
4901
4903
  createCampaignDescription(campaignDescriptionData: CampaignDescriptionInput!, campaignId: ID!): ID!
4902
4904
  createCampaignInvitation(campaignId: ID!, params: CreateCampaignInvitationParams!): Invitation
4903
4905
  createCampaignInvitations(campaignId: ID!, params: CreateCampaignInvitationsParams!): [Invitation]
4906
+ createCampaignInviteable(campaignId: ID!, inviteableId: ID!, inviteableType: String!): String!
4904
4907
  createCollection(data: CreateCollectionData!): Collection
4905
4908
  createContentDiscoveryCampaign(contentDiscoveryId: ID!, retailerId: ID!): Campaign!
4906
4909
  createCustomFieldValue(data: CreateCustomFieldValueData!, resourceId: ID!, resourceType: CreateCustomFieldResourceType!): CustomFieldValues
@@ -4949,6 +4952,7 @@ type Mutation {
4949
4952
  deleteCampaign(campaignId: ID!): ID
4950
4953
  deleteCampaignDescription(campaignDescriptionId: ID!): ID!
4951
4954
  deleteCampaignInvitation(id: ID!): ID!
4955
+ deleteCampaignInviteable(campaignId: ID!, inviteableId: ID!, inviteableType: String!): String!
4952
4956
  deleteCollection(id: ID!): ID
4953
4957
  deleteDigitalAsset(params: DeleteDigitalAssetParams!): DeleteDigitalAssetResponse
4954
4958
  deleteDivision(id: ID!): ID!
@@ -5756,6 +5760,7 @@ type Mutation {
5756
5760
  refreshFacebookPageTokens(ids: [ID!]!): [ID!]
5757
5761
  rejectBrandRequest(brand_request: RejectBrandRequestBrandRequest, id: ID!): BrandRequest!
5758
5762
  removeRole(id: ID!, role_name: String!): UserResponse!
5763
+ replaceCampaignInviteables(campaignId: ID!, inviteables: [ReplaceCampaignInviteablesInput!]!): String!
5759
5764
  requestPasswordReset(email: String!, redirect_url: String!): String!
5760
5765
  rescheduleShare(id: ID!, scheduled_for: String, shareType: String!): Share!
5761
5766
  resendAccessInvitation(id: ID!): ID!
@@ -8457,6 +8462,11 @@ input RejectBrandRequestBrandRequest {
8457
8462
  brand_message: String
8458
8463
  }
8459
8464
 
8465
+ input ReplaceCampaignInviteablesInput {
8466
+ inviteable_id: ID!
8467
+ inviteable_type: String!
8468
+ }
8469
+
8460
8470
  enum RequestableType {
8461
8471
  Brand
8462
8472
  Retailer