@promoboxx/graphql-gateway-types 1.60.0 → 1.62.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.
@@ -16406,13 +16406,33 @@
16406
16406
  "name": "campaign_id",
16407
16407
  "description": null,
16408
16408
  "type": {
16409
- "kind": "NON_NULL",
16410
- "name": null,
16411
- "ofType": {
16412
- "kind": "SCALAR",
16413
- "name": "ID",
16414
- "ofType": null
16415
- }
16409
+ "kind": "SCALAR",
16410
+ "name": "ID",
16411
+ "ofType": null
16412
+ },
16413
+ "defaultValue": null,
16414
+ "isDeprecated": false,
16415
+ "deprecationReason": null
16416
+ },
16417
+ {
16418
+ "name": "retailer_id",
16419
+ "description": null,
16420
+ "type": {
16421
+ "kind": "SCALAR",
16422
+ "name": "ID",
16423
+ "ofType": null
16424
+ },
16425
+ "defaultValue": null,
16426
+ "isDeprecated": false,
16427
+ "deprecationReason": null
16428
+ },
16429
+ {
16430
+ "name": "user_id",
16431
+ "description": null,
16432
+ "type": {
16433
+ "kind": "SCALAR",
16434
+ "name": "ID",
16435
+ "ofType": null
16416
16436
  },
16417
16437
  "defaultValue": null,
16418
16438
  "isDeprecated": false,
@@ -16450,6 +16470,37 @@
16450
16470
  "enumValues": null,
16451
16471
  "possibleTypes": null
16452
16472
  },
16473
+ {
16474
+ "kind": "INPUT_OBJECT",
16475
+ "name": "CreateCampaignInvitationsParams",
16476
+ "description": null,
16477
+ "fields": null,
16478
+ "inputFields": [
16479
+ {
16480
+ "name": "invitations",
16481
+ "description": null,
16482
+ "type": {
16483
+ "kind": "LIST",
16484
+ "name": null,
16485
+ "ofType": {
16486
+ "kind": "NON_NULL",
16487
+ "name": null,
16488
+ "ofType": {
16489
+ "kind": "INPUT_OBJECT",
16490
+ "name": "CreateCampaignInvitation",
16491
+ "ofType": null
16492
+ }
16493
+ }
16494
+ },
16495
+ "defaultValue": null,
16496
+ "isDeprecated": false,
16497
+ "deprecationReason": null
16498
+ }
16499
+ ],
16500
+ "interfaces": null,
16501
+ "enumValues": null,
16502
+ "possibleTypes": null
16503
+ },
16453
16504
  {
16454
16505
  "kind": "INPUT_OBJECT",
16455
16506
  "name": "CreateCollectionData",
@@ -38136,6 +38187,55 @@
38136
38187
  "isDeprecated": false,
38137
38188
  "deprecationReason": null
38138
38189
  },
38190
+ {
38191
+ "name": "createCampaignInvitations",
38192
+ "description": null,
38193
+ "args": [
38194
+ {
38195
+ "name": "campaignId",
38196
+ "description": null,
38197
+ "type": {
38198
+ "kind": "NON_NULL",
38199
+ "name": null,
38200
+ "ofType": {
38201
+ "kind": "SCALAR",
38202
+ "name": "ID",
38203
+ "ofType": null
38204
+ }
38205
+ },
38206
+ "defaultValue": null,
38207
+ "isDeprecated": false,
38208
+ "deprecationReason": null
38209
+ },
38210
+ {
38211
+ "name": "params",
38212
+ "description": null,
38213
+ "type": {
38214
+ "kind": "NON_NULL",
38215
+ "name": null,
38216
+ "ofType": {
38217
+ "kind": "INPUT_OBJECT",
38218
+ "name": "CreateCampaignInvitationsParams",
38219
+ "ofType": null
38220
+ }
38221
+ },
38222
+ "defaultValue": null,
38223
+ "isDeprecated": false,
38224
+ "deprecationReason": null
38225
+ }
38226
+ ],
38227
+ "type": {
38228
+ "kind": "LIST",
38229
+ "name": null,
38230
+ "ofType": {
38231
+ "kind": "OBJECT",
38232
+ "name": "Invitation",
38233
+ "ofType": null
38234
+ }
38235
+ },
38236
+ "isDeprecated": false,
38237
+ "deprecationReason": null
38238
+ },
38139
38239
  {
38140
38240
  "name": "createCollection",
38141
38241
  "description": null,
@@ -42987,6 +43087,135 @@
42987
43087
  "isDeprecated": false,
42988
43088
  "deprecationReason": null
42989
43089
  },
