File tree Expand file tree Collapse file tree
packages/dashboard-client Expand file tree Collapse file tree Original file line number Diff line number Diff line change 239239 "optionalRequestBody" : false ,
240240 "requestStructure" : {
241241 "type" : " account" ,
242- "attributes" : [" token" ],
242+ "attributes" : [" token" , " account_id " ],
243243 "relationships" : []
244244 },
245245 "queryParamsRequired" : false ,
Original file line number Diff line number Diff line change @@ -872,6 +872,9 @@ export type TfaDeactivateRequestInstancesTargetSchema = TfaDeactivateRequest[];
872872 * This interface was referenced by `Account`'s JSON-Schema
873873 * via the `activate_2fa.targetSchema` link.
874874 *
875+ * This interface was referenced by `Account`'s JSON-Schema
876+ * via the `confirm_email_change.targetSchema` link.
877+ *
875878 * This interface was referenced by `DatoApi`'s JSON-Schema
876879 * via the `definition` "session".
877880 */
@@ -884,6 +887,7 @@ export type SessionCreateTargetSchema = Session;
884887export type AccountCreateTargetSchema = Session ;
885888export type AccountUpdateTargetSchema = Session ;
886889export type AccountActivate_2FaTargetSchema = Session ;
890+ export type AccountConfirmEmailChangeTargetSchema = Session ;
887891/**
888892 * JSON API data
889893 *
@@ -957,7 +961,6 @@ export type Account = {
957961export type AccountDestroyJobSchema = Account ;
958962export type AccountSelfTargetSchema = Account ;
959963export type AccountDeactivate_2FaTargetSchema = Account ;
960- export type AccountConfirmEmailChangeTargetSchema = Account ;
961964/**
962965 * JSON API data
963966 *
@@ -1366,6 +1369,10 @@ export type AccountConfirmEmailChangeSchema = {
13661369 * Email confirmation token
13671370 */
13681371 token : string ;
1372+ /**
1373+ * Account ID
1374+ */
1375+ account_id : string ;
13691376} ;
13701377/**
13711378 * A project represents a specific DatoCMS administrative area
Original file line number Diff line number Diff line change @@ -2198,6 +2198,10 @@ export type AccountConfirmEmailChangeSchema = {
21982198 * Email confirmation token
21992199 */
22002200 token : string ;
2201+ /**
2202+ * Account ID
2203+ */
2204+ account_id : string ;
22012205 } ;
22022206 } ;
22032207} ;
@@ -2206,7 +2210,8 @@ export type AccountConfirmEmailChangeSchema = {
22062210 * via the `confirm_email_change.targetSchema` link.
22072211 */
22082212export type AccountConfirmEmailChangeTargetSchema = {
2209- data : Account ;
2213+ data : Session ;
2214+ included : Account [ ] ;
22102215} ;
22112216/**
22122217 * A per-project subscription record
Original file line number Diff line number Diff line change @@ -342,7 +342,7 @@ export default class Account extends BaseResource {
342342 body ,
343343 {
344344 type : 'account' ,
345- attributes : [ 'token' ] ,
345+ attributes : [ 'token' , 'account_id' ] ,
346346 relationships : [ ] ,
347347 } ,
348348 ) ,
You can’t perform that action at this time.
0 commit comments