@promoboxx/graphql-gateway-types 1.1131.0 → 1.1133.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.
@@ -19008,6 +19008,34 @@
19008
19008
  "enumValues": null,
19009
19009
  "possibleTypes": null
19010
19010
  },
19011
+ {
19012
+ "kind": "INPUT_OBJECT",
19013
+ "name": "CommunicationInput",
19014
+ "description": null,
19015
+ "isOneOf": false,
19016
+ "fields": null,
19017
+ "inputFields": [
19018
+ {
19019
+ "name": "type",
19020
+ "description": null,
19021
+ "type": {
19022
+ "kind": "NON_NULL",
19023
+ "name": null,
19024
+ "ofType": {
19025
+ "kind": "SCALAR",
19026
+ "name": "String",
19027
+ "ofType": null
19028
+ }
19029
+ },
19030
+ "defaultValue": null,
19031
+ "isDeprecated": false,
19032
+ "deprecationReason": null
19033
+ }
19034
+ ],
19035
+ "interfaces": null,
19036
+ "enumValues": null,
19037
+ "possibleTypes": null
19038
+ },
19011
19039
  {
19012
19040
  "kind": "OBJECT",
19013
19041
  "name": "CommunicationOptOut",
@@ -52601,6 +52629,55 @@
52601
52629
  "isDeprecated": false,
52602
52630
  "deprecationReason": null
52603
52631
  },
52632
+ {
52633
+ "name": "createCommunication",
52634
+ "description": null,
52635
+ "args": [
52636
+ {
52637
+ "name": "campaign_id",
52638
+ "description": null,
52639
+ "type": {
52640
+ "kind": "NON_NULL",
52641
+ "name": null,
52642
+ "ofType": {
52643
+ "kind": "SCALAR",
52644
+ "name": "ID",
52645
+ "ofType": null
52646
+ }
52647
+ },
52648
+ "defaultValue": null,
52649
+ "isDeprecated": false,
52650
+ "deprecationReason": null
52651
+ },
52652
+ {
52653
+ "name": "communication",
52654
+ "description": null,
52655
+ "type": {
52656
+ "kind": "NON_NULL",
52657
+ "name": null,
52658
+ "ofType": {
52659
+ "kind": "INPUT_OBJECT",
52660
+ "name": "CommunicationInput",
52661
+ "ofType": null
52662
+ }
52663
+ },
52664
+ "defaultValue": null,
52665
+ "isDeprecated": false,
52666
+ "deprecationReason": null
52667
+ }
52668
+ ],
52669
+ "type": {
52670
+ "kind": "NON_NULL",
52671
+ "name": null,
52672
+ "ofType": {
52673
+ "kind": "OBJECT",
52674
+ "name": "Communication",
52675
+ "ofType": null
52676
+ }
52677
+ },
52678
+ "isDeprecated": false,
52679
+ "deprecationReason": null
52680
+ },
52604
52681
  {
52605
52682
  "name": "createCommunicationAutomation",
52606
52683
  "description": null,
package/index.d.ts CHANGED
@@ -2010,6 +2010,10 @@ export type CommunicationCounts = {
2010
2010
  scheduled?: Maybe<Scalars['Int']['output']>;
2011
2011
  };
2012
2012
 
2013
+ export type CommunicationInput = {
2014
+ type: Scalars['String']['input'];
2015
+ };
2016
+
2013
2017
  export type CommunicationOptOut = {
2014
2018
  __typename?: 'CommunicationOptOut';
2015
2019
  channel: Scalars['String']['output'];
@@ -5417,6 +5421,7 @@ export type Mutation = {
5417
5421
  createCampaignInvitations?: Maybe<Array<Maybe<Invitation>>>;
5418
5422
  createCampaignInviteable: Scalars['String']['output'];
5419
5423
  createCollection?: Maybe<Collection>;
5424
+ createCommunication: Communication;
5420
5425
  createCommunicationAutomation: CommunicationAutomation;
5421
5426
  createContentDiscoveryCampaign: Campaign;
5422
5427
  createCustomFieldValue?: Maybe<CustomFieldValues>;
@@ -6323,6 +6328,13 @@ export type MutationCreateCollectionArgs = {
6323
6328
  };
6324
6329
 
6325
6330
 
6331
+ /** mutation root */
6332
+ export type MutationCreateCommunicationArgs = {
6333
+ campaign_id: Scalars['ID']['input'];
6334
+ communication: CommunicationInput;
6335
+ };
6336
+
6337
+
6326
6338
  /** mutation root */
6327
6339
  export type MutationCreateCommunicationAutomationArgs = {
6328
6340
  communication_automation: CommunicationAutomationInput;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promoboxx/graphql-gateway-types",
3
- "version": "1.1131.0",
3
+ "version": "1.1133.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/schema.graphql CHANGED
@@ -1912,6 +1912,10 @@ type CommunicationCounts {
1912
1912
  scheduled: Int
1913
1913
  }
1914
1914
 
1915
+ input CommunicationInput {
1916
+ type: String!
1917
+ }
1918
+
1915
1919
  type CommunicationOptOut {
1916
1920
  channel: String!
1917
1921
  communication_type: String!
@@ -5183,6 +5187,7 @@ type Mutation {
5183
5187
  createCampaignInvitations(campaignId: ID!, params: CreateCampaignInvitationsParams!): [Invitation]
5184
5188
  createCampaignInviteable(campaignId: ID!, inviteableId: ID!, inviteableType: String!): String!
5185
5189
  createCollection(data: CreateCollectionData!): Collection
5190
+ createCommunication(campaign_id: ID!, communication: CommunicationInput!): Communication!
5186
5191
  createCommunicationAutomation(communication_automation: CommunicationAutomationInput!, fields: [String!]): CommunicationAutomation!
5187
5192
  createContentDiscoveryCampaign(contentDiscoveryId: ID!, retailerId: ID!): Campaign!
5188
5193
  createCustomFieldValue(data: CreateCustomFieldValueData!, resourceId: ID!, resourceType: CreateCustomFieldResourceType!): CustomFieldValues