43090
+ {
43091
+ "name": "updatePassword",
43092
+ "description": null,
43093
+ "args": [
43094
+ {
43095
+ "name": "accessToken",
43096
+ "description": null,
43097
+ "type": {
43098
+ "kind": "NON_NULL",
43099
+ "name": null,
43100
+ "ofType": {
43101
+ "kind": "SCALAR",
43102
+ "name": "String",
43103
+ "ofType": null
43104
+ }
43105
+ },
43106
+ "defaultValue": null,
43107
+ "isDeprecated": false,
43108
+ "deprecationReason": null
43109
+ },
43110
+ {
43111
+ "name": "client",
43112
+ "description": null,
43113
+ "type": {
43114
+ "kind": "NON_NULL",
43115
+ "name": null,
43116
+ "ofType": {
43117
+ "kind": "SCALAR",
43118
+ "name": "String",
43119
+ "ofType": null
43120
+ }
43121
+ },
43122
+ "defaultValue": null,
43123
+ "isDeprecated": false,
43124
+ "deprecationReason": null
43125
+ },
43126
+ {
43127
+ "name": "expiry",
43128
+ "description": null,
43129
+ "type": {
43130
+ "kind": "NON_NULL",
43131
+ "name": null,
43132
+ "ofType": {
43133
+ "kind": "SCALAR",
43134
+ "name": "String",
43135
+ "ofType": null
43136
+ }
43137
+ },
43138
+ "defaultValue": null,
43139
+ "isDeprecated": false,
43140
+ "deprecationReason": null
43141
+ },
43142
+ {
43143
+ "name": "password",
43144
+ "description": null,
43145
+ "type": {
43146
+ "kind": "NON_NULL",
43147
+ "name": null,
43148
+ "ofType": {
43149
+ "kind": "SCALAR",
43150
+ "name": "String",
43151
+ "ofType": null
43152
+ }
43153
+ },
43154
+ "defaultValue": null,
43155
+ "isDeprecated": false,
43156
+ "deprecationReason": null
43157
+ },
43158
+ {
43159
+ "name": "password_confirmation",
43160
+ "description": null,
43161
+ "type": {
43162
+ "kind": "NON_NULL",
43163
+ "name": null,
43164
+ "ofType": {
43165
+ "kind": "SCALAR",
43166
+ "name": "String",
43167
+ "ofType": null
43168
+ }
43169
+ },
43170
+ "defaultValue": null,
43171
+ "isDeprecated": false,
43172
+ "deprecationReason": null
43173
+ },
43174
+ {
43175
+ "name": "tokenType",
43176
+ "description": null,
43177
+ "type": {
43178
+ "kind": "NON_NULL",
43179
+ "name": null,
43180
+ "ofType": {
43181
+ "kind": "SCALAR",
43182
+ "name": "String",
43183
+ "ofType": null
43184
+ }
43185
+ },
43186
+ "defaultValue": null,
43187
+ "isDeprecated": false,
43188
+ "deprecationReason": null
43189
+ },
43190
+ {
43191
+ "name": "uid",
43192
+ "description": null,
43193
+ "type": {
43194
+ "kind": "NON_NULL",
43195
+ "name": null,
43196
+ "ofType": {
43197
+ "kind": "SCALAR",
43198
+ "name": "String",
43199
+ "ofType": null
43200
+ }
43201
+ },
43202
+ "defaultValue": null,
43203
+ "isDeprecated": false,
43204
+ "deprecationReason": null
43205
+ }
43206
+ ],
43207
+ "type": {
43208
+ "kind": "NON_NULL",
43209
+ "name": null,
43210
+ "ofType": {
43211
+ "kind": "OBJECT",
43212
+ "name": "UpdatePasswordResponse",
43213
+ "ofType": null
43214
+ }
43215
+ },
43216
+ "isDeprecated": false,
43217
+ "deprecationReason": null
43218
+ },
42990
43219
  {
42991
43220
  "name": "updatePaymentIntent",
42992
43221
  "description": null,
@@ -62128,6 +62357,33 @@
62128
62357
  "enumValues": null,
62129
62358
  "possibleTypes": null
62130
62359
  },
