OBJECT
Mutation
link GraphQL Schema definition
1 type Mutation { 2 3 # Deletes the interview template with the given ID. 4 (: ID!): ID! 5 6 # Creates an interview template. 7 ( 8 : CreateInterviewTemplateInput! 9 ): InterviewTemplate 10 11 # Edit the interview template with the given ID. 12 ( 13 : ID!, 14 : EditInterviewTemplateInput! 15 ): InterviewTemplate 16 17 # [*Internal use only*] 18 # Update the company's lockdown framework config 19 ( 20 : ID!, 21 : Boolean! 22 ): Company! 23 24 # [*Internal use only*] 25 # Edits a company's service plans and custom features. 26 ( 27 : ID!, 28 : CompanyPlanSettingsInput! 29 ): Company 30 31 # [*Internal use only*] 32 # Appends a verification note to the test session. 33 ( 34 : ID!, 35 : String! 36 ): CompanyTestSession! 37 38 ( 39 : TestSessionInput! 40 ): CompanyTestSession 41 42 ( 43 : ID!, 44 : Boolean 45 ): ID! 46 47 # Arguments 48 # customDuration: Duration of the test for this test session, in 49 # milliseconds. 50 ( 51 : ID!, 52 : Float! 53 ): CompanyTestSession! 54 55 # Arguments 56 # expirationDate: When the invitation will expire if the session 57 # does not begin. Cannot be used to shorten expiration, only to extend. 58 ( 59 : ID!, 60 : Timestamp! 61 ): CompanyTestSession! 62 63 ( 64 : ID!, 65 : [EmailReminder!]! 66 ): CompanyTestSession! 67 68 (: ID!): CompanyTestSession! 69 70 ( 71 : ID!, 72 : Boolean 73 ): CompanyTestSession! 74 75 (: ID!, : ID!, : Int!): CompanyTestSession! 76 77 (: ID!): CompanyTestSession! 78 79 (: ID!): CompanyTestSession! 80 81 (: ID!): CompanyTestSession! 82 83 # [*Internal use only*] 84 # Creates or updates a role with the given key. 85 (: ID!, : String!, : [String!]!): Role! 86 87 # Creates a new company-specific role. 88 # When companyId is not provided, it is inferred using authorization information. 89 ( 90 : String!, 91 : [String!]!, 92 : ID 93 ): Role! 94 95 # Updates a company-specific role with the given key. 96 # The companyId field is deprecated and is left for backwards compatibility only. 97 # It is not used when performing the mutation. 98 (: ID!, : String!, : [String!]!): Role! 99 100 # Deletes the role with the given key. 101 (: ID!): ID! 102 103 # Creates a company test. 104 (: CreateCompanyTestInput!): CompanyTest 105 106 # Edits a company test with the given ID. 107 (: ID!, : EditCompanyTestInput!): CompanyTest 108 109 # Duplicates an existing company test, optionally overriding specific fields. 110 # 111 # The duplicated test will copy all configuration from the source test and apply 112 # any field overrides specified in testFields. If title is not provided in 113 # testFields, 114 # it will default to the source test's title with " - duplicate" appended. The 115 # operation 116 # will fail if a test with the same title already exists in the company. 117 # 118 # Arguments 119 # id: The ID of the company test to duplicate 120 # testFields: Modifications to apply during duplication. 121 # If a new title is not provided, it defaults to the source test title with " - 122 # duplicate" appended. 123 ( 124 : ID!, 125 : EditCompanyTestInput! 126 ): CompanyTest 127 128 # Creates a live interview. 129 (: LiveInterviewInput): LiveInterview 130 131 # Edit a live interview with a given ID. 132 (: ID!, : LiveInterviewInput!): LiveInterview 133 134 # Delete a live interview with a given ID. 135 (: ID!): ID! 136 137 # [*Internal use only*] 138 # Assign question to specific sets. 139 # 140 # - Cost complexity: 3 141 # - Rate limit: 10 requests / second 142 (: EditTaskSetsInput!): CommonTask 143 144 # [*Internal use only*] 145 # Remove question from specific sets. 146 # 147 # - Cost complexity: 3 148 # - Rate limit: 10 requests / second 149 (: EditTaskSetsInput!): CommonTask 150 151 # Set customized initial source code that will be presented when solving the 152 # question. 153 # Returns the modified question. 154 ( 155 : ID!, 156 : LanguageName!, 157 : String! 158 ): SingleEnvironmentTask 159 160 # Reset the initial source code of the question to the default value for the given 161 # language. 162 # Returns the modified question. 163 (: ID!, : LanguageName!): SingleEnvironmentTask 164 165 # Creates a code review question without any test case or validation. 166 ( 167 : CreateCodeReviewTaskInput!, 168 : CreateTaskOptionsInput 169 ): CodeReviewTask 170 171 # Edits a code review question with the given ID. 172 ( 173 : ID!, 174 : EditCodeReviewTaskInput! 175 ): CodeReviewTask 176 177 # Creates a database question with test cases 178 ( 179 : CreateDatabaseTaskInput!, 180 : CreateTaskOptionsInput 181 ): DatabaseTask 182 183 # Edits a database question with the given ID. 184 (: ID!, : EditDatabaseTaskInput!): DatabaseTask 185 186 # Creates a free coding question without any test case or validation. 187 ( 188 : CreateFreeCodingTaskInput!, 189 : CreateTaskOptionsInput 190 ): SingleEnvironmentTask 191 192 # Edits a free coding question with the given ID. 193 (: ID!, : EditStandardTaskInput!): SingleEnvironmentTask 194 195 # Update one or more front-end question parameters by the question ID 196 (: ID!, : UpdateFrontendTaskInput!): SingleEnvironmentTask 197 198 # Creates a quiz question with one or more correct options. 199 ( 200 : CreateQuizInput!, 201 : CreateTaskOptionsInput 202 ): SingleEnvironmentTask 203 204 # Edits a quiz question with the given ID. 205 (: ID!, : EditQuizInput!): SingleEnvironmentTask 206 207 # Creates a question with a function as an entry point that receives input and 208 # returns the output. 209 ( 210 : CreateStandardTaskInput!, 211 : CreateTaskOptionsInput 212 ): SingleEnvironmentTask 213 214 # Edits a standard question with the given ID. 215 (: ID!, : EditStandardTaskInput!): SingleEnvironmentTask 216 217 }
link Required by
This element is not required by anyone