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 # Creates a company test from a certified assessment. 107 # 108 # The test will use the certified assessment's configuration for duration, tasks, 109 # and 110 # other settings controlled by the certified assessment. Other settings like 111 # title, emails, and labels 112 # can be customized through the input fields. 113 # 114 # Arguments 115 # testFields: The test configuration including certified 116 # assessment ID and customizable fields. 117 ( 118 : CreateCompanyTestFromFrameworkInput! 119 ): CompanyTest 120 121 # Edits a company test with the given ID. 122 (: ID!, : EditCompanyTestInput!): CompanyTest 123 124 # Duplicates an existing company test, optionally overriding specific fields. 125 # 126 # The duplicated test will copy all configuration from the source test and apply 127 # any field overrides specified in testFields. If title is not provided in 128 # testFields, 129 # an auto-resolved unique title based on the source test's title will be used 130 # (e.g., "My Test (1)", "My Test (2)"). 131 # 132 # Arguments 133 # id: The ID of the company test to duplicate 134 # testFields: Modifications to apply during duplication. 135 # If a new title is not provided, an auto-resolved unique title based on the 136 # source 137 # test's title will be used. 138 ( 139 : ID!, 140 : EditCompanyTestInput! 141 ): CompanyTest 142 143 # Creates a live interview. 144 (: LiveInterviewInput): LiveInterview 145 146 # Edit a live interview with a given ID. 147 (: ID!, : LiveInterviewInput!): LiveInterview 148 149 # Delete a live interview with a given ID. 150 (: ID!): ID! 151 152 # [*Internal use only*] 153 # Assign question to specific sets. 154 # 155 # - Cost complexity: 3 156 # - Rate limit: 10 requests / second 157 (: EditTaskSetsInput!): CommonTask 158 159 # [*Internal use only*] 160 # Remove question from specific sets. 161 # 162 # - Cost complexity: 3 163 # - Rate limit: 10 requests / second 164 (: EditTaskSetsInput!): CommonTask 165 166 # Set customized initial source code that will be presented when solving the 167 # question. 168 # Returns the modified question. 169 ( 170 : ID!, 171 : LanguageName!, 172 : String! 173 ): SingleEnvironmentTask 174 175 # Reset the initial source code of the question to the default value for the given 176 # language. 177 # Returns the modified question. 178 (: ID!, : LanguageName!): SingleEnvironmentTask 179 180 # Creates a code review question without any test case or validation. 181 ( 182 : CreateCodeReviewTaskInput!, 183 : CreateTaskOptionsInput 184 ): CodeReviewTask 185 186 # Edits a code review question with the given ID. 187 ( 188 : ID!, 189 : EditCodeReviewTaskInput! 190 ): CodeReviewTask 191 192 # Creates a database question with test cases 193 ( 194 : CreateDatabaseTaskInput!, 195 : CreateTaskOptionsInput 196 ): DatabaseTask 197 198 # Edits a database question with the given ID. 199 (: ID!, : EditDatabaseTaskInput!): DatabaseTask 200 201 # Creates a free coding question without any test case or validation. 202 ( 203 : CreateFreeCodingTaskInput!, 204 : CreateTaskOptionsInput 205 ): SingleEnvironmentTask 206 207 # Edits a free coding question with the given ID. 208 (: ID!, : EditStandardTaskInput!): SingleEnvironmentTask 209 210 # Update one or more front-end question parameters by the question ID 211 (: ID!, : UpdateFrontendTaskInput!): SingleEnvironmentTask 212 213 # Creates a quiz question with one or more correct options. 214 ( 215 : CreateQuizInput!, 216 : CreateTaskOptionsInput 217 ): SingleEnvironmentTask 218 219 # Edits a quiz question with the given ID. 220 (: ID!, : EditQuizInput!): SingleEnvironmentTask 221 222 # Creates a question with a function as an entry point that receives input and 223 # returns the output. 224 ( 225 : CreateStandardTaskInput!, 226 : CreateTaskOptionsInput 227 ): SingleEnvironmentTask 228 229 # Edits a standard question with the given ID. 230 (: ID!, : EditStandardTaskInput!): SingleEnvironmentTask 231 232 }
link Required by
This element is not required by anyone