From f647fa130997bb8ff1f5f0685de7bcb9e7fa09fc Mon Sep 17 00:00:00 2001 From: Yun Cheng <129205442+ycheng-kickstarter@users.noreply.github.com> Date: Thu, 21 Mar 2024 10:28:09 -0400 Subject: [PATCH] Update graphql schema (#1981) * Update graphql schema * Fix CircleCI error caused by GraphQL change to FlaggingKind --- app/src/main/graphql/project.graphql | 2 +- app/src/main/graphql/schema.json | 1967 ++++++++++------- .../kickstarter/services/KSApolloClientV2.kt | 4 +- 3 files changed, 1189 insertions(+), 784 deletions(-) diff --git a/app/src/main/graphql/project.graphql b/app/src/main/graphql/project.graphql index e9a6570b2d..0058a3fd4c 100644 --- a/app/src/main/graphql/project.graphql +++ b/app/src/main/graphql/project.graphql @@ -161,7 +161,7 @@ query GetProjectUpdates($slug: String!, $limit: Int!, $cursor: String) { } } -mutation CreateFlagging($contentId: ID!, $details: String, $kind: FlaggingKind!) { +mutation CreateFlagging($contentId: ID!, $details: String, $kind: NonDeprecatedFlaggingKind!) { createFlagging(input: { contentId: $contentId, details: $details, diff --git a/app/src/main/graphql/schema.json b/app/src/main/graphql/schema.json index 24ade9cf48..d66e452d1c 100644 --- a/app/src/main/graphql/schema.json +++ b/app/src/main/graphql/schema.json @@ -2249,11 +2249,6 @@ "name": "OrderAddress", "ofType": null }, - { - "kind": "OBJECT", - "name": "UniversalAddress", - "ofType": null - }, { "kind": "OBJECT", "name": "Survey", @@ -2737,6 +2732,18 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "endCondition", + "description": "For post-campaign enabled rewards, the conditions under which to stop offering the reward.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "endsAt", "description": "When the reward is scheduled to end in seconds", @@ -2789,6 +2796,22 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "inPostCampaignPledgingPhase", + "description": "Is this reward currently accepting post-campaign pledges?", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "isMaxPledge", "description": "Does reward amount meet or exceed maximum pledge for the project", @@ -2858,6 +2881,22 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "latePledgeAmount", + "description": "Amount for claiming this reward after the campaign.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Money", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "limit", "description": "A reward limit.", @@ -2933,6 +2972,22 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "pledgeAmount", + "description": "Amount for claiming this reward during the campaign.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Money", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "postCampaignPledgingEnabled", "description": "Is this reward available for post-campaign pledges?", @@ -3144,6 +3199,18 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "startCondition", + "description": "For post-campaign enabled rewards, the conditions under which to start offering the reward.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "startsAt", "description": "When the reward is scheduled to start", @@ -9298,6 +9365,22 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "primary", + "description": "Is this the user's primary address?", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "projectsWithUpdatableSurveyResponses", "description": "The title of projects with updatable survey responses", @@ -12013,12 +12096,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "mobile_project_collection_optimizations", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "ios_crashlytics", "description": null, @@ -12571,12 +12648,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "backing_details_2024", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "delay_backer_trust_module_2024", "description": null, @@ -32480,6 +32551,33 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "createOrUpdateBackingAddress", + "description": null, + "args": [ + { + "name": "input", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CreateOrUpdateBackingAddressInput", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "CreateOrUpdateBackingAddressPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "createOrUpdateItemTaxConfig", "description": "Sets tax related info for an item", @@ -32939,33 +33037,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "createUniversalAddress", - "description": "Creates an address.", - "args": [ - { - "name": "input", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CreateUniversalAddressInput", - "ofType": null - } - }, - "defaultValue": null - } - ], - "type": { - "kind": "OBJECT", - "name": "CreateUniversalAddressPayload", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "createUser", "description": "Creates a new registered user", @@ -33533,6 +33604,33 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "endLatePledges", + "description": "End late pledges for a Kickstarter project.", + "args": [ + { + "name": "input", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "EndLatePledgesInput", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "EndLatePledgesPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "followUser", "description": "Causes the current user to follow a specified user", @@ -36397,6 +36495,26 @@ }, "defaultValue": null }, + { + "name": "primary", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "backingId", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null + }, { "name": "clientMutationId", "description": "A unique identifier for the client performing the mutation.", @@ -36433,6 +36551,22 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "assignedToBacking", + "description": "Backing was associated with address", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "clientMutationId", "description": "A unique identifier for the client performing the mutation.", @@ -38130,7 +38264,7 @@ "name": null, "ofType": { "kind": "ENUM", - "name": "FlaggingKind", + "name": "NonDeprecatedFlaggingKind", "ofType": null } }, @@ -38161,6 +38295,323 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "ENUM", + "name": "NonDeprecatedFlaggingKind", + "description": "The bucket for a flagging (general reason). Does not included deprecated kinds.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "PROHIBITED_ITEMS", + "description": "prohibited-items", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "CHARITY", + "description": "charity", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RESALE", + "description": "resale", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FALSE_CLAIMS", + "description": "false-claims", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MISREP_SUPPORT", + "description": "misrep-support", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NOT_PROJECT", + "description": "not-project", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GUIDELINES_VIOLATION", + "description": "guidelines-violation", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "POST_FUNDING_ISSUES", + "description": "post-funding-issues", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SPAM", + "description": "spam", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VICES_DRUGS", + "description": "vices-drugs", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VICES_ALCOHOL", + "description": "vices-alcohol", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VICES_WEAPONS", + "description": "vices-weapons", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HEALTH_CLAIMS", + "description": "health-claims", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HEALTH_REGULATIONS", + "description": "health-regulations", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HEALTH_GMOS", + "description": "health-gmos", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HEALTH_LIVE_ANIMALS", + "description": "health-live-animals", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "HEALTH_ENERGY_FOOD_AND_DRINK", + "description": "health-energy-food-and-drink", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FINANCIAL_CONTESTS_COUPONS", + "description": "financial-contests-coupons", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FINANCIAL_SERVICES", + "description": "financial-services", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FINANCIAL_POLITICAL_DONATIONS", + "description": "financial-political-donations", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "OFFENSIVE_CONTENT_HATE", + "description": "offensive-content-hate", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "OFFENSIVE_CONTENT_PORN", + "description": "offensive-content-porn", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RESELLING", + "description": "reselling", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PLAGIARISM", + "description": "plagiarism", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PROTOTYPE_MISREPRESENTATION", + "description": "prototype-misrepresentation", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MISREP_SUPPORT_IMPERSONATION", + "description": "misrep-support-impersonation", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MISREP_SUPPORT_OUTSTANDING_FULFILLMENT", + "description": "misrep-support-outstanding-fulfillment", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MISREP_SUPPORT_SUSPICIOUS_PLEDGING", + "description": "misrep-support-suspicious-pledging", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MISREP_SUPPORT_OTHER", + "description": "misrep-support-other", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NOT_PROJECT_CHARITY", + "description": "not-project-charity", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NOT_PROJECT_STUNT_OR_HOAX", + "description": "not-project-stunt-or-hoax", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NOT_PROJECT_PERSONAL_EXPENSES", + "description": "not-project-personal-expenses", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NOT_PROJECT_BAREBONES", + "description": "not-project-barebones", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NOT_PROJECT_OTHER", + "description": "not-project-other", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GUIDELINES_SPAM", + "description": "guidelines-spam", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "GUIDELINES_ABUSE", + "description": "guidelines-abuse", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "POST_FUNDING_REWARD_NOT_AS_DESCRIBED", + "description": "post-funding-reward-not-as-described", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "POST_FUNDING_REWARD_DELAYED", + "description": "post-funding-reward-delayed", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "POST_FUNDING_SHIPPED_NEVER_RECEIVED", + "description": "post-funding-shipped-never-received", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "POST_FUNDING_CREATOR_SELLING_ELSEWHERE", + "description": "post-funding-creator-selling-elsewhere", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "POST_FUNDING_CREATOR_UNCOMMUNICATIVE", + "description": "post-funding-creator-uncommunicative", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "POST_FUNDING_CREATOR_INAPPROPRIATE", + "description": "post-funding-creator-inappropriate", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "POST_FUNDING_SUSPICIOUS_THIRD_PARTY", + "description": "post-funding-suspicious-third-party", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "COMMENT_ABUSE", + "description": "comment-abuse", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "COMMENT_DOXXING", + "description": "comment-doxxing", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "COMMENT_OFFTOPIC", + "description": "comment-offtopic", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "COMMENT_SPAM", + "description": "comment-spam", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BACKING_ABUSE", + "description": "backing-abuse", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BACKING_DOXXING", + "description": "backing-doxxing", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BACKING_FRAUD", + "description": "backing-fraud", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "BACKING_SPAM", + "description": "backing-spam", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, { "kind": "OBJECT", "name": "CreateFlaggingPayload", @@ -38428,6 +38879,94 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "INPUT_OBJECT", + "name": "CreateOrUpdateBackingAddressInput", + "description": "Autogenerated input type of CreateOrUpdateBackingAddress", + "fields": null, + "inputFields": [ + { + "name": "backingId", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "addressId", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "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": "CreateOrUpdateBackingAddressPayload", + "description": "Autogenerated return type of CreateOrUpdateBackingAddress", + "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": "success", + "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": "CreateOrUpdateItemTaxConfigInput", @@ -38880,6 +39419,16 @@ }, "defaultValue": null }, + { + "name": "paymentIntentContext", + "description": "Context in which this stripe intent is created", + "type": { + "kind": "ENUM", + "name": "StripeIntentContextTypes", + "ofType": null + }, + "defaultValue": null + }, { "name": "digitalMarketingAttributed", "description": "if the payment is attributed to digital marketing (default: false)", @@ -38905,6 +39454,41 @@ "enumValues": null, "possibleTypes": null }, + { + "kind": "ENUM", + "name": "StripeIntentContextTypes", + "description": "Different contexts for which stripe intents can be created", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "CROWDFUNDING_CHECKOUT", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "POST_CAMPAIGN_CHECKOUT", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PROJECT_BUILD", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PROFILE_SETTINGS", + "description": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, { "kind": "OBJECT", "name": "CreatePaymentIntentPayload", @@ -39968,6 +40552,16 @@ }, "defaultValue": null }, + { + "name": "latePledgeAmount", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, { "name": "limit", "description": null, @@ -40100,6 +40694,26 @@ }, "defaultValue": null }, + { + "name": "startCondition", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "endCondition", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, { "name": "clientMutationId", "description": "A unique identifier for the client performing the mutation.", @@ -40463,6 +41077,16 @@ "description": "Autogenerated input type of CreateSetupIntent", "fields": null, "inputFields": [ + { + "name": "setupIntentContext", + "description": "Context in which this stripe intent is created", + "type": { + "kind": "ENUM", + "name": "StripeIntentContextTypes", + "ofType": null + }, + "defaultValue": null + }, { "name": "projectId", "description": null, @@ -40709,32 +41333,40 @@ }, { "kind": "INPUT_OBJECT", - "name": "CreateUniversalAddressInput", - "description": "Autogenerated input type of CreateUniversalAddress", + "name": "CreateUserInput", + "description": "Autogenerated input type of CreateUser", "fields": null, "inputFields": [ { - "name": "contactName", + "name": "name", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, { - "name": "referenceName", + "name": "email", "description": null, "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "defaultValue": null }, { - "name": "addressLine1", + "name": "emailConfirmation", "description": null, "type": { "kind": "NON_NULL", @@ -40748,17 +41380,27 @@ "defaultValue": null }, { - "name": "addressLine2", - "description": null, + "name": "optIntoNewsletters", + "description": "If the user agrees to opt into weekly newsletters", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null }, - "defaultValue": null + "defaultValue": "false" }, { - "name": "city", + "name": "optIntoUserResearch", + "description": "If the user agrees to opt into receiving surveys for user research", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "false" + }, + { + "name": "password", "description": null, "type": { "kind": "NON_NULL", @@ -40772,7 +41414,17 @@ "defaultValue": null }, { - "name": "region", + "name": "projectPid", + "description": "Supply if creating an account via backing flow -- used for tracking purposes", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "recaptchaV2Token", "description": null, "type": { "kind": "SCALAR", @@ -40782,7 +41434,27 @@ "defaultValue": null }, { - "name": "postalCode", + "name": "recaptchaV3Token", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "checkoutId", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "n", "description": null, "type": { "kind": "NON_NULL", @@ -40796,27 +41468,143 @@ "defaultValue": null }, { - "name": "countryCode", + "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": "CreateUserPayload", + "description": "Autogenerated return type of CreateUser", + "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": "user", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "User", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "CreateUserSlugInput", + "description": "Autogenerated input type of CreateUserSlug", + "fields": null, + "inputFields": [ + { + "name": "slug", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "CountryCode", + "kind": "SCALAR", + "name": "String", "ofType": null } }, "defaultValue": null }, { - "name": "phoneNumber", - "description": 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": "CreateUserSlugPayload", + "description": "Autogenerated return type of CreateUserSlug", + "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": "user", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "User", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "CreateUserUrlsInput", + "description": "Autogenerated input type of CreateUserUrls", + "fields": null, + "inputFields": [ + { + "name": "url", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, "defaultValue": null }, { @@ -40836,32 +41624,28 @@ }, { "kind": "OBJECT", - "name": "CreateUniversalAddressPayload", - "description": "Autogenerated return type of CreateUniversalAddress", + "name": "CreateUserUrlsPayload", + "description": "Autogenerated return type of CreateUserUrls", "fields": [ { - "name": "address", - "description": "Address that was created", + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "UniversalAddress", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", + "name": "user", + "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "User", "ofType": null }, "isDeprecated": false, @@ -40874,125 +41658,62 @@ "possibleTypes": null }, { - "kind": "OBJECT", - "name": "UniversalAddress", - "description": "An address associated with a backer or creator", - "fields": [ + "kind": "INPUT_OBJECT", + "name": "CreateVideoTrackInput", + "description": "Autogenerated input type of CreateVideoTrack", + "fields": null, + "inputFields": [ { - "name": "addressLine1", - "description": "The first address line", - "args": [], + "name": "videoId", + "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "addressLine2", - "description": "The second address line", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "city", - "description": "The address city", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "contactName", - "description": "The contact name of the backer or creator", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "countryCode", - "description": "The address two-digit country code, e.g. US", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "CountryCode", + "name": "ID", "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "id", + "name": "languageCode", "description": null, - "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "ID", + "kind": "ENUM", + "name": "CaptionLanguageCode", "ofType": null } }, - "isDeprecated": false, - "deprecationReason": null + "defaultValue": null }, { - "name": "phoneNumber", - "description": "The address contact's phone number", - "args": [], + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "postalCode", - "description": "The address postal code", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, + "defaultValue": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "CreateVideoTrackPayload", + "description": "Autogenerated return type of CreateVideoTrack", + "fields": [ { - "name": "referenceName", - "description": "A descriptor for the address, e.g. Home or Miami Warehouse", + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.", "args": [], "type": { "kind": "SCALAR", @@ -41003,12 +41724,12 @@ "deprecationReason": null }, { - "name": "region", - "description": "The address region, e.g. North Dakota", + "name": "videoTrack", + "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "VideoTrack", "ofType": null }, "isDeprecated": false, @@ -41016,147 +41737,25 @@ } ], "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - } - ], + "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "CreateUserInput", - "description": "Autogenerated input type of CreateUser", + "name": "DeactivateProjectPrelaunchInput", + "description": "Autogenerated input type of DeactivateProjectPrelaunch", "fields": null, "inputFields": [ { - "name": "name", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "email", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "emailConfirmation", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "optIntoNewsletters", - "description": "If the user agrees to opt into weekly newsletters", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false" - }, - { - "name": "optIntoUserResearch", - "description": "If the user agrees to opt into receiving surveys for user research", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - }, - "defaultValue": "false" - }, - { - "name": "password", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "projectPid", - "description": "Supply if creating an account via backing flow -- used for tracking purposes", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "recaptchaV2Token", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "recaptchaV3Token", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "checkoutId", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, - { - "name": "n", + "name": "id", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null } }, @@ -41179,8 +41778,8 @@ }, { "kind": "OBJECT", - "name": "CreateUserPayload", - "description": "Autogenerated return type of CreateUser", + "name": "DeactivateProjectPrelaunchPayload", + "description": "Autogenerated return type of DeactivateProjectPrelaunch", "fields": [ { "name": "clientMutationId", @@ -41195,12 +41794,12 @@ "deprecationReason": null }, { - "name": "user", + "name": "project", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "User", + "name": "Project", "ofType": null }, "isDeprecated": false, @@ -41214,19 +41813,33 @@ }, { "kind": "INPUT_OBJECT", - "name": "CreateUserSlugInput", - "description": "Autogenerated input type of CreateUserSlug", + "name": "DeactivateProjectCollaboratorInput", + "description": "Autogenerated input type of DeactivateProjectCollaborator", "fields": null, "inputFields": [ { - "name": "slug", - "description": null, + "name": "projectId", + "description": "The project id", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null + }, + { + "name": "userId", + "description": "The collaborator's user id", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", "ofType": null } }, @@ -41249,8 +41862,8 @@ }, { "kind": "OBJECT", - "name": "CreateUserSlugPayload", - "description": "Autogenerated return type of CreateUserSlug", + "name": "DeactivateProjectCollaboratorPayload", + "description": "Autogenerated return type of DeactivateProjectCollaborator", "fields": [ { "name": "clientMutationId", @@ -41265,13 +41878,17 @@ "deprecationReason": null }, { - "name": "user", + "name": "project", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "User", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Project", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null @@ -41284,19 +41901,19 @@ }, { "kind": "INPUT_OBJECT", - "name": "CreateUserUrlsInput", - "description": "Autogenerated input type of CreateUserUrls", + "name": "DeleteAddressInput", + "description": "Autogenerated input type of DeleteAddress", "fields": null, "inputFields": [ { - "name": "url", + "name": "fulfillmentAddressId", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null } }, @@ -41319,8 +41936,8 @@ }, { "kind": "OBJECT", - "name": "CreateUserUrlsPayload", - "description": "Autogenerated return type of CreateUserUrls", + "name": "DeleteAddressPayload", + "description": "Autogenerated return type of DeleteAddress", "fields": [ { "name": "clientMutationId", @@ -41335,13 +41952,17 @@ "deprecationReason": null }, { - "name": "user", - "description": null, + "name": "success", + "description": "Success if address was deleted successfully", "args": [], "type": { - "kind": "OBJECT", - "name": "User", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null @@ -41354,12 +41975,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "CreateVideoTrackInput", - "description": "Autogenerated input type of CreateVideoTrack", + "name": "DeleteAssetInput", + "description": "Autogenerated input type of DeleteAsset", "fields": null, "inputFields": [ { - "name": "videoId", + "name": "attachable_id", "description": null, "type": { "kind": "NON_NULL", @@ -41373,14 +41994,14 @@ "defaultValue": null }, { - "name": "languageCode", + "name": "asset_id", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "CaptionLanguageCode", + "kind": "SCALAR", + "name": "ID", "ofType": null } }, @@ -41403,9 +42024,25 @@ }, { "kind": "OBJECT", - "name": "CreateVideoTrackPayload", - "description": "Autogenerated return type of CreateVideoTrack", + "name": "DeleteAssetPayload", + "description": "Autogenerated return type of DeleteAsset", "fields": [ + { + "name": "attachable", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "UNION", + "name": "Attachable", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "clientMutationId", "description": "A unique identifier for the client performing the mutation.", @@ -41417,33 +42054,85 @@ }, "isDeprecated": false, "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "UNION", + "name": "Attachable", + "description": "An object that can be associated with uploaded assets", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": [ + { + "kind": "OBJECT", + "name": "Project", + "ofType": null }, { - "name": "videoTrack", + "kind": "OBJECT", + "name": "FreeformPost", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "InterviewAnswer", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "Survey", + "ofType": null + } + ] + }, + { + "kind": "OBJECT", + "name": "Survey", + "description": "A survey", + "fields": [ + { + "name": "id", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "VideoTrack", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Node", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "DeactivateProjectPrelaunchInput", - "description": "Autogenerated input type of DeactivateProjectPrelaunch", + "name": "DeleteBusinessAddressInput", + "description": "Autogenerated input type of DeleteBusinessAddress", "fields": null, "inputFields": [ { - "name": "id", + "name": "addressId", "description": null, "type": { "kind": "NON_NULL", @@ -41456,6 +42145,20 @@ }, "defaultValue": null }, + { + "name": "projectId", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null + }, { "name": "clientMutationId", "description": "A unique identifier for the client performing the mutation.", @@ -41473,8 +42176,8 @@ }, { "kind": "OBJECT", - "name": "DeactivateProjectPrelaunchPayload", - "description": "Autogenerated return type of DeactivateProjectPrelaunch", + "name": "DeleteBusinessAddressPayload", + "description": "Autogenerated return type of DeleteBusinessAddress", "fields": [ { "name": "clientMutationId", @@ -41489,12 +42192,12 @@ "deprecationReason": null }, { - "name": "project", - "description": null, + "name": "success", + "description": "Succeeds if address is deleted.", "args": [], "type": { - "kind": "OBJECT", - "name": "Project", + "kind": "SCALAR", + "name": "Boolean", "ofType": null }, "isDeprecated": false, @@ -41508,27 +42211,13 @@ }, { "kind": "INPUT_OBJECT", - "name": "DeactivateProjectCollaboratorInput", - "description": "Autogenerated input type of DeactivateProjectCollaborator", + "name": "DeleteCommentInput", + "description": "Autogenerated input type of DeleteComment", "fields": null, "inputFields": [ { - "name": "projectId", - "description": "The project id", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "userId", - "description": "The collaborator's user id", + "name": "id", + "description": "The comment ID", "type": { "kind": "NON_NULL", "name": null, @@ -41557,8 +42246,8 @@ }, { "kind": "OBJECT", - "name": "DeactivateProjectCollaboratorPayload", - "description": "Autogenerated return type of DeactivateProjectCollaborator", + "name": "DeleteCommentPayload", + "description": "Autogenerated return type of DeleteComment", "fields": [ { "name": "clientMutationId", @@ -41573,17 +42262,13 @@ "deprecationReason": null }, { - "name": "project", + "name": "commentable", "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Project", - "ofType": null - } + "kind": "OBJECT", + "name": "Project", + "ofType": null }, "isDeprecated": false, "deprecationReason": null @@ -41596,12 +42281,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "DeleteAddressInput", - "description": "Autogenerated input type of DeleteAddress", + "name": "DeleteNexusInput", + "description": "Autogenerated input type of DeleteNexus", "fields": null, "inputFields": [ { - "name": "fulfillmentAddressId", + "name": "nexusId", "description": null, "type": { "kind": "NON_NULL", @@ -41631,8 +42316,8 @@ }, { "kind": "OBJECT", - "name": "DeleteAddressPayload", - "description": "Autogenerated return type of DeleteAddress", + "name": "DeleteNexusPayload", + "description": "Autogenerated return type of DeleteNexus", "fields": [ { "name": "clientMutationId", @@ -41648,16 +42333,12 @@ }, { "name": "success", - "description": "Success if address was deleted successfully", + "description": "Succeeds if nexus is deleted.", "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null }, "isDeprecated": false, "deprecationReason": null @@ -41670,26 +42351,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "DeleteAssetInput", - "description": "Autogenerated input type of DeleteAsset", + "name": "DeletePostInput", + "description": "Autogenerated input type of DeletePost", "fields": null, "inputFields": [ { - "name": "attachable_id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null - }, - { - "name": "asset_id", + "name": "id", "description": null, "type": { "kind": "NON_NULL", @@ -41719,25 +42386,9 @@ }, { "kind": "OBJECT", - "name": "DeleteAssetPayload", - "description": "Autogenerated return type of DeleteAsset", + "name": "DeletePostPayload", + "description": "Autogenerated return type of DeletePost", "fields": [ - { - "name": "attachable", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "UNION", - "name": "Attachable", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "clientMutationId", "description": "A unique identifier for the client performing the mutation.", @@ -41749,85 +42400,33 @@ }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "UNION", - "name": "Attachable", - "description": "An object that can be associated with uploaded assets", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": [ - { - "kind": "OBJECT", - "name": "Project", - "ofType": null }, { - "kind": "OBJECT", - "name": "FreeformPost", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "InterviewAnswer", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "Survey", - "ofType": null - } - ] - }, - { - "kind": "OBJECT", - "name": "Survey", - "description": "A survey", - "fields": [ - { - "name": "id", + "name": "post", "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } + "kind": "INTERFACE", + "name": "Postable", + "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Node", - "ofType": null - } - ], + "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "DeleteBusinessAddressInput", - "description": "Autogenerated input type of DeleteBusinessAddress", + "name": "DeleteProjectInput", + "description": "Autogenerated input type of DeleteProject", "fields": null, "inputFields": [ { - "name": "addressId", + "name": "id", "description": null, "type": { "kind": "NON_NULL", @@ -41841,7 +42440,7 @@ "defaultValue": null }, { - "name": "projectId", + "name": "password", "description": null, "type": { "kind": "NON_NULL", @@ -41871,8 +42470,8 @@ }, { "kind": "OBJECT", - "name": "DeleteBusinessAddressPayload", - "description": "Autogenerated return type of DeleteBusinessAddress", + "name": "DeleteProjectPayload", + "description": "Autogenerated return type of DeleteProject", "fields": [ { "name": "clientMutationId", @@ -41887,12 +42486,12 @@ "deprecationReason": null }, { - "name": "success", - "description": "Succeeds if address is deleted.", + "name": "creator", + "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "OBJECT", + "name": "User", "ofType": null }, "isDeprecated": false, @@ -41906,8 +42505,8 @@ }, { "kind": "INPUT_OBJECT", - "name": "DeleteCommentInput", - "description": "Autogenerated input type of DeleteComment", + "name": "DeleteProjectCommentInput", + "description": "Autogenerated input type of DeleteProjectComment", "fields": null, "inputFields": [ { @@ -41941,8 +42540,8 @@ }, { "kind": "OBJECT", - "name": "DeleteCommentPayload", - "description": "Autogenerated return type of DeleteComment", + "name": "DeleteProjectCommentPayload", + "description": "Autogenerated return type of DeleteProjectComment", "fields": [ { "name": "clientMutationId", @@ -41957,7 +42556,7 @@ "deprecationReason": null }, { - "name": "commentable", + "name": "project", "description": null, "args": [], "type": { @@ -41976,12 +42575,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "DeleteNexusInput", - "description": "Autogenerated input type of DeleteNexus", + "name": "DeleteProjectImageInput", + "description": "Autogenerated input type of DeleteProjectImage", "fields": null, "inputFields": [ { - "name": "nexusId", + "name": "id", "description": null, "type": { "kind": "NON_NULL", @@ -42011,8 +42610,8 @@ }, { "kind": "OBJECT", - "name": "DeleteNexusPayload", - "description": "Autogenerated return type of DeleteNexus", + "name": "DeleteProjectImagePayload", + "description": "Autogenerated return type of DeleteProjectImage", "fields": [ { "name": "clientMutationId", @@ -42027,12 +42626,12 @@ "deprecationReason": null }, { - "name": "success", - "description": "Succeeds if nexus is deleted.", + "name": "project", + "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "OBJECT", + "name": "Project", "ofType": null }, "isDeprecated": false, @@ -42046,13 +42645,13 @@ }, { "kind": "INPUT_OBJECT", - "name": "DeletePostInput", - "description": "Autogenerated input type of DeletePost", + "name": "DeleteProjectVideoInput", + "description": "Autogenerated input type of DeleteProjectVideo", "fields": null, "inputFields": [ { "name": "id", - "description": null, + "description": "The project ID", "type": { "kind": "NON_NULL", "name": null, @@ -42081,8 +42680,8 @@ }, { "kind": "OBJECT", - "name": "DeletePostPayload", - "description": "Autogenerated return type of DeletePost", + "name": "DeleteProjectVideoPayload", + "description": "Autogenerated return type of DeleteProjectVideo", "fields": [ { "name": "clientMutationId", @@ -42097,12 +42696,12 @@ "deprecationReason": null }, { - "name": "post", + "name": "project", "description": null, "args": [], "type": { - "kind": "INTERFACE", - "name": "Postable", + "kind": "OBJECT", + "name": "Project", "ofType": null }, "isDeprecated": false, @@ -42116,13 +42715,13 @@ }, { "kind": "INPUT_OBJECT", - "name": "DeleteProjectInput", - "description": "Autogenerated input type of DeleteProject", + "name": "DeleteRewardInput", + "description": "Autogenerated input type of DeleteReward", "fields": null, "inputFields": [ { "name": "id", - "description": null, + "description": "The reward ID", "type": { "kind": "NON_NULL", "name": null, @@ -42134,20 +42733,6 @@ }, "defaultValue": null }, - { - "name": "password", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null - }, { "name": "clientMutationId", "description": "A unique identifier for the client performing the mutation.", @@ -42165,8 +42750,8 @@ }, { "kind": "OBJECT", - "name": "DeleteProjectPayload", - "description": "Autogenerated return type of DeleteProject", + "name": "DeleteRewardPayload", + "description": "Autogenerated return type of DeleteReward", "fields": [ { "name": "clientMutationId", @@ -42181,12 +42766,12 @@ "deprecationReason": null }, { - "name": "creator", + "name": "project", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "User", + "name": "Project", "ofType": null }, "isDeprecated": false, @@ -42200,13 +42785,13 @@ }, { "kind": "INPUT_OBJECT", - "name": "DeleteProjectCommentInput", - "description": "Autogenerated input type of DeleteProjectComment", + "name": "DeleteRewardItemInput", + "description": "Autogenerated input type of DeleteRewardItem", "fields": null, "inputFields": [ { "name": "id", - "description": "The comment ID", + "description": "The reward item ID", "type": { "kind": "NON_NULL", "name": null, @@ -42235,8 +42820,8 @@ }, { "kind": "OBJECT", - "name": "DeleteProjectCommentPayload", - "description": "Autogenerated return type of DeleteProjectComment", + "name": "DeleteRewardItemPayload", + "description": "Autogenerated return type of DeleteRewardItem", "fields": [ { "name": "clientMutationId", @@ -42270,12 +42855,12 @@ }, { "kind": "INPUT_OBJECT", - "name": "DeleteProjectImageInput", - "description": "Autogenerated input type of DeleteProjectImage", + "name": "DeleteUserUrlsInput", + "description": "Autogenerated input type of DeleteUserUrls", "fields": null, "inputFields": [ { - "name": "id", + "name": "urlId", "description": null, "type": { "kind": "NON_NULL", @@ -42305,8 +42890,8 @@ }, { "kind": "OBJECT", - "name": "DeleteProjectImagePayload", - "description": "Autogenerated return type of DeleteProjectImage", + "name": "DeleteUserUrlsPayload", + "description": "Autogenerated return type of DeleteUserUrls", "fields": [ { "name": "clientMutationId", @@ -42321,12 +42906,12 @@ "deprecationReason": null }, { - "name": "project", + "name": "user", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "Project", + "name": "User", "ofType": null }, "isDeprecated": false, @@ -42340,13 +42925,13 @@ }, { "kind": "INPUT_OBJECT", - "name": "DeleteProjectVideoInput", - "description": "Autogenerated input type of DeleteProjectVideo", + "name": "DeleteVideoTrackInput", + "description": "Autogenerated input type of DeleteVideoTrack", "fields": null, "inputFields": [ { "name": "id", - "description": "The project ID", + "description": null, "type": { "kind": "NON_NULL", "name": null, @@ -42375,8 +42960,8 @@ }, { "kind": "OBJECT", - "name": "DeleteProjectVideoPayload", - "description": "Autogenerated return type of DeleteProjectVideo", + "name": "DeleteVideoTrackPayload", + "description": "Autogenerated return type of DeleteVideoTrack", "fields": [ { "name": "clientMutationId", @@ -42391,12 +42976,12 @@ "deprecationReason": null }, { - "name": "project", + "name": "video", "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "Project", + "name": "Video", "ofType": null }, "isDeprecated": false, @@ -42410,13 +42995,13 @@ }, { "kind": "INPUT_OBJECT", - "name": "DeleteRewardInput", - "description": "Autogenerated input type of DeleteReward", + "name": "DislikeProjectInput", + "description": "Autogenerated input type of DislikeProject", "fields": null, "inputFields": [ { "name": "id", - "description": "The reward ID", + "description": "The id of the project that the user has disliked", "type": { "kind": "NON_NULL", "name": null, @@ -42429,74 +43014,14 @@ "defaultValue": null }, { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", + "name": "trackingContext", + "description": "The context or page that the user disliked this project from. Used for tracking", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "DeleteRewardPayload", - "description": "Autogenerated return type of DeleteReward", - "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": "project", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "Project", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "DeleteRewardItemInput", - "description": "Autogenerated input type of DeleteRewardItem", - "fields": null, - "inputFields": [ - { - "name": "id", - "description": "The reward item ID", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null - } - }, - "defaultValue": null }, { "name": "clientMutationId", @@ -42515,8 +43040,8 @@ }, { "kind": "OBJECT", - "name": "DeleteRewardItemPayload", - "description": "Autogenerated return type of DeleteRewardItem", + "name": "DislikeProjectPayload", + "description": "Autogenerated return type of DislikeProject", "fields": [ { "name": "clientMutationId", @@ -42541,64 +43066,6 @@ }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "DeleteUserUrlsInput", - "description": "Autogenerated input type of DeleteUserUrls", - "fields": null, - "inputFields": [ - { - "name": "urlId", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "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": "DeleteUserUrlsPayload", - "description": "Autogenerated return type of DeleteUserUrls", - "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": "user", @@ -42620,83 +43087,13 @@ }, { "kind": "INPUT_OBJECT", - "name": "DeleteVideoTrackInput", - "description": "Autogenerated input type of DeleteVideoTrack", + "name": "EndLatePledgesInput", + "description": "Autogenerated input type of EndLatePledges", "fields": null, "inputFields": [ { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "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": "DeleteVideoTrackPayload", - "description": "Autogenerated return type of DeleteVideoTrack", - "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": "video", + "name": "projectId", "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "Video", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "DislikeProjectInput", - "description": "Autogenerated input type of DislikeProject", - "fields": null, - "inputFields": [ - { - "name": "id", - "description": "The id of the project that the user has disliked", "type": { "kind": "NON_NULL", "name": null, @@ -42708,16 +43105,6 @@ }, "defaultValue": null }, - { - "name": "trackingContext", - "description": "The context or page that the user disliked this project from. Used for tracking", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null - }, { "name": "clientMutationId", "description": "A unique identifier for the client performing the mutation.", @@ -42735,8 +43122,8 @@ }, { "kind": "OBJECT", - "name": "DislikeProjectPayload", - "description": "Autogenerated return type of DislikeProject", + "name": "EndLatePledgesPayload", + "description": "Autogenerated return type of EndLatePledges", "fields": [ { "name": "clientMutationId", @@ -42761,18 +43148,6 @@ }, "isDeprecated": false, "deprecationReason": null - }, - { - "name": "user", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "User", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null } ], "inputFields": null, @@ -48818,6 +49193,16 @@ }, "defaultValue": null }, + { + "name": "latePledgeAmount", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, { "name": "image", "description": null, @@ -48956,6 +49341,26 @@ }, "defaultValue": null }, + { + "name": "startCondition", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, + { + "name": "endCondition", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null + }, { "name": "clientMutationId", "description": "A unique identifier for the client performing the mutation.", diff --git a/app/src/main/java/com/kickstarter/services/KSApolloClientV2.kt b/app/src/main/java/com/kickstarter/services/KSApolloClientV2.kt index 8ce058c80c..552218e4bc 100644 --- a/app/src/main/java/com/kickstarter/services/KSApolloClientV2.kt +++ b/app/src/main/java/com/kickstarter/services/KSApolloClientV2.kt @@ -90,7 +90,7 @@ import io.reactivex.schedulers.Schedulers import io.reactivex.subjects.PublishSubject import type.BackingState import type.CurrencyCode -import type.FlaggingKind +import type.NonDeprecatedFlaggingKind import type.PaymentTypes interface ApolloClientTypeV2 { @@ -362,7 +362,7 @@ class KSApolloClientV2(val service: ApolloClient, val gson: Gson) : ApolloClient return Observable.defer { project?.let { val ps = PublishSubject.create() - val flagging = FlaggingKind.safeValueOf(flaggingKind) + val flagging = NonDeprecatedFlaggingKind.safeValueOf(flaggingKind) val mutation = CreateFlaggingMutation.builder() .contentId(encodeRelayId(it)) .details(details)