62360
+ {
62361
+ "kind": "OBJECT",
62362
+ "name": "UpdatePasswordResponse",
62363
+ "description": null,
62364
+ "fields": [
62365
+ {
62366
+ "name": "user",
62367
+ "description": null,
62368
+ "args": [],
62369
+ "type": {
62370
+ "kind": "NON_NULL",
62371
+ "name": null,
62372
+ "ofType": {
62373
+ "kind": "OBJECT",
62374
+ "name": "User",
62375
+ "ofType": null
62376
+ }
62377
+ },
62378
+ "isDeprecated": false,
62379
+ "deprecationReason": null
62380
+ }
62381
+ ],
62382
+ "inputFields": null,
62383
+ "interfaces": [],
62384
+ "enumValues": null,
62385
+ "possibleTypes": null
62386
+ },
62131
62387
  {
62132
62388
  "kind": "INPUT_OBJECT",
62133
62389
  "name": "UpdateStripePaymentIntent",
package/index.d.ts CHANGED
@@ -1791,13 +1791,19 @@ export type CreateCampaignDataCampaign = {
1791
1791
  };
1792
1792
 
1793
1793
  export type CreateCampaignInvitation = {
1794
- campaign_id: Scalars['ID']['input'];
1794
+ campaign_id?: InputMaybe<Scalars['ID']['input']>;
1795
+ retailer_id?: InputMaybe<Scalars['ID']['input']>;
1796
+ user_id?: InputMaybe<Scalars['ID']['input']>;
1795
1797
  };
1796
1798
 
1797
1799
  export type CreateCampaignInvitationParams = {
1798
1800
  invitation: CreateCampaignInvitation;
1799
1801
  };
1800
1802
 
1803
+ export type CreateCampaignInvitationsParams = {
1804
+ invitations?: InputMaybe<Array<CreateCampaignInvitation>>;
1805
+ };
1806
+
1801
1807
  export type CreateCollectionData = {
1802
1808
  group: CreateCollectionDataGroup;
1803
1809
  resource_id: Scalars['ID']['input'];
@@ -4134,6 +4140,7 @@ export type Mutation = {
4134
4140
  createCampaign?: Maybe<Campaign>;
4135
4141
  createCampaignDescription: Scalars['ID']['output'];
4136
4142
  createCampaignInvitation?: Maybe<Invitation>;
4143
+ createCampaignInvitations?: Maybe<Array<Maybe<Invitation>>>;
4137
4144
  createCollection?: Maybe<Collection>;
4138
4145
  createContentDiscoveryCampaign: Campaign;
4139
4146
  createCustomFieldValue?: Maybe<CustomFieldValues>;
@@ -4266,6 +4273,7 @@ export type Mutation = {
4266
4273
  updateLocation?: Maybe<Location>;
4267
4274
  updateLogo: SubBrandLogo;
4268
4275
  updatePaidAd?: Maybe<Scalars['ID']['output']>;
4276
+ updatePassword: UpdatePasswordResponse;
4269
4277
  updatePaymentIntent?: Maybe<StripePaymentIntent>;
4270
4278
  updateSsoConnection: SsoConnection;
4271
4279
  updateUser: UpdateUserResponse;
@@ -4441,6 +4449,12 @@ export type MutationCreateCampaignInvitationArgs = {
4441
4449
  };
4442
4450
 
4443
4451
 
4452
+ export type MutationCreateCampaignInvitationsArgs = {
4453
+ campaignId: Scalars['ID']['input'];
4454
+ params: CreateCampaignInvitationsParams;
4455
+ };
4456
+
4457
+
4444
4458
  export type MutationCreateCollectionArgs = {
4445
4459
  data: CreateCollectionData;
4446
4460
  };
@@ -5094,6 +5108,17 @@ export type MutationUpdatePaidAdArgs = {
5094
5108
  };
5095
5109
 
5096
5110
 
5111
+ export type MutationUpdatePasswordArgs = {
5112
+ accessToken: Scalars['String']['input'];
5113
+ client: Scalars['String']['input'];
5114
+ expiry: Scalars['String']['input'];
5115
+ password: Scalars['String']['input'];
5116
+ password_confirmation: Scalars['String']['input'];
5117
+ tokenType: Scalars['String']['input'];
5118
+ uid: Scalars['String']['input'];
5119
+ };
5120
+
5121
+
5097
5122
  export type MutationUpdatePaymentIntentArgs = {
5098
5123
  data: UpdateStripePaymentIntent;
5099
5124
  };
@@ -7422,6 +7447,11 @@ export type UpdatePaidAdParams = {
7422
7447
  data: UpdatePaidAdData;
7423
7448
  };
7424
7449
 
7450
+ export type UpdatePasswordResponse = {
7451
+ __typename?: 'UpdatePasswordResponse';
7452
+ user: User;
7453
+ };
7454
+
7425
7455
  export type UpdateStripePaymentIntent = {
7426
7456
  amount_cents: Scalars['String']['input'];
7427
7457
  id: Scalars['ID']['input'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promoboxx/graphql-gateway-types",
3
- "version": "1.60.0",
3
+ "version": "1.62.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/schema.graphql CHANGED
@@ -1714,13 +1714,19 @@ input CreateCampaignDataCampaign {
1714
1714
  }
1715
1715
 
1716
1716
  input CreateCampaignInvitation {
1717
- campaign_id: ID!
1717
+ campaign_id: ID
1718
+ retailer_id: ID
1719
+ user_id: ID
1718
1720
  }
1719
1721
 
1720
1722
  input CreateCampaignInvitationParams {
1721
1723
  invitation: CreateCampaignInvitation!
1722
1724
  }
1723
1725
 
1726
+ input CreateCampaignInvitationsParams {
1727
+ invitations: [CreateCampaignInvitation!]
1728
+ }
1729
+
1724
1730
  input CreateCollectionData {
1725
1731
  group: CreateCollectionDataGroup!
1726
1732
  resource_id: ID!
@@ -3988,6 +3994,7 @@ type Mutation {
3988
3994
  createCampaign(data: CreateCampaignData!): Campaign
3989
3995
  createCampaignDescription(campaignDescriptionData: CampaignDescriptionInput!, campaignId: ID!): ID!
3990
3996
  createCampaignInvitation(campaignId: ID!, params: CreateCampaignInvitationParams!): Invitation
3997
+ createCampaignInvitations(campaignId: ID!, params: CreateCampaignInvitationsParams!): [Invitation]
3991
3998
  createCollection(data: CreateCollectionData!): Collection
3992
3999
  createContentDiscoveryCampaign(contentDiscoveryId: ID!, retailerId: ID!): Campaign!
3993
4000
  createCustomFieldValue(data: CreateCustomFieldValueData!, resourceId: ID!, resourceType: CreateCustomFieldResourceType!): CustomFieldValues
@@ -4132,6 +4139,7 @@ type Mutation {
4132
4139
  updateLocation(id: ID!, location: LocationInput!): Location
4133
4140
  updateLogo(id: ID!, logo: CreateOrUpdateLogoData!): SubBrandLogo!
4134
4141
  updatePaidAd(params: UpdatePaidAdParams!): ID
4142
+ updatePassword(accessToken: String!, client: String!, expiry: String!, password: String!, password_confirmation: String!, tokenType: String!, uid: String!): UpdatePasswordResponse!
4135
4143
  updatePaymentIntent(data: UpdateStripePaymentIntent!): StripePaymentIntent
4136
4144
  updateSsoConnection(id: ID!, sso_connection: SsoConnectionInput!, user_id: ID!): SsoConnection!
4137
4145
  updateUser(user: UpdateUserInput!): UpdateUserResponse!
@@ -5811,6 +5819,10 @@ input UpdatePaidAdParams {
5811
5819
  data: UpdatePaidAdData!
5812
5820
  }
5813
5821
 
5822
+ type UpdatePasswordResponse {
5823
+ user: User!
5824
+ }
5825
+
5814
5826
  input UpdateStripePaymentIntent {
5815
5827
  amount_cents: String!
5816
5828
  id: ID!