Skip to content

Commit

Permalink
MBL-1235 Add CreateAttributionEvent mutation (#1960)
Browse files Browse the repository at this point in the history
  • Loading branch information
ycheng-kickstarter committed Feb 27, 2024
1 parent f786861 commit ad17e5f
Showing 1 changed file with 213 additions and 0 deletions.
213 changes: 213 additions & 0 deletions app/src/main/graphql/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -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?",
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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.",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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.",
Expand Down

0 comments on commit ad17e5f

Please sign in to comment.