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
**This SDK is compatible with Appwrite server version 1.3.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-web/releases).**
9
+
**This SDK is compatible with Appwrite server version 1.4.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-web/releases).**
10
10
11
11
Appwrite is an open-source backend as a service server that abstract and simplify complex and repetitive development tasks behind a very simple to use REST API. Appwrite aims to help you develop your apps faster and in a more secure way. Use the Web SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools. For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs)
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": "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
+130-9Lines changed: 130 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,19 @@ export namespace Models {
25
25
*/
26
26
sessions: Session[];
27
27
}
28
+
/**
29
+
* Identities List
30
+
*/
31
+
exporttypeIdentityList={
32
+
/**
33
+
* Total number of identities documents that matched your query.
34
+
*/
35
+
total: number;
36
+
/**
37
+
* List of identities.
38
+
*/
39
+
identities: Identity[];
40
+
}
28
41
/**
29
42
* Logs List
30
43
*/
@@ -155,6 +168,19 @@ export namespace Models {
155
168
*/
156
169
phones: Phone[];
157
170
}
171
+
/**
172
+
* Locale codes list
173
+
*/
174
+
exporttypeLocaleCodeList={
175
+
/**
176
+
* Total number of localeCodes documents that matched your query.
177
+
*/
178
+
total: number;
179
+
/**
180
+
* List of localeCodes.
181
+
*/
182
+
localeCodes: LocaleCode[];
183
+
}
158
184
/**
159
185
* Document
160
186
*/
@@ -314,6 +340,10 @@ export namespace Models {
314
340
* User status. Pass `true` for enabled and `false` for disabled.
315
341
*/
316
342
status: boolean;
343
+
/**
344
+
* Labels for the user.
345
+
*/
346
+
labels: string[];
317
347
/**
318
348
* Password update time in ISO 8601 format.
319
349
*/
@@ -338,6 +368,10 @@ export namespace Models {
338
368
* User preferences as a key-value object
339
369
*/
340
370
prefs: Preferences;
371
+
/**
372
+
* Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.
373
+
*/
374
+
accessedAt: string;
341
375
}
342
376
/**
343
377
* AlgoMD5
@@ -553,6 +587,51 @@ export namespace Models {
553
587
*/
554
588
current: boolean;
555
589
}
590
+
/**
591
+
* Identity
592
+
*/
593
+
exporttypeIdentity={
594
+
/**
595
+
* Identity ID.
596
+
*/
597
+
$id: string;
598
+
/**
599
+
* Identity creation date in ISO 8601 format.
600
+
*/
601
+
$createdAt: string;
602
+
/**
603
+
* Identity update date in ISO 8601 format.
604
+
*/
605
+
$updatedAt: string;
606
+
/**
607
+
* User ID.
608
+
*/
609
+
userId: string;
610
+
/**
611
+
* Identity Provider.
612
+
*/
613
+
provider: string;
614
+
/**
615
+
* ID of the User in the Identity Provider.
616
+
*/
617
+
providerUid: string;
618
+
/**
619
+
* Email of the User in the Identity Provider.
620
+
*/
621
+
providerEmail: string;
622
+
/**
623
+
* Identity Provider Access Token.
624
+
*/
625
+
providerAccessToken: string;
626
+
/**
627
+
* The date of when the access token expires in ISO 8601 format.
628
+
*/
629
+
providerAccessTokenExpiry: string;
630
+
/**
631
+
* Identity Provider Refresh Token.
632
+
*/
633
+
providerRefreshToken: string;
634
+
}
556
635
/**
557
636
* Token
558
637
*/
@@ -620,6 +699,19 @@ export namespace Models {
620
699
*/
621
700
currency: string;
622
701
}
702
+
/**
703
+
* LocaleCode
704
+
*/
705
+
exporttypeLocaleCode={
706
+
/**
707
+
* Locale codes in [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes)
708
+
*/
709
+
code: string;
710
+
/**
711
+
* Locale name
712
+
*/
713
+
name: string;
714
+
}
623
715
/**
624
716
* File
625
717
*/
@@ -784,23 +876,39 @@ export namespace Models {
784
876
*/
785
877
status: string;
786
878
/**
787
-
* The script status code.
879
+
* HTTP request method type.
880
+
*/
881
+
requestMethod: string;
882
+
/**
883
+
* HTTP request path and query.
788
884
*/
789
-
statusCode: number;
885
+
requestPath: string;
790
886
/**
791
-
* The script response output string. Logs the last 4,000 characters of the execution response output.
887
+
* HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.
792
888
*/
793
-
response: string;
889
+
requestHeaders: Headers[];
794
890
/**
795
-
* The script stdout output string. Logs the last 4,000 characters of the execution stdout output. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.
891
+
* HTTP response status code.
796
892
*/
797
-
stdout: string;
893
+
responseStatusCode: number;
798
894
/**
799
-
* The script stderr output string. Logs the last 4,000 characters of the execution stderr output. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.
895
+
* HTTP response body. This will return empty unless execution is created as synchronous.
800
896
*/
801
-
stderr: string;
897
+
responseBody: string;
802
898
/**
803
-
* The script execution duration in seconds.
899
+
* HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.
900
+
*/
901
+
responseHeaders: Headers[];
902
+
/**
903
+
* Function logs. Includes the last 4,000 characters. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.
904
+
*/
905
+
logs: string;
906
+
/**
907
+
* Function errors. Includes the last 4,000 characters. This will return an empty string unless the response is returned using an API key or as part of a webhook payload.
0 commit comments