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