You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
"name": "node-appwrite",
3
3
"homepage": "https://appwrite.io/support",
4
4
"description": "Appwrite is an open-source self-hosted backend server that abstract and simplify complex and repetitive development tasks behind a very simple REST API",
Copy file name to clipboardExpand all lines: src/models.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1924,7 +1924,7 @@ export namespace Models {
1924
1924
/**
1925
1925
* HTTP response body. This will return empty unless execution is created as synchronous.
1926
1926
*/
1927
-
responseBody: string;
1927
+
responseBody: Payload;
1928
1928
/**
1929
1929
* HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.
Copy file name to clipboardExpand all lines: src/services/account.ts
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -126,7 +126,7 @@ This endpoint can also be used to convert an anonymous account to a normal one,
126
126
);
127
127
}
128
128
/**
129
-
* List Identities
129
+
* List identities
130
130
*
131
131
* Get the list of identities for the currently logged in user.
132
132
*
@@ -265,7 +265,7 @@ This endpoint can also be used to convert an anonymous account to a normal one,
265
265
);
266
266
}
267
267
/**
268
-
* Create Authenticator
268
+
* Create authenticator
269
269
*
270
270
* Add an authenticator app to be used as an MFA factor. Verify the authenticator using the [verify authenticator](/docs/references/cloud/client-web/account#updateMfaAuthenticator) method.
271
271
*
@@ -293,7 +293,7 @@ This endpoint can also be used to convert an anonymous account to a normal one,
293
293
);
294
294
}
295
295
/**
296
-
* Verify Authenticator
296
+
* Verify authenticator
297
297
*
298
298
* Verify an authenticator app after adding it using the [add authenticator](/docs/references/cloud/client-web/account#createMfaAuthenticator) method.
299
299
*
@@ -328,7 +328,7 @@ This endpoint can also be used to convert an anonymous account to a normal one,
328
328
);
329
329
}
330
330
/**
331
-
* Delete Authenticator
331
+
* Delete authenticator
332
332
*
333
333
* Delete an authenticator for a user by ID.
334
334
*
@@ -356,7 +356,7 @@ This endpoint can also be used to convert an anonymous account to a normal one,
356
356
);
357
357
}
358
358
/**
359
-
* Create MFA Challenge
359
+
* Create MFA challenge
360
360
*
361
361
* Begin the process of MFA verification after sign-in. Finish the flow with [updateMfaChallenge](/docs/references/cloud/client-web/account#updateMfaChallenge) method.
362
362
*
@@ -387,7 +387,7 @@ This endpoint can also be used to convert an anonymous account to a normal one,
387
387
);
388
388
}
389
389
/**
390
-
* Create MFA Challenge (confirmation)
390
+
* Create MFA challenge (confirmation)
391
391
*
392
392
* Complete the MFA challenge by providing the one-time password. Finish the process of MFA verification by providing the one-time password. To begin the flow, use [createMfaChallenge](/docs/references/cloud/client-web/account#createMfaChallenge) method.
393
393
*
@@ -425,7 +425,7 @@ This endpoint can also be used to convert an anonymous account to a normal one,
425
425
);
426
426
}
427
427
/**
428
-
* List Factors
428
+
* List factors
429
429
*
430
430
* List the factors available on the account to be used as a MFA challange.
431
431
*
@@ -449,7 +449,7 @@ This endpoint can also be used to convert an anonymous account to a normal one,
449
449
);
450
450
}
451
451
/**
452
-
* Get MFA Recovery Codes
452
+
* Get MFA recovery codes
453
453
*
454
454
* Get recovery codes that can be used as backup for MFA flow. Before getting codes, they must be generated using [createMfaRecoveryCodes](/docs/references/cloud/client-web/account#createMfaRecoveryCodes) method. An OTP challenge is required to read recovery codes.
455
455
*
@@ -473,7 +473,7 @@ This endpoint can also be used to convert an anonymous account to a normal one,
473
473
);
474
474
}
475
475
/**
476
-
* Create MFA Recovery Codes
476
+
* Create MFA recovery codes
477
477
*
478
478
* Generate recovery codes as backup for MFA flow. It's recommended to generate and show then immediately after user successfully adds their authehticator. Recovery codes can be used as a MFA verification type in [createMfaChallenge](/docs/references/cloud/client-web/account#createMfaChallenge) method.
479
479
*
@@ -497,7 +497,7 @@ This endpoint can also be used to convert an anonymous account to a normal one,
497
497
);
498
498
}
499
499
/**
500
-
* Regenerate MFA Recovery Codes
500
+
* Regenerate MFA recovery codes
501
501
*
502
502
* Regenerate recovery codes that can be used as backup for MFA flow. Before regenerating codes, they must be first generated using [createMfaRecoveryCodes](/docs/references/cloud/client-web/account#createMfaRecoveryCodes) method. An OTP challenge is required to regenreate recovery codes.
Copy file name to clipboardExpand all lines: src/services/users.ts
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -190,7 +190,7 @@ export class Users {
190
190
);
191
191
}
192
192
/**
193
-
* List Identities
193
+
* List identities
194
194
*
195
195
* Get identities for all users.
196
196
*
@@ -814,7 +814,7 @@ Labels can be used to grant access to resources. While teams are a way for user&
814
814
);
815
815
}
816
816
/**
817
-
* Delete Authenticator
817
+
* Delete authenticator
818
818
*
819
819
* Delete an authenticator app.
820
820
*
@@ -846,7 +846,7 @@ Labels can be used to grant access to resources. While teams are a way for user&
846
846
);
847
847
}
848
848
/**
849
-
* List Factors
849
+
* List factors
850
850
*
851
851
* List the factors available on the account to be used as a MFA challange.
852
852
*
@@ -874,7 +874,7 @@ Labels can be used to grant access to resources. While teams are a way for user&
874
874
);
875
875
}
876
876
/**
877
-
* Get MFA Recovery Codes
877
+
* Get MFA recovery codes
878
878
*
879
879
* Get recovery codes that can be used as backup for MFA flow by User ID. Before getting codes, they must be generated using [createMfaRecoveryCodes](/docs/references/cloud/client-web/account#createMfaRecoveryCodes) method.
880
880
*
@@ -902,7 +902,7 @@ Labels can be used to grant access to resources. While teams are a way for user&
902
902
);
903
903
}
904
904
/**
905
-
* Regenerate MFA Recovery Codes
905
+
* Regenerate MFA recovery codes
906
906
*
907
907
* Regenerate recovery codes that can be used as backup for MFA flow by User ID. Before regenerating codes, they must be first generated using [createMfaRecoveryCodes](/docs/references/cloud/client-web/account#createMfaRecoveryCodes) method.
908
908
*
@@ -930,7 +930,7 @@ Labels can be used to grant access to resources. While teams are a way for user&
930
930
);
931
931
}
932
932
/**
933
-
* Create MFA Recovery Codes
933
+
* Create MFA recovery codes
934
934
*
935
935
* Generate recovery codes used as backup for MFA flow for User ID. Recovery codes can be used as a MFA verification type in [createMfaChallenge](/docs/references/cloud/client-web/account#createMfaChallenge) method by client SDK.
936
936
*
@@ -1279,7 +1279,7 @@ If you want to generate a token for a custom authentication flow, use the [POST
1279
1279
);
1280
1280
}
1281
1281
/**
1282
-
* List User Targets
1282
+
* List user targets
1283
1283
*
1284
1284
* List the messaging targets that are associated with a user.
1285
1285
*
@@ -1311,7 +1311,7 @@ If you want to generate a token for a custom authentication flow, use the [POST
1311
1311
);
1312
1312
}
1313
1313
/**
1314
-
* Create User Target
1314
+
* Create user target
1315
1315
*
1316
1316
* Create a messaging target.
1317
1317
*
@@ -1368,7 +1368,7 @@ If you want to generate a token for a custom authentication flow, use the [POST
1368
1368
);
1369
1369
}
1370
1370
/**
1371
-
* Get User Target
1371
+
* Get user target
1372
1372
*
1373
1373
* Get a user's push notification target by ID.
1374
1374
*
@@ -1400,7 +1400,7 @@ If you want to generate a token for a custom authentication flow, use the [POST
0 commit comments