node-appwrite 17.2.0 → 18.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +67 -2
- package/dist/client.js +3 -3
- package/dist/client.js.map +1 -1
- package/dist/client.mjs +3 -3
- package/dist/client.mjs.map +1 -1
- package/dist/enums/{v-c-s-deployment-type.js → vcs-deployment-type.js} +1 -1
- package/dist/enums/vcs-deployment-type.js.map +1 -0
- package/dist/enums/{v-c-s-deployment-type.mjs → vcs-deployment-type.mjs} +2 -2
- package/dist/enums/vcs-deployment-type.mjs.map +1 -0
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +7 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/dist/models.d.mts +717 -58
- package/dist/models.d.ts +717 -58
- package/dist/query.d.mts +70 -0
- package/dist/query.d.ts +70 -0
- package/dist/query.js +70 -0
- package/dist/query.js.map +1 -1
- package/dist/query.mjs +70 -0
- package/dist/query.mjs.map +1 -1
- package/dist/services/account.d.mts +625 -70
- package/dist/services/account.d.ts +625 -70
- package/dist/services/account.js +592 -292
- package/dist/services/account.js.map +1 -1
- package/dist/services/account.mjs +592 -292
- package/dist/services/account.mjs.map +1 -1
- package/dist/services/avatars.d.mts +157 -26
- package/dist/services/avatars.d.ts +157 -26
- package/dist/services/avatars.js +104 -93
- package/dist/services/avatars.js.map +1 -1
- package/dist/services/avatars.mjs +104 -93
- package/dist/services/avatars.mjs.map +1 -1
- package/dist/services/databases.d.mts +1224 -248
- package/dist/services/databases.d.ts +1224 -248
- package/dist/services/databases.js +877 -611
- package/dist/services/databases.js.map +1 -1
- package/dist/services/databases.mjs +877 -611
- package/dist/services/databases.mjs.map +1 -1
- package/dist/services/functions.d.mts +530 -107
- package/dist/services/functions.d.ts +530 -107
- package/dist/services/functions.js +393 -276
- package/dist/services/functions.js.map +1 -1
- package/dist/services/functions.mjs +393 -276
- package/dist/services/functions.mjs.map +1 -1
- package/dist/services/graphql.d.mts +24 -2
- package/dist/services/graphql.d.ts +24 -2
- package/dist/services/graphql.js +20 -16
- package/dist/services/graphql.js.map +1 -1
- package/dist/services/graphql.mjs +20 -16
- package/dist/services/graphql.mjs.map +1 -1
- package/dist/services/health.d.mts +175 -16
- package/dist/services/health.d.ts +175 -16
- package/dist/services/health.js +144 -115
- package/dist/services/health.js.map +1 -1
- package/dist/services/health.mjs +144 -115
- package/dist/services/health.mjs.map +1 -1
- package/dist/services/locale.js.map +1 -1
- package/dist/services/locale.mjs.map +1 -1
- package/dist/services/messaging.d.mts +1544 -262
- package/dist/services/messaging.d.ts +1544 -262
- package/dist/services/messaging.js +1417 -592
- package/dist/services/messaging.js.map +1 -1
- package/dist/services/messaging.mjs +1417 -592
- package/dist/services/messaging.mjs.map +1 -1
- package/dist/services/sites.d.mts +495 -99
- package/dist/services/sites.d.ts +495 -99
- package/dist/services/sites.js +371 -258
- package/dist/services/sites.js.map +1 -1
- package/dist/services/sites.mjs +371 -258
- package/dist/services/sites.mjs.map +1 -1
- package/dist/services/storage.d.mts +306 -63
- package/dist/services/storage.d.ts +306 -63
- package/dist/services/storage.js +225 -158
- package/dist/services/storage.js.map +1 -1
- package/dist/services/storage.mjs +225 -158
- package/dist/services/storage.mjs.map +1 -1
- package/dist/services/tables-db.d.mts +1549 -0
- package/dist/services/tables-db.d.ts +1549 -0
- package/dist/services/tables-db.js +2374 -0
- package/dist/services/tables-db.js.map +1 -0
- package/dist/services/tables-db.mjs +2373 -0
- package/dist/services/tables-db.mjs.map +1 -0
- package/dist/services/teams.d.mts +233 -39
- package/dist/services/teams.d.ts +233 -39
- package/dist/services/teams.js +170 -135
- package/dist/services/teams.js.map +1 -1
- package/dist/services/teams.mjs +170 -135
- package/dist/services/teams.mjs.map +1 -1
- package/dist/services/tokens.d.mts +76 -11
- package/dist/services/tokens.d.ts +76 -11
- package/dist/services/tokens.js +60 -45
- package/dist/services/tokens.js.map +1 -1
- package/dist/services/tokens.mjs +60 -45
- package/dist/services/tokens.mjs.map +1 -1
- package/dist/services/users.d.mts +842 -115
- package/dist/services/users.d.ts +842 -115
- package/dist/services/users.js +719 -408
- package/dist/services/users.js.map +1 -1
- package/dist/services/users.mjs +719 -408
- package/dist/services/users.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/enums/v-c-s-deployment-type.js.map +0 -1
- package/dist/enums/v-c-s-deployment-type.mjs.map +0 -1
- /package/dist/enums/{v-c-s-deployment-type.d.mts → vcs-deployment-type.d.mts} +0 -0
- /package/dist/enums/{v-c-s-deployment-type.d.ts → vcs-deployment-type.d.ts} +0 -0
package/dist/models.d.ts
CHANGED
|
@@ -3,12 +3,25 @@
|
|
|
3
3
|
*/
|
|
4
4
|
declare namespace Models {
|
|
5
5
|
const __default: unique symbol;
|
|
6
|
+
/**
|
|
7
|
+
* Rows List
|
|
8
|
+
*/
|
|
9
|
+
export type RowList<Row extends Models.Row = Models.DefaultRow> = {
|
|
10
|
+
/**
|
|
11
|
+
* Total number of rows that matched your query.
|
|
12
|
+
*/
|
|
13
|
+
total: number;
|
|
14
|
+
/**
|
|
15
|
+
* List of rows.
|
|
16
|
+
*/
|
|
17
|
+
rows: Row[];
|
|
18
|
+
};
|
|
6
19
|
/**
|
|
7
20
|
* Documents List
|
|
8
21
|
*/
|
|
9
22
|
export type DocumentList<Document extends Models.Document = Models.DefaultDocument> = {
|
|
10
23
|
/**
|
|
11
|
-
* Total number of documents
|
|
24
|
+
* Total number of documents that matched your query.
|
|
12
25
|
*/
|
|
13
26
|
total: number;
|
|
14
27
|
/**
|
|
@@ -16,12 +29,25 @@ declare namespace Models {
|
|
|
16
29
|
*/
|
|
17
30
|
documents: Document[];
|
|
18
31
|
};
|
|
32
|
+
/**
|
|
33
|
+
* Tables List
|
|
34
|
+
*/
|
|
35
|
+
export type TableList = {
|
|
36
|
+
/**
|
|
37
|
+
* Total number of tables that matched your query.
|
|
38
|
+
*/
|
|
39
|
+
total: number;
|
|
40
|
+
/**
|
|
41
|
+
* List of tables.
|
|
42
|
+
*/
|
|
43
|
+
tables: Table[];
|
|
44
|
+
};
|
|
19
45
|
/**
|
|
20
46
|
* Collections List
|
|
21
47
|
*/
|
|
22
48
|
export type CollectionList = {
|
|
23
49
|
/**
|
|
24
|
-
* Total number of collections
|
|
50
|
+
* Total number of collections that matched your query.
|
|
25
51
|
*/
|
|
26
52
|
total: number;
|
|
27
53
|
/**
|
|
@@ -34,7 +60,7 @@ declare namespace Models {
|
|
|
34
60
|
*/
|
|
35
61
|
export type DatabaseList = {
|
|
36
62
|
/**
|
|
37
|
-
* Total number of databases
|
|
63
|
+
* Total number of databases that matched your query.
|
|
38
64
|
*/
|
|
39
65
|
total: number;
|
|
40
66
|
/**
|
|
@@ -47,7 +73,7 @@ declare namespace Models {
|
|
|
47
73
|
*/
|
|
48
74
|
export type IndexList = {
|
|
49
75
|
/**
|
|
50
|
-
* Total number of indexes
|
|
76
|
+
* Total number of indexes that matched your query.
|
|
51
77
|
*/
|
|
52
78
|
total: number;
|
|
53
79
|
/**
|
|
@@ -55,12 +81,25 @@ declare namespace Models {
|
|
|
55
81
|
*/
|
|
56
82
|
indexes: Index[];
|
|
57
83
|
};
|
|
84
|
+
/**
|
|
85
|
+
* Column Indexes List
|
|
86
|
+
*/
|
|
87
|
+
export type ColumnIndexList = {
|
|
88
|
+
/**
|
|
89
|
+
* Total number of indexes that matched your query.
|
|
90
|
+
*/
|
|
91
|
+
total: number;
|
|
92
|
+
/**
|
|
93
|
+
* List of indexes.
|
|
94
|
+
*/
|
|
95
|
+
indexes: ColumnIndex[];
|
|
96
|
+
};
|
|
58
97
|
/**
|
|
59
98
|
* Users List
|
|
60
99
|
*/
|
|
61
100
|
export type UserList<Preferences extends Models.Preferences = Models.DefaultPreferences> = {
|
|
62
101
|
/**
|
|
63
|
-
* Total number of users
|
|
102
|
+
* Total number of users that matched your query.
|
|
64
103
|
*/
|
|
65
104
|
total: number;
|
|
66
105
|
/**
|
|
@@ -73,7 +112,7 @@ declare namespace Models {
|
|
|
73
112
|
*/
|
|
74
113
|
export type SessionList = {
|
|
75
114
|
/**
|
|
76
|
-
* Total number of sessions
|
|
115
|
+
* Total number of sessions that matched your query.
|
|
77
116
|
*/
|
|
78
117
|
total: number;
|
|
79
118
|
/**
|
|
@@ -86,7 +125,7 @@ declare namespace Models {
|
|
|
86
125
|
*/
|
|
87
126
|
export type IdentityList = {
|
|
88
127
|
/**
|
|
89
|
-
* Total number of identities
|
|
128
|
+
* Total number of identities that matched your query.
|
|
90
129
|
*/
|
|
91
130
|
total: number;
|
|
92
131
|
/**
|
|
@@ -99,7 +138,7 @@ declare namespace Models {
|
|
|
99
138
|
*/
|
|
100
139
|
export type LogList = {
|
|
101
140
|
/**
|
|
102
|
-
* Total number of logs
|
|
141
|
+
* Total number of logs that matched your query.
|
|
103
142
|
*/
|
|
104
143
|
total: number;
|
|
105
144
|
/**
|
|
@@ -112,7 +151,7 @@ declare namespace Models {
|
|
|
112
151
|
*/
|
|
113
152
|
export type FileList = {
|
|
114
153
|
/**
|
|
115
|
-
* Total number of files
|
|
154
|
+
* Total number of files that matched your query.
|
|
116
155
|
*/
|
|
117
156
|
total: number;
|
|
118
157
|
/**
|
|
@@ -125,7 +164,7 @@ declare namespace Models {
|
|
|
125
164
|
*/
|
|
126
165
|
export type BucketList = {
|
|
127
166
|
/**
|
|
128
|
-
* Total number of buckets
|
|
167
|
+
* Total number of buckets that matched your query.
|
|
129
168
|
*/
|
|
130
169
|
total: number;
|
|
131
170
|
/**
|
|
@@ -138,7 +177,7 @@ declare namespace Models {
|
|
|
138
177
|
*/
|
|
139
178
|
export type ResourceTokenList = {
|
|
140
179
|
/**
|
|
141
|
-
* Total number of tokens
|
|
180
|
+
* Total number of tokens that matched your query.
|
|
142
181
|
*/
|
|
143
182
|
total: number;
|
|
144
183
|
/**
|
|
@@ -151,7 +190,7 @@ declare namespace Models {
|
|
|
151
190
|
*/
|
|
152
191
|
export type TeamList<Preferences extends Models.Preferences = Models.DefaultPreferences> = {
|
|
153
192
|
/**
|
|
154
|
-
* Total number of teams
|
|
193
|
+
* Total number of teams that matched your query.
|
|
155
194
|
*/
|
|
156
195
|
total: number;
|
|
157
196
|
/**
|
|
@@ -164,7 +203,7 @@ declare namespace Models {
|
|
|
164
203
|
*/
|
|
165
204
|
export type MembershipList = {
|
|
166
205
|
/**
|
|
167
|
-
* Total number of memberships
|
|
206
|
+
* Total number of memberships that matched your query.
|
|
168
207
|
*/
|
|
169
208
|
total: number;
|
|
170
209
|
/**
|
|
@@ -177,7 +216,7 @@ declare namespace Models {
|
|
|
177
216
|
*/
|
|
178
217
|
export type SiteList = {
|
|
179
218
|
/**
|
|
180
|
-
* Total number of sites
|
|
219
|
+
* Total number of sites that matched your query.
|
|
181
220
|
*/
|
|
182
221
|
total: number;
|
|
183
222
|
/**
|
|
@@ -190,7 +229,7 @@ declare namespace Models {
|
|
|
190
229
|
*/
|
|
191
230
|
export type FunctionList = {
|
|
192
231
|
/**
|
|
193
|
-
* Total number of functions
|
|
232
|
+
* Total number of functions that matched your query.
|
|
194
233
|
*/
|
|
195
234
|
total: number;
|
|
196
235
|
/**
|
|
@@ -203,7 +242,7 @@ declare namespace Models {
|
|
|
203
242
|
*/
|
|
204
243
|
export type FrameworkList = {
|
|
205
244
|
/**
|
|
206
|
-
* Total number of frameworks
|
|
245
|
+
* Total number of frameworks that matched your query.
|
|
207
246
|
*/
|
|
208
247
|
total: number;
|
|
209
248
|
/**
|
|
@@ -216,7 +255,7 @@ declare namespace Models {
|
|
|
216
255
|
*/
|
|
217
256
|
export type RuntimeList = {
|
|
218
257
|
/**
|
|
219
|
-
* Total number of runtimes
|
|
258
|
+
* Total number of runtimes that matched your query.
|
|
220
259
|
*/
|
|
221
260
|
total: number;
|
|
222
261
|
/**
|
|
@@ -229,7 +268,7 @@ declare namespace Models {
|
|
|
229
268
|
*/
|
|
230
269
|
export type DeploymentList = {
|
|
231
270
|
/**
|
|
232
|
-
* Total number of deployments
|
|
271
|
+
* Total number of deployments that matched your query.
|
|
233
272
|
*/
|
|
234
273
|
total: number;
|
|
235
274
|
/**
|
|
@@ -242,7 +281,7 @@ declare namespace Models {
|
|
|
242
281
|
*/
|
|
243
282
|
export type ExecutionList = {
|
|
244
283
|
/**
|
|
245
|
-
* Total number of executions
|
|
284
|
+
* Total number of executions that matched your query.
|
|
246
285
|
*/
|
|
247
286
|
total: number;
|
|
248
287
|
/**
|
|
@@ -255,7 +294,7 @@ declare namespace Models {
|
|
|
255
294
|
*/
|
|
256
295
|
export type CountryList = {
|
|
257
296
|
/**
|
|
258
|
-
* Total number of countries
|
|
297
|
+
* Total number of countries that matched your query.
|
|
259
298
|
*/
|
|
260
299
|
total: number;
|
|
261
300
|
/**
|
|
@@ -268,7 +307,7 @@ declare namespace Models {
|
|
|
268
307
|
*/
|
|
269
308
|
export type ContinentList = {
|
|
270
309
|
/**
|
|
271
|
-
* Total number of continents
|
|
310
|
+
* Total number of continents that matched your query.
|
|
272
311
|
*/
|
|
273
312
|
total: number;
|
|
274
313
|
/**
|
|
@@ -281,7 +320,7 @@ declare namespace Models {
|
|
|
281
320
|
*/
|
|
282
321
|
export type LanguageList = {
|
|
283
322
|
/**
|
|
284
|
-
* Total number of languages
|
|
323
|
+
* Total number of languages that matched your query.
|
|
285
324
|
*/
|
|
286
325
|
total: number;
|
|
287
326
|
/**
|
|
@@ -294,7 +333,7 @@ declare namespace Models {
|
|
|
294
333
|
*/
|
|
295
334
|
export type CurrencyList = {
|
|
296
335
|
/**
|
|
297
|
-
* Total number of currencies
|
|
336
|
+
* Total number of currencies that matched your query.
|
|
298
337
|
*/
|
|
299
338
|
total: number;
|
|
300
339
|
/**
|
|
@@ -307,7 +346,7 @@ declare namespace Models {
|
|
|
307
346
|
*/
|
|
308
347
|
export type PhoneList = {
|
|
309
348
|
/**
|
|
310
|
-
* Total number of phones
|
|
349
|
+
* Total number of phones that matched your query.
|
|
311
350
|
*/
|
|
312
351
|
total: number;
|
|
313
352
|
/**
|
|
@@ -320,7 +359,7 @@ declare namespace Models {
|
|
|
320
359
|
*/
|
|
321
360
|
export type VariableList = {
|
|
322
361
|
/**
|
|
323
|
-
* Total number of variables
|
|
362
|
+
* Total number of variables that matched your query.
|
|
324
363
|
*/
|
|
325
364
|
total: number;
|
|
326
365
|
/**
|
|
@@ -333,7 +372,7 @@ declare namespace Models {
|
|
|
333
372
|
*/
|
|
334
373
|
export type LocaleCodeList = {
|
|
335
374
|
/**
|
|
336
|
-
* Total number of localeCodes
|
|
375
|
+
* Total number of localeCodes that matched your query.
|
|
337
376
|
*/
|
|
338
377
|
total: number;
|
|
339
378
|
/**
|
|
@@ -346,7 +385,7 @@ declare namespace Models {
|
|
|
346
385
|
*/
|
|
347
386
|
export type ProviderList = {
|
|
348
387
|
/**
|
|
349
|
-
* Total number of providers
|
|
388
|
+
* Total number of providers that matched your query.
|
|
350
389
|
*/
|
|
351
390
|
total: number;
|
|
352
391
|
/**
|
|
@@ -359,7 +398,7 @@ declare namespace Models {
|
|
|
359
398
|
*/
|
|
360
399
|
export type MessageList = {
|
|
361
400
|
/**
|
|
362
|
-
* Total number of messages
|
|
401
|
+
* Total number of messages that matched your query.
|
|
363
402
|
*/
|
|
364
403
|
total: number;
|
|
365
404
|
/**
|
|
@@ -372,7 +411,7 @@ declare namespace Models {
|
|
|
372
411
|
*/
|
|
373
412
|
export type TopicList = {
|
|
374
413
|
/**
|
|
375
|
-
* Total number of topics
|
|
414
|
+
* Total number of topics that matched your query.
|
|
376
415
|
*/
|
|
377
416
|
total: number;
|
|
378
417
|
/**
|
|
@@ -385,7 +424,7 @@ declare namespace Models {
|
|
|
385
424
|
*/
|
|
386
425
|
export type SubscriberList = {
|
|
387
426
|
/**
|
|
388
|
-
* Total number of subscribers
|
|
427
|
+
* Total number of subscribers that matched your query.
|
|
389
428
|
*/
|
|
390
429
|
total: number;
|
|
391
430
|
/**
|
|
@@ -398,7 +437,7 @@ declare namespace Models {
|
|
|
398
437
|
*/
|
|
399
438
|
export type TargetList = {
|
|
400
439
|
/**
|
|
401
|
-
* Total number of targets
|
|
440
|
+
* Total number of targets that matched your query.
|
|
402
441
|
*/
|
|
403
442
|
total: number;
|
|
404
443
|
/**
|
|
@@ -411,7 +450,7 @@ declare namespace Models {
|
|
|
411
450
|
*/
|
|
412
451
|
export type SpecificationList = {
|
|
413
452
|
/**
|
|
414
|
-
* Total number of specifications
|
|
453
|
+
* Total number of specifications that matched your query.
|
|
415
454
|
*/
|
|
416
455
|
total: number;
|
|
417
456
|
/**
|
|
@@ -440,9 +479,13 @@ declare namespace Models {
|
|
|
440
479
|
*/
|
|
441
480
|
$updatedAt: string;
|
|
442
481
|
/**
|
|
443
|
-
* If database is enabled. Can be
|
|
482
|
+
* If database is enabled. Can be 'enabled' or 'disabled'. When disabled, the database is inaccessible to users, but remains accessible to Server SDKs using API keys.
|
|
444
483
|
*/
|
|
445
484
|
enabled: boolean;
|
|
485
|
+
/**
|
|
486
|
+
* Database type.
|
|
487
|
+
*/
|
|
488
|
+
type: string;
|
|
446
489
|
};
|
|
447
490
|
/**
|
|
448
491
|
* Collection
|
|
@@ -473,7 +516,7 @@ declare namespace Models {
|
|
|
473
516
|
*/
|
|
474
517
|
name: string;
|
|
475
518
|
/**
|
|
476
|
-
* Collection enabled. Can be
|
|
519
|
+
* Collection enabled. Can be 'enabled' or 'disabled'. When disabled, the collection is inaccessible to users, but remains accessible to Server SDKs using API keys.
|
|
477
520
|
*/
|
|
478
521
|
enabled: boolean;
|
|
479
522
|
/**
|
|
@@ -980,12 +1023,560 @@ declare namespace Models {
|
|
|
980
1023
|
*/
|
|
981
1024
|
side: string;
|
|
982
1025
|
};
|
|
1026
|
+
/**
|
|
1027
|
+
* Table
|
|
1028
|
+
*/
|
|
1029
|
+
export type Table = {
|
|
1030
|
+
/**
|
|
1031
|
+
* Table ID.
|
|
1032
|
+
*/
|
|
1033
|
+
$id: string;
|
|
1034
|
+
/**
|
|
1035
|
+
* Table creation date in ISO 8601 format.
|
|
1036
|
+
*/
|
|
1037
|
+
$createdAt: string;
|
|
1038
|
+
/**
|
|
1039
|
+
* Table update date in ISO 8601 format.
|
|
1040
|
+
*/
|
|
1041
|
+
$updatedAt: string;
|
|
1042
|
+
/**
|
|
1043
|
+
* Table permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).
|
|
1044
|
+
*/
|
|
1045
|
+
$permissions: string[];
|
|
1046
|
+
/**
|
|
1047
|
+
* Database ID.
|
|
1048
|
+
*/
|
|
1049
|
+
databaseId: string;
|
|
1050
|
+
/**
|
|
1051
|
+
* Table name.
|
|
1052
|
+
*/
|
|
1053
|
+
name: string;
|
|
1054
|
+
/**
|
|
1055
|
+
* Table enabled. Can be 'enabled' or 'disabled'. When disabled, the table is inaccessible to users, but remains accessible to Server SDKs using API keys.
|
|
1056
|
+
*/
|
|
1057
|
+
enabled: boolean;
|
|
1058
|
+
/**
|
|
1059
|
+
* Whether row-level permissions are enabled. [Learn more about permissions](https://appwrite.io/docs/permissions).
|
|
1060
|
+
*/
|
|
1061
|
+
rowSecurity: boolean;
|
|
1062
|
+
/**
|
|
1063
|
+
* Table columns.
|
|
1064
|
+
*/
|
|
1065
|
+
columns: (Models.ColumnBoolean | Models.ColumnInteger | Models.ColumnFloat | Models.ColumnEmail | Models.ColumnEnum | Models.ColumnUrl | Models.ColumnIp | Models.ColumnDatetime | Models.ColumnRelationship | Models.ColumnString)[];
|
|
1066
|
+
/**
|
|
1067
|
+
* Table indexes.
|
|
1068
|
+
*/
|
|
1069
|
+
indexes: ColumnIndex[];
|
|
1070
|
+
};
|
|
1071
|
+
/**
|
|
1072
|
+
* Columns List
|
|
1073
|
+
*/
|
|
1074
|
+
export type ColumnList = {
|
|
1075
|
+
/**
|
|
1076
|
+
* Total number of columns in the given table.
|
|
1077
|
+
*/
|
|
1078
|
+
total: number;
|
|
1079
|
+
/**
|
|
1080
|
+
* List of columns.
|
|
1081
|
+
*/
|
|
1082
|
+
columns: (Models.ColumnBoolean | Models.ColumnInteger | Models.ColumnFloat | Models.ColumnEmail | Models.ColumnEnum | Models.ColumnUrl | Models.ColumnIp | Models.ColumnDatetime | Models.ColumnRelationship | Models.ColumnString)[];
|
|
1083
|
+
};
|
|
1084
|
+
/**
|
|
1085
|
+
* ColumnString
|
|
1086
|
+
*/
|
|
1087
|
+
export type ColumnString = {
|
|
1088
|
+
/**
|
|
1089
|
+
* Column Key.
|
|
1090
|
+
*/
|
|
1091
|
+
key: string;
|
|
1092
|
+
/**
|
|
1093
|
+
* Column type.
|
|
1094
|
+
*/
|
|
1095
|
+
type: string;
|
|
1096
|
+
/**
|
|
1097
|
+
* Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1098
|
+
*/
|
|
1099
|
+
status: string;
|
|
1100
|
+
/**
|
|
1101
|
+
* Error message. Displays error generated on failure of creating or deleting an column.
|
|
1102
|
+
*/
|
|
1103
|
+
error: string;
|
|
1104
|
+
/**
|
|
1105
|
+
* Is column required?
|
|
1106
|
+
*/
|
|
1107
|
+
required: boolean;
|
|
1108
|
+
/**
|
|
1109
|
+
* Is column an array?
|
|
1110
|
+
*/
|
|
1111
|
+
array?: boolean;
|
|
1112
|
+
/**
|
|
1113
|
+
* Column creation date in ISO 8601 format.
|
|
1114
|
+
*/
|
|
1115
|
+
$createdAt: string;
|
|
1116
|
+
/**
|
|
1117
|
+
* Column update date in ISO 8601 format.
|
|
1118
|
+
*/
|
|
1119
|
+
$updatedAt: string;
|
|
1120
|
+
/**
|
|
1121
|
+
* Column size.
|
|
1122
|
+
*/
|
|
1123
|
+
size: number;
|
|
1124
|
+
/**
|
|
1125
|
+
* Default value for column when not provided. Cannot be set when column is required.
|
|
1126
|
+
*/
|
|
1127
|
+
default?: string;
|
|
1128
|
+
/**
|
|
1129
|
+
* Defines whether this column is encrypted or not.
|
|
1130
|
+
*/
|
|
1131
|
+
encrypt?: boolean;
|
|
1132
|
+
};
|
|
1133
|
+
/**
|
|
1134
|
+
* ColumnInteger
|
|
1135
|
+
*/
|
|
1136
|
+
export type ColumnInteger = {
|
|
1137
|
+
/**
|
|
1138
|
+
* Column Key.
|
|
1139
|
+
*/
|
|
1140
|
+
key: string;
|
|
1141
|
+
/**
|
|
1142
|
+
* Column type.
|
|
1143
|
+
*/
|
|
1144
|
+
type: string;
|
|
1145
|
+
/**
|
|
1146
|
+
* Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1147
|
+
*/
|
|
1148
|
+
status: string;
|
|
1149
|
+
/**
|
|
1150
|
+
* Error message. Displays error generated on failure of creating or deleting an column.
|
|
1151
|
+
*/
|
|
1152
|
+
error: string;
|
|
1153
|
+
/**
|
|
1154
|
+
* Is column required?
|
|
1155
|
+
*/
|
|
1156
|
+
required: boolean;
|
|
1157
|
+
/**
|
|
1158
|
+
* Is column an array?
|
|
1159
|
+
*/
|
|
1160
|
+
array?: boolean;
|
|
1161
|
+
/**
|
|
1162
|
+
* Column creation date in ISO 8601 format.
|
|
1163
|
+
*/
|
|
1164
|
+
$createdAt: string;
|
|
1165
|
+
/**
|
|
1166
|
+
* Column update date in ISO 8601 format.
|
|
1167
|
+
*/
|
|
1168
|
+
$updatedAt: string;
|
|
1169
|
+
/**
|
|
1170
|
+
* Minimum value to enforce for new documents.
|
|
1171
|
+
*/
|
|
1172
|
+
min?: number;
|
|
1173
|
+
/**
|
|
1174
|
+
* Maximum value to enforce for new documents.
|
|
1175
|
+
*/
|
|
1176
|
+
max?: number;
|
|
1177
|
+
/**
|
|
1178
|
+
* Default value for column when not provided. Cannot be set when column is required.
|
|
1179
|
+
*/
|
|
1180
|
+
default?: number;
|
|
1181
|
+
};
|
|
1182
|
+
/**
|
|
1183
|
+
* ColumnFloat
|
|
1184
|
+
*/
|
|
1185
|
+
export type ColumnFloat = {
|
|
1186
|
+
/**
|
|
1187
|
+
* Column Key.
|
|
1188
|
+
*/
|
|
1189
|
+
key: string;
|
|
1190
|
+
/**
|
|
1191
|
+
* Column type.
|
|
1192
|
+
*/
|
|
1193
|
+
type: string;
|
|
1194
|
+
/**
|
|
1195
|
+
* Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1196
|
+
*/
|
|
1197
|
+
status: string;
|
|
1198
|
+
/**
|
|
1199
|
+
* Error message. Displays error generated on failure of creating or deleting an column.
|
|
1200
|
+
*/
|
|
1201
|
+
error: string;
|
|
1202
|
+
/**
|
|
1203
|
+
* Is column required?
|
|
1204
|
+
*/
|
|
1205
|
+
required: boolean;
|
|
1206
|
+
/**
|
|
1207
|
+
* Is column an array?
|
|
1208
|
+
*/
|
|
1209
|
+
array?: boolean;
|
|
1210
|
+
/**
|
|
1211
|
+
* Column creation date in ISO 8601 format.
|
|
1212
|
+
*/
|
|
1213
|
+
$createdAt: string;
|
|
1214
|
+
/**
|
|
1215
|
+
* Column update date in ISO 8601 format.
|
|
1216
|
+
*/
|
|
1217
|
+
$updatedAt: string;
|
|
1218
|
+
/**
|
|
1219
|
+
* Minimum value to enforce for new documents.
|
|
1220
|
+
*/
|
|
1221
|
+
min?: number;
|
|
1222
|
+
/**
|
|
1223
|
+
* Maximum value to enforce for new documents.
|
|
1224
|
+
*/
|
|
1225
|
+
max?: number;
|
|
1226
|
+
/**
|
|
1227
|
+
* Default value for column when not provided. Cannot be set when column is required.
|
|
1228
|
+
*/
|
|
1229
|
+
default?: number;
|
|
1230
|
+
};
|
|
1231
|
+
/**
|
|
1232
|
+
* ColumnBoolean
|
|
1233
|
+
*/
|
|
1234
|
+
export type ColumnBoolean = {
|
|
1235
|
+
/**
|
|
1236
|
+
* Column Key.
|
|
1237
|
+
*/
|
|
1238
|
+
key: string;
|
|
1239
|
+
/**
|
|
1240
|
+
* Column type.
|
|
1241
|
+
*/
|
|
1242
|
+
type: string;
|
|
1243
|
+
/**
|
|
1244
|
+
* Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1245
|
+
*/
|
|
1246
|
+
status: string;
|
|
1247
|
+
/**
|
|
1248
|
+
* Error message. Displays error generated on failure of creating or deleting an column.
|
|
1249
|
+
*/
|
|
1250
|
+
error: string;
|
|
1251
|
+
/**
|
|
1252
|
+
* Is column required?
|
|
1253
|
+
*/
|
|
1254
|
+
required: boolean;
|
|
1255
|
+
/**
|
|
1256
|
+
* Is column an array?
|
|
1257
|
+
*/
|
|
1258
|
+
array?: boolean;
|
|
1259
|
+
/**
|
|
1260
|
+
* Column creation date in ISO 8601 format.
|
|
1261
|
+
*/
|
|
1262
|
+
$createdAt: string;
|
|
1263
|
+
/**
|
|
1264
|
+
* Column update date in ISO 8601 format.
|
|
1265
|
+
*/
|
|
1266
|
+
$updatedAt: string;
|
|
1267
|
+
/**
|
|
1268
|
+
* Default value for column when not provided. Cannot be set when column is required.
|
|
1269
|
+
*/
|
|
1270
|
+
default?: boolean;
|
|
1271
|
+
};
|
|
1272
|
+
/**
|
|
1273
|
+
* ColumnEmail
|
|
1274
|
+
*/
|
|
1275
|
+
export type ColumnEmail = {
|
|
1276
|
+
/**
|
|
1277
|
+
* Column Key.
|
|
1278
|
+
*/
|
|
1279
|
+
key: string;
|
|
1280
|
+
/**
|
|
1281
|
+
* Column type.
|
|
1282
|
+
*/
|
|
1283
|
+
type: string;
|
|
1284
|
+
/**
|
|
1285
|
+
* Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1286
|
+
*/
|
|
1287
|
+
status: string;
|
|
1288
|
+
/**
|
|
1289
|
+
* Error message. Displays error generated on failure of creating or deleting an column.
|
|
1290
|
+
*/
|
|
1291
|
+
error: string;
|
|
1292
|
+
/**
|
|
1293
|
+
* Is column required?
|
|
1294
|
+
*/
|
|
1295
|
+
required: boolean;
|
|
1296
|
+
/**
|
|
1297
|
+
* Is column an array?
|
|
1298
|
+
*/
|
|
1299
|
+
array?: boolean;
|
|
1300
|
+
/**
|
|
1301
|
+
* Column creation date in ISO 8601 format.
|
|
1302
|
+
*/
|
|
1303
|
+
$createdAt: string;
|
|
1304
|
+
/**
|
|
1305
|
+
* Column update date in ISO 8601 format.
|
|
1306
|
+
*/
|
|
1307
|
+
$updatedAt: string;
|
|
1308
|
+
/**
|
|
1309
|
+
* String format.
|
|
1310
|
+
*/
|
|
1311
|
+
format: string;
|
|
1312
|
+
/**
|
|
1313
|
+
* Default value for column when not provided. Cannot be set when column is required.
|
|
1314
|
+
*/
|
|
1315
|
+
default?: string;
|
|
1316
|
+
};
|
|
1317
|
+
/**
|
|
1318
|
+
* ColumnEnum
|
|
1319
|
+
*/
|
|
1320
|
+
export type ColumnEnum = {
|
|
1321
|
+
/**
|
|
1322
|
+
* Column Key.
|
|
1323
|
+
*/
|
|
1324
|
+
key: string;
|
|
1325
|
+
/**
|
|
1326
|
+
* Column type.
|
|
1327
|
+
*/
|
|
1328
|
+
type: string;
|
|
1329
|
+
/**
|
|
1330
|
+
* Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1331
|
+
*/
|
|
1332
|
+
status: string;
|
|
1333
|
+
/**
|
|
1334
|
+
* Error message. Displays error generated on failure of creating or deleting an column.
|
|
1335
|
+
*/
|
|
1336
|
+
error: string;
|
|
1337
|
+
/**
|
|
1338
|
+
* Is column required?
|
|
1339
|
+
*/
|
|
1340
|
+
required: boolean;
|
|
1341
|
+
/**
|
|
1342
|
+
* Is column an array?
|
|
1343
|
+
*/
|
|
1344
|
+
array?: boolean;
|
|
1345
|
+
/**
|
|
1346
|
+
* Column creation date in ISO 8601 format.
|
|
1347
|
+
*/
|
|
1348
|
+
$createdAt: string;
|
|
1349
|
+
/**
|
|
1350
|
+
* Column update date in ISO 8601 format.
|
|
1351
|
+
*/
|
|
1352
|
+
$updatedAt: string;
|
|
1353
|
+
/**
|
|
1354
|
+
* Array of elements in enumerated type.
|
|
1355
|
+
*/
|
|
1356
|
+
elements: string[];
|
|
1357
|
+
/**
|
|
1358
|
+
* String format.
|
|
1359
|
+
*/
|
|
1360
|
+
format: string;
|
|
1361
|
+
/**
|
|
1362
|
+
* Default value for column when not provided. Cannot be set when column is required.
|
|
1363
|
+
*/
|
|
1364
|
+
default?: string;
|
|
1365
|
+
};
|
|
1366
|
+
/**
|
|
1367
|
+
* ColumnIP
|
|
1368
|
+
*/
|
|
1369
|
+
export type ColumnIp = {
|
|
1370
|
+
/**
|
|
1371
|
+
* Column Key.
|
|
1372
|
+
*/
|
|
1373
|
+
key: string;
|
|
1374
|
+
/**
|
|
1375
|
+
* Column type.
|
|
1376
|
+
*/
|
|
1377
|
+
type: string;
|
|
1378
|
+
/**
|
|
1379
|
+
* Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1380
|
+
*/
|
|
1381
|
+
status: string;
|
|
1382
|
+
/**
|
|
1383
|
+
* Error message. Displays error generated on failure of creating or deleting an column.
|
|
1384
|
+
*/
|
|
1385
|
+
error: string;
|
|
1386
|
+
/**
|
|
1387
|
+
* Is column required?
|
|
1388
|
+
*/
|
|
1389
|
+
required: boolean;
|
|
1390
|
+
/**
|
|
1391
|
+
* Is column an array?
|
|
1392
|
+
*/
|
|
1393
|
+
array?: boolean;
|
|
1394
|
+
/**
|
|
1395
|
+
* Column creation date in ISO 8601 format.
|
|
1396
|
+
*/
|
|
1397
|
+
$createdAt: string;
|
|
1398
|
+
/**
|
|
1399
|
+
* Column update date in ISO 8601 format.
|
|
1400
|
+
*/
|
|
1401
|
+
$updatedAt: string;
|
|
1402
|
+
/**
|
|
1403
|
+
* String format.
|
|
1404
|
+
*/
|
|
1405
|
+
format: string;
|
|
1406
|
+
/**
|
|
1407
|
+
* Default value for column when not provided. Cannot be set when column is required.
|
|
1408
|
+
*/
|
|
1409
|
+
default?: string;
|
|
1410
|
+
};
|
|
1411
|
+
/**
|
|
1412
|
+
* ColumnURL
|
|
1413
|
+
*/
|
|
1414
|
+
export type ColumnUrl = {
|
|
1415
|
+
/**
|
|
1416
|
+
* Column Key.
|
|
1417
|
+
*/
|
|
1418
|
+
key: string;
|
|
1419
|
+
/**
|
|
1420
|
+
* Column type.
|
|
1421
|
+
*/
|
|
1422
|
+
type: string;
|
|
1423
|
+
/**
|
|
1424
|
+
* Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1425
|
+
*/
|
|
1426
|
+
status: string;
|
|
1427
|
+
/**
|
|
1428
|
+
* Error message. Displays error generated on failure of creating or deleting an column.
|
|
1429
|
+
*/
|
|
1430
|
+
error: string;
|
|
1431
|
+
/**
|
|
1432
|
+
* Is column required?
|
|
1433
|
+
*/
|
|
1434
|
+
required: boolean;
|
|
1435
|
+
/**
|
|
1436
|
+
* Is column an array?
|
|
1437
|
+
*/
|
|
1438
|
+
array?: boolean;
|
|
1439
|
+
/**
|
|
1440
|
+
* Column creation date in ISO 8601 format.
|
|
1441
|
+
*/
|
|
1442
|
+
$createdAt: string;
|
|
1443
|
+
/**
|
|
1444
|
+
* Column update date in ISO 8601 format.
|
|
1445
|
+
*/
|
|
1446
|
+
$updatedAt: string;
|
|
1447
|
+
/**
|
|
1448
|
+
* String format.
|
|
1449
|
+
*/
|
|
1450
|
+
format: string;
|
|
1451
|
+
/**
|
|
1452
|
+
* Default value for column when not provided. Cannot be set when column is required.
|
|
1453
|
+
*/
|
|
1454
|
+
default?: string;
|
|
1455
|
+
};
|
|
1456
|
+
/**
|
|
1457
|
+
* ColumnDatetime
|
|
1458
|
+
*/
|
|
1459
|
+
export type ColumnDatetime = {
|
|
1460
|
+
/**
|
|
1461
|
+
* Column Key.
|
|
1462
|
+
*/
|
|
1463
|
+
key: string;
|
|
1464
|
+
/**
|
|
1465
|
+
* Column type.
|
|
1466
|
+
*/
|
|
1467
|
+
type: string;
|
|
1468
|
+
/**
|
|
1469
|
+
* Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1470
|
+
*/
|
|
1471
|
+
status: string;
|
|
1472
|
+
/**
|
|
1473
|
+
* Error message. Displays error generated on failure of creating or deleting an column.
|
|
1474
|
+
*/
|
|
1475
|
+
error: string;
|
|
1476
|
+
/**
|
|
1477
|
+
* Is column required?
|
|
1478
|
+
*/
|
|
1479
|
+
required: boolean;
|
|
1480
|
+
/**
|
|
1481
|
+
* Is column an array?
|
|
1482
|
+
*/
|
|
1483
|
+
array?: boolean;
|
|
1484
|
+
/**
|
|
1485
|
+
* Column creation date in ISO 8601 format.
|
|
1486
|
+
*/
|
|
1487
|
+
$createdAt: string;
|
|
1488
|
+
/**
|
|
1489
|
+
* Column update date in ISO 8601 format.
|
|
1490
|
+
*/
|
|
1491
|
+
$updatedAt: string;
|
|
1492
|
+
/**
|
|
1493
|
+
* ISO 8601 format.
|
|
1494
|
+
*/
|
|
1495
|
+
format: string;
|
|
1496
|
+
/**
|
|
1497
|
+
* Default value for column when not provided. Only null is optional
|
|
1498
|
+
*/
|
|
1499
|
+
default?: string;
|
|
1500
|
+
};
|
|
1501
|
+
/**
|
|
1502
|
+
* ColumnRelationship
|
|
1503
|
+
*/
|
|
1504
|
+
export type ColumnRelationship = {
|
|
1505
|
+
/**
|
|
1506
|
+
* Column Key.
|
|
1507
|
+
*/
|
|
1508
|
+
key: string;
|
|
1509
|
+
/**
|
|
1510
|
+
* Column type.
|
|
1511
|
+
*/
|
|
1512
|
+
type: string;
|
|
1513
|
+
/**
|
|
1514
|
+
* Column status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1515
|
+
*/
|
|
1516
|
+
status: string;
|
|
1517
|
+
/**
|
|
1518
|
+
* Error message. Displays error generated on failure of creating or deleting an column.
|
|
1519
|
+
*/
|
|
1520
|
+
error: string;
|
|
1521
|
+
/**
|
|
1522
|
+
* Is column required?
|
|
1523
|
+
*/
|
|
1524
|
+
required: boolean;
|
|
1525
|
+
/**
|
|
1526
|
+
* Is column an array?
|
|
1527
|
+
*/
|
|
1528
|
+
array?: boolean;
|
|
1529
|
+
/**
|
|
1530
|
+
* Column creation date in ISO 8601 format.
|
|
1531
|
+
*/
|
|
1532
|
+
$createdAt: string;
|
|
1533
|
+
/**
|
|
1534
|
+
* Column update date in ISO 8601 format.
|
|
1535
|
+
*/
|
|
1536
|
+
$updatedAt: string;
|
|
1537
|
+
/**
|
|
1538
|
+
* The ID of the related table.
|
|
1539
|
+
*/
|
|
1540
|
+
relatedTable: string;
|
|
1541
|
+
/**
|
|
1542
|
+
* The type of the relationship.
|
|
1543
|
+
*/
|
|
1544
|
+
relationType: string;
|
|
1545
|
+
/**
|
|
1546
|
+
* Is the relationship two-way?
|
|
1547
|
+
*/
|
|
1548
|
+
twoWay: boolean;
|
|
1549
|
+
/**
|
|
1550
|
+
* The key of the two-way relationship.
|
|
1551
|
+
*/
|
|
1552
|
+
twoWayKey: string;
|
|
1553
|
+
/**
|
|
1554
|
+
* How deleting the parent document will propagate to child documents.
|
|
1555
|
+
*/
|
|
1556
|
+
onDelete: string;
|
|
1557
|
+
/**
|
|
1558
|
+
* Whether this is the parent or child side of the relationship
|
|
1559
|
+
*/
|
|
1560
|
+
side: string;
|
|
1561
|
+
};
|
|
983
1562
|
/**
|
|
984
1563
|
* Index
|
|
985
1564
|
*/
|
|
986
1565
|
export type Index = {
|
|
987
1566
|
/**
|
|
988
|
-
* Index
|
|
1567
|
+
* Index ID.
|
|
1568
|
+
*/
|
|
1569
|
+
$id: string;
|
|
1570
|
+
/**
|
|
1571
|
+
* Index creation date in ISO 8601 format.
|
|
1572
|
+
*/
|
|
1573
|
+
$createdAt: string;
|
|
1574
|
+
/**
|
|
1575
|
+
* Index update date in ISO 8601 format.
|
|
1576
|
+
*/
|
|
1577
|
+
$updatedAt: string;
|
|
1578
|
+
/**
|
|
1579
|
+
* Index key.
|
|
989
1580
|
*/
|
|
990
1581
|
key: string;
|
|
991
1582
|
/**
|
|
@@ -1012,6 +1603,15 @@ declare namespace Models {
|
|
|
1012
1603
|
* Index orders.
|
|
1013
1604
|
*/
|
|
1014
1605
|
orders?: string[];
|
|
1606
|
+
};
|
|
1607
|
+
/**
|
|
1608
|
+
* Index
|
|
1609
|
+
*/
|
|
1610
|
+
export type ColumnIndex = {
|
|
1611
|
+
/**
|
|
1612
|
+
* Index ID.
|
|
1613
|
+
*/
|
|
1614
|
+
$id: string;
|
|
1015
1615
|
/**
|
|
1016
1616
|
* Index creation date in ISO 8601 format.
|
|
1017
1617
|
*/
|
|
@@ -1020,6 +1620,71 @@ declare namespace Models {
|
|
|
1020
1620
|
* Index update date in ISO 8601 format.
|
|
1021
1621
|
*/
|
|
1022
1622
|
$updatedAt: string;
|
|
1623
|
+
/**
|
|
1624
|
+
* Index Key.
|
|
1625
|
+
*/
|
|
1626
|
+
key: string;
|
|
1627
|
+
/**
|
|
1628
|
+
* Index type.
|
|
1629
|
+
*/
|
|
1630
|
+
type: string;
|
|
1631
|
+
/**
|
|
1632
|
+
* Index status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1633
|
+
*/
|
|
1634
|
+
status: string;
|
|
1635
|
+
/**
|
|
1636
|
+
* Error message. Displays error generated on failure of creating or deleting an index.
|
|
1637
|
+
*/
|
|
1638
|
+
error: string;
|
|
1639
|
+
/**
|
|
1640
|
+
* Index columns.
|
|
1641
|
+
*/
|
|
1642
|
+
columns: string[];
|
|
1643
|
+
/**
|
|
1644
|
+
* Index columns length.
|
|
1645
|
+
*/
|
|
1646
|
+
lengths: number[];
|
|
1647
|
+
/**
|
|
1648
|
+
* Index orders.
|
|
1649
|
+
*/
|
|
1650
|
+
orders?: string[];
|
|
1651
|
+
};
|
|
1652
|
+
/**
|
|
1653
|
+
* Row
|
|
1654
|
+
*/
|
|
1655
|
+
export type Row = {
|
|
1656
|
+
/**
|
|
1657
|
+
* Row ID.
|
|
1658
|
+
*/
|
|
1659
|
+
$id: string;
|
|
1660
|
+
/**
|
|
1661
|
+
* Row automatically incrementing ID.
|
|
1662
|
+
*/
|
|
1663
|
+
$sequence: number;
|
|
1664
|
+
/**
|
|
1665
|
+
* Table ID.
|
|
1666
|
+
*/
|
|
1667
|
+
$tableId: string;
|
|
1668
|
+
/**
|
|
1669
|
+
* Database ID.
|
|
1670
|
+
*/
|
|
1671
|
+
$databaseId: string;
|
|
1672
|
+
/**
|
|
1673
|
+
* Row creation date in ISO 8601 format.
|
|
1674
|
+
*/
|
|
1675
|
+
$createdAt: string;
|
|
1676
|
+
/**
|
|
1677
|
+
* Row update date in ISO 8601 format.
|
|
1678
|
+
*/
|
|
1679
|
+
$updatedAt: string;
|
|
1680
|
+
/**
|
|
1681
|
+
* Row permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).
|
|
1682
|
+
*/
|
|
1683
|
+
$permissions: string[];
|
|
1684
|
+
};
|
|
1685
|
+
export type DefaultRow = Row & {
|
|
1686
|
+
[key: string]: any;
|
|
1687
|
+
[__default]: true;
|
|
1023
1688
|
};
|
|
1024
1689
|
/**
|
|
1025
1690
|
* Document
|
|
@@ -1058,11 +1723,6 @@ declare namespace Models {
|
|
|
1058
1723
|
[key: string]: any;
|
|
1059
1724
|
[__default]: true;
|
|
1060
1725
|
};
|
|
1061
|
-
export type DataWithoutDocumentKeys = {
|
|
1062
|
-
[K in string]: any;
|
|
1063
|
-
} & {
|
|
1064
|
-
[K in keyof Document]?: never;
|
|
1065
|
-
};
|
|
1066
1726
|
/**
|
|
1067
1727
|
* Log
|
|
1068
1728
|
*/
|
|
@@ -1344,11 +2004,6 @@ declare namespace Models {
|
|
|
1344
2004
|
[key: string]: any;
|
|
1345
2005
|
[__default]: true;
|
|
1346
2006
|
};
|
|
1347
|
-
export type DataWithoutPreferencesKeys = {
|
|
1348
|
-
[K in string]: any;
|
|
1349
|
-
} & {
|
|
1350
|
-
[K in keyof Preferences]?: never;
|
|
1351
|
-
};
|
|
1352
2007
|
/**
|
|
1353
2008
|
* Session
|
|
1354
2009
|
*/
|
|
@@ -1570,7 +2225,7 @@ declare namespace Models {
|
|
|
1570
2225
|
*/
|
|
1571
2226
|
country: string;
|
|
1572
2227
|
/**
|
|
1573
|
-
* Continent code. A two character continent code
|
|
2228
|
+
* Continent code. A two character continent code "AF" for Africa, "AN" for Antarctica, "AS" for Asia, "EU" for Europe, "NA" for North America, "OC" for Oceania, and "SA" for South America.
|
|
1574
2229
|
*/
|
|
1575
2230
|
continentCode: string;
|
|
1576
2231
|
/**
|
|
@@ -1845,7 +2500,7 @@ declare namespace Models {
|
|
|
1845
2500
|
*/
|
|
1846
2501
|
enabled: boolean;
|
|
1847
2502
|
/**
|
|
1848
|
-
* Is the site deployed with the latest configuration? This is set to false if you
|
|
2503
|
+
* Is the site deployed with the latest configuration? This is set to false if you've changed an environment variables, entrypoint, commands, or other settings that needs redeploy to be applied. When the value is false, redeploy the site to update it with the latest configuration.
|
|
1849
2504
|
*/
|
|
1850
2505
|
live: boolean;
|
|
1851
2506
|
/**
|
|
@@ -1857,7 +2512,7 @@ declare namespace Models {
|
|
|
1857
2512
|
*/
|
|
1858
2513
|
framework: string;
|
|
1859
2514
|
/**
|
|
1860
|
-
* Site
|
|
2515
|
+
* Site's active deployment ID.
|
|
1861
2516
|
*/
|
|
1862
2517
|
deploymentId: string;
|
|
1863
2518
|
/**
|
|
@@ -1873,7 +2528,7 @@ declare namespace Models {
|
|
|
1873
2528
|
*/
|
|
1874
2529
|
deploymentScreenshotDark: string;
|
|
1875
2530
|
/**
|
|
1876
|
-
* Site
|
|
2531
|
+
* Site's latest deployment ID.
|
|
1877
2532
|
*/
|
|
1878
2533
|
latestDeploymentId: string;
|
|
1879
2534
|
/**
|
|
@@ -1881,7 +2536,7 @@ declare namespace Models {
|
|
|
1881
2536
|
*/
|
|
1882
2537
|
latestDeploymentCreatedAt: string;
|
|
1883
2538
|
/**
|
|
1884
|
-
* Status of latest deployment. Possible values are
|
|
2539
|
+
* Status of latest deployment. Possible values are "waiting", "processing", "building", "ready", and "failed".
|
|
1885
2540
|
*/
|
|
1886
2541
|
latestDeploymentStatus: string;
|
|
1887
2542
|
/**
|
|
@@ -1970,7 +2625,7 @@ declare namespace Models {
|
|
|
1970
2625
|
*/
|
|
1971
2626
|
enabled: boolean;
|
|
1972
2627
|
/**
|
|
1973
|
-
* Is the function deployed with the latest configuration? This is set to false if you
|
|
2628
|
+
* Is the function deployed with the latest configuration? This is set to false if you've changed an environment variables, entrypoint, commands, or other settings that needs redeploy to be applied. When the value is false, redeploy the function to update it with the latest configuration.
|
|
1974
2629
|
*/
|
|
1975
2630
|
live: boolean;
|
|
1976
2631
|
/**
|
|
@@ -1982,7 +2637,7 @@ declare namespace Models {
|
|
|
1982
2637
|
*/
|
|
1983
2638
|
runtime: string;
|
|
1984
2639
|
/**
|
|
1985
|
-
* Function
|
|
2640
|
+
* Function's active deployment ID.
|
|
1986
2641
|
*/
|
|
1987
2642
|
deploymentId: string;
|
|
1988
2643
|
/**
|
|
@@ -1990,7 +2645,7 @@ declare namespace Models {
|
|
|
1990
2645
|
*/
|
|
1991
2646
|
deploymentCreatedAt: string;
|
|
1992
2647
|
/**
|
|
1993
|
-
* Function
|
|
2648
|
+
* Function's latest deployment ID.
|
|
1994
2649
|
*/
|
|
1995
2650
|
latestDeploymentId: string;
|
|
1996
2651
|
/**
|
|
@@ -1998,7 +2653,7 @@ declare namespace Models {
|
|
|
1998
2653
|
*/
|
|
1999
2654
|
latestDeploymentCreatedAt: string;
|
|
2000
2655
|
/**
|
|
2001
|
-
* Status of latest deployment. Possible values are
|
|
2656
|
+
* Status of latest deployment. Possible values are "waiting", "processing", "building", "ready", and "failed".
|
|
2002
2657
|
*/
|
|
2003
2658
|
latestDeploymentStatus: string;
|
|
2004
2659
|
/**
|
|
@@ -2206,7 +2861,7 @@ declare namespace Models {
|
|
|
2206
2861
|
*/
|
|
2207
2862
|
screenshotDark: string;
|
|
2208
2863
|
/**
|
|
2209
|
-
* The deployment status. Possible values are
|
|
2864
|
+
* The deployment status. Possible values are "waiting", "processing", "building", "ready", and "failed".
|
|
2210
2865
|
*/
|
|
2211
2866
|
status: string;
|
|
2212
2867
|
/**
|
|
@@ -2271,7 +2926,7 @@ declare namespace Models {
|
|
|
2271
2926
|
*/
|
|
2272
2927
|
$createdAt: string;
|
|
2273
2928
|
/**
|
|
2274
|
-
* Execution
|
|
2929
|
+
* Execution update date in ISO 8601 format.
|
|
2275
2930
|
*/
|
|
2276
2931
|
$updatedAt: string;
|
|
2277
2932
|
/**
|
|
@@ -2282,6 +2937,10 @@ declare namespace Models {
|
|
|
2282
2937
|
* Function ID.
|
|
2283
2938
|
*/
|
|
2284
2939
|
functionId: string;
|
|
2940
|
+
/**
|
|
2941
|
+
* Function's deployment ID used to create the execution.
|
|
2942
|
+
*/
|
|
2943
|
+
deploymentId: string;
|
|
2285
2944
|
/**
|
|
2286
2945
|
* The trigger that caused the function to execute. Possible values can be: `http`, `schedule`, or `event`.
|
|
2287
2946
|
*/
|
|
@@ -2360,11 +3019,11 @@ declare namespace Models {
|
|
|
2360
3019
|
*/
|
|
2361
3020
|
secret: boolean;
|
|
2362
3021
|
/**
|
|
2363
|
-
* Service to which the variable belongs. Possible values are
|
|
3022
|
+
* Service to which the variable belongs. Possible values are "project", "function"
|
|
2364
3023
|
*/
|
|
2365
3024
|
resourceType: string;
|
|
2366
3025
|
/**
|
|
2367
|
-
* ID of resource to which the variable belongs. If resourceType is
|
|
3026
|
+
* ID of resource to which the variable belongs. If resourceType is "project", it is empty. If resourceType is "function", it is ID of the function.
|
|
2368
3027
|
*/
|
|
2369
3028
|
resourceId: string;
|
|
2370
3029
|
};
|