From 29d7378b1d9b6d259ee68750d709c41baa7848c2 Mon Sep 17 00:00:00 2001 From: Yun Date: Tue, 27 Feb 2024 11:03:16 -0500 Subject: [PATCH] MBL-1235 Graphql mutation for event attribution --- app/src/main/graphql/schema.json | 213 +++++++++++++++++++++++++++++++ 1 file changed, 213 insertions(+) diff --git a/app/src/main/graphql/schema.json b/app/src/main/graphql/schema.json index 8db4b64ff0..24ade9cf48 100644 --- a/app/src/main/graphql/schema.json +++ b/app/src/main/graphql/schema.json @@ -4190,6 +4190,16 @@ "ofType": null }, "defaultValue": null + }, + { + "name": "followed", + "description": "Limit to backers that the current user is following", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null } ], "type": { @@ -4718,6 +4728,18 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "currentAmountPledgedUsd", + "description": "The current amount pledged in USD", + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "deadlineAt", "description": "When is the project scheduled to end?", @@ -12560,6 +12582,18 @@ "description": null, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "remove_address_event_sourcing_2024", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user_settings_upgrade_2024", + "description": null, + "isDeprecated": false, + "deprecationReason": null } ], "possibleTypes": null @@ -20447,6 +20481,22 @@ }, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "url", + "description": "The project update's URL.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null } ], "inputFields": null, @@ -23858,6 +23908,22 @@ }, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "url", + "description": "The project update's URL.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null } ], "inputFields": null, @@ -25082,6 +25148,22 @@ }, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "url", + "description": "The project update's URL.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null } ], "inputFields": null, @@ -32101,6 +32183,33 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "createAttributionEvent", + "description": "Creates an attribution event. Specifying a project will pass the project properties for attribution events. Sending this request as a logged-in user passes that user's properties as well. Any passed-in property with the same name overwrites the generated properties.", + "args": [ + { + "name": "input", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CreateAttributionEventInput", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CreateAttributionEventPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "createBacking", "description": "Create a backing and checkout and process payment.", @@ -36751,6 +36860,100 @@ } ] }, + { + "kind": "INPUT_OBJECT", + "name": "CreateAttributionEventInput", + "description": "Autogenerated input type of CreateAttributionEvent", + "fields": null, + "inputFields": [ + { + "name": "eventName", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "eventProperties", + "description": null, + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "projectId", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CreateAttributionEventPayload", + "description": "Autogenerated return type of CreateAttributionEvent", + "fields": [ + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "successful", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, { "kind": "INPUT_OBJECT", "name": "CreateBackingInput", @@ -47873,6 +48076,16 @@ }, "defaultValue": null }, + { + "name": "postCampaignPledgesEnabled", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, { "name": "clientMutationId", "description": "A unique identifier for the client performing the mutation.",