@appwrite.io/console 0.2.0 → 0.4.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 +3 -3
- package/dist/cjs/sdk.js +3353 -1497
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +3350 -1498
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +3353 -1497
- package/docs/examples/account/create-anonymous-session.md +1 -1
- package/docs/examples/account/create-email-session.md +1 -1
- package/docs/examples/account/create-j-w-t.md +1 -1
- package/docs/examples/account/create-magic-u-r-l-session.md +1 -1
- package/docs/examples/account/create-o-auth2session.md +1 -1
- package/docs/examples/account/create-phone-session.md +1 -1
- package/docs/examples/account/create-phone-verification.md +1 -1
- package/docs/examples/account/create-recovery.md +1 -1
- package/docs/examples/account/create-verification.md +1 -1
- package/docs/examples/account/create.md +1 -1
- package/docs/examples/account/{create-with-invite-code.md → delete-identity.md} +2 -2
- package/docs/examples/account/delete-session.md +1 -1
- package/docs/examples/account/delete-sessions.md +1 -1
- package/docs/examples/account/get-prefs.md +1 -1
- package/docs/examples/account/get-session.md +1 -1
- package/docs/examples/account/get.md +1 -1
- package/docs/examples/account/list-identities.md +18 -0
- package/docs/examples/account/list-logs.md +1 -1
- package/docs/examples/account/list-sessions.md +1 -1
- package/docs/examples/account/update-email.md +1 -1
- package/docs/examples/account/update-magic-u-r-l-session.md +1 -1
- package/docs/examples/account/update-name.md +1 -1
- package/docs/examples/account/update-password.md +1 -1
- package/docs/examples/account/update-phone-session.md +1 -1
- package/docs/examples/account/update-phone-verification.md +1 -1
- package/docs/examples/account/update-phone.md +1 -1
- package/docs/examples/account/update-prefs.md +1 -1
- package/docs/examples/account/update-recovery.md +1 -1
- package/docs/examples/account/update-session.md +1 -1
- package/docs/examples/account/update-status.md +1 -1
- package/docs/examples/account/update-verification.md +1 -1
- package/docs/examples/assistant/chat.md +18 -0
- package/docs/examples/avatars/get-browser.md +1 -1
- package/docs/examples/avatars/get-credit-card.md +1 -1
- package/docs/examples/avatars/get-favicon.md +1 -1
- package/docs/examples/avatars/get-flag.md +1 -1
- package/docs/examples/avatars/get-image.md +1 -1
- package/docs/examples/avatars/get-initials.md +1 -1
- package/docs/examples/avatars/get-q-r.md +1 -1
- package/docs/examples/console/variables.md +1 -1
- package/docs/examples/databases/create-boolean-attribute.md +1 -1
- package/docs/examples/databases/create-collection.md +1 -1
- package/docs/examples/databases/create-datetime-attribute.md +1 -1
- package/docs/examples/databases/create-document.md +1 -1
- package/docs/examples/databases/create-email-attribute.md +1 -1
- package/docs/examples/databases/create-enum-attribute.md +1 -1
- package/docs/examples/databases/create-float-attribute.md +1 -1
- package/docs/examples/databases/create-index.md +1 -1
- package/docs/examples/databases/create-integer-attribute.md +1 -1
- package/docs/examples/databases/create-ip-attribute.md +1 -1
- package/docs/examples/databases/create-relationship-attribute.md +1 -1
- package/docs/examples/databases/create-string-attribute.md +1 -1
- package/docs/examples/databases/create-url-attribute.md +1 -1
- package/docs/examples/databases/create.md +1 -1
- package/docs/examples/databases/delete-attribute.md +1 -1
- package/docs/examples/databases/delete-collection.md +1 -1
- package/docs/examples/databases/delete-document.md +1 -1
- package/docs/examples/databases/delete-index.md +1 -1
- package/docs/examples/databases/delete.md +1 -1
- package/docs/examples/databases/get-attribute.md +1 -1
- package/docs/examples/databases/get-collection-usage.md +1 -1
- package/docs/examples/databases/get-collection.md +1 -1
- package/docs/examples/databases/get-database-usage.md +1 -1
- package/docs/examples/databases/get-document.md +1 -1
- package/docs/examples/databases/get-index.md +1 -1
- package/docs/examples/databases/get-usage.md +1 -1
- package/docs/examples/databases/get.md +1 -1
- package/docs/examples/databases/list-attributes.md +1 -1
- package/docs/examples/databases/list-collection-logs.md +1 -1
- package/docs/examples/databases/list-collections.md +1 -1
- package/docs/examples/databases/list-document-logs.md +1 -1
- package/docs/examples/databases/list-documents.md +1 -1
- package/docs/examples/databases/list-indexes.md +1 -1
- package/docs/examples/databases/list-logs.md +1 -1
- package/docs/examples/databases/list.md +1 -1
- package/docs/examples/databases/update-boolean-attribute.md +1 -1
- package/docs/examples/databases/update-collection.md +1 -1
- package/docs/examples/databases/update-datetime-attribute.md +1 -1
- package/docs/examples/databases/update-document.md +1 -1
- package/docs/examples/databases/update-email-attribute.md +1 -1
- package/docs/examples/databases/update-enum-attribute.md +1 -1
- package/docs/examples/databases/update-float-attribute.md +1 -1
- package/docs/examples/databases/update-integer-attribute.md +1 -1
- package/docs/examples/databases/update-ip-attribute.md +1 -1
- package/docs/examples/databases/update-relationship-attribute.md +1 -1
- package/docs/examples/databases/update-string-attribute.md +1 -1
- package/docs/examples/databases/update-url-attribute.md +1 -1
- package/docs/examples/databases/update.md +1 -1
- package/docs/examples/functions/create-build.md +1 -1
- package/docs/examples/functions/create-deployment.md +2 -2
- package/docs/examples/functions/create-execution.md +1 -1
- package/docs/examples/functions/create-variable.md +1 -1
- package/docs/examples/functions/create.md +2 -2
- package/docs/examples/functions/delete-deployment.md +1 -1
- package/docs/examples/functions/delete-variable.md +1 -1
- package/docs/examples/functions/delete.md +1 -1
- package/docs/examples/functions/download-deployment.md +14 -0
- package/docs/examples/functions/get-deployment.md +1 -1
- package/docs/examples/functions/get-execution.md +1 -1
- package/docs/examples/functions/get-function-usage.md +1 -1
- package/docs/examples/functions/get-usage.md +1 -1
- package/docs/examples/functions/get-variable.md +1 -1
- package/docs/examples/functions/get.md +1 -1
- package/docs/examples/functions/list-deployments.md +1 -1
- package/docs/examples/functions/list-executions.md +1 -1
- package/docs/examples/functions/list-runtimes.md +1 -1
- package/docs/examples/functions/list-variables.md +1 -1
- package/docs/examples/functions/list.md +1 -1
- package/docs/examples/functions/update-deployment.md +1 -1
- package/docs/examples/functions/update-variable.md +1 -1
- package/docs/examples/functions/update.md +1 -1
- package/docs/examples/graphql/mutation.md +1 -1
- package/docs/examples/graphql/query.md +1 -1
- package/docs/examples/health/get-antivirus.md +1 -1
- package/docs/examples/health/get-cache.md +1 -1
- package/docs/examples/health/get-d-b.md +1 -1
- package/docs/examples/health/get-pub-sub.md +1 -1
- package/docs/examples/health/get-queue-builds.md +18 -0
- package/docs/examples/health/get-queue-certificates.md +1 -1
- package/docs/examples/health/get-queue-databases.md +18 -0
- package/docs/examples/health/get-queue-deletes.md +18 -0
- package/docs/examples/health/get-queue-functions.md +1 -1
- package/docs/examples/health/get-queue-logs.md +1 -1
- package/docs/examples/health/get-queue-mails.md +18 -0
- package/docs/examples/health/get-queue-messaging.md +18 -0
- package/docs/examples/health/get-queue-migrations.md +18 -0
- package/docs/examples/health/get-queue-webhooks.md +1 -1
- package/docs/examples/health/get-queue.md +1 -1
- package/docs/examples/health/get-storage-local.md +1 -1
- package/docs/examples/health/get-time.md +1 -1
- package/docs/examples/health/get.md +1 -1
- package/docs/examples/locale/get.md +1 -1
- package/docs/examples/locale/list-codes.md +18 -0
- package/docs/examples/locale/list-continents.md +1 -1
- package/docs/examples/locale/list-countries-e-u.md +1 -1
- package/docs/examples/locale/list-countries-phones.md +1 -1
- package/docs/examples/locale/list-countries.md +1 -1
- package/docs/examples/locale/list-currencies.md +1 -1
- package/docs/examples/locale/list-languages.md +1 -1
- package/docs/examples/migrations/create-appwrite-migration.md +18 -0
- package/docs/examples/migrations/create-firebase-migration.md +18 -0
- package/docs/examples/migrations/create-firebase-o-auth-migration.md +18 -0
- package/docs/examples/migrations/create-n-host-migration.md +18 -0
- package/docs/examples/migrations/create-supabase-migration.md +18 -0
- package/docs/examples/migrations/delete-firebase-auth.md +18 -0
- package/docs/examples/migrations/delete.md +18 -0
- package/docs/examples/migrations/get-appwrite-report.md +18 -0
- package/docs/examples/migrations/get-firebase-report-o-auth.md +18 -0
- package/docs/examples/migrations/get-firebase-report.md +18 -0
- package/docs/examples/migrations/get-n-host-report.md +18 -0
- package/docs/examples/migrations/get-supabase-report.md +18 -0
- package/docs/examples/migrations/get.md +18 -0
- package/docs/examples/migrations/list-firebase-projects.md +18 -0
- package/docs/examples/migrations/list.md +18 -0
- package/docs/examples/migrations/retry.md +18 -0
- package/docs/examples/project/create-variable.md +18 -0
- package/docs/examples/project/delete-variable.md +18 -0
- package/docs/examples/project/get-usage.md +2 -2
- package/docs/examples/project/get-variable.md +18 -0
- package/docs/examples/project/list-variables.md +18 -0
- package/docs/examples/project/update-variable.md +18 -0
- package/docs/examples/projects/create-key.md +1 -1
- package/docs/examples/projects/create-platform.md +1 -1
- package/docs/examples/projects/create-webhook.md +1 -1
- package/docs/examples/projects/create.md +2 -2
- package/docs/examples/projects/delete-email-template.md +18 -0
- package/docs/examples/projects/delete-key.md +1 -1
- package/docs/examples/projects/delete-platform.md +1 -1
- package/docs/examples/projects/delete-sms-template.md +18 -0
- package/docs/examples/projects/delete-webhook.md +1 -1
- package/docs/examples/projects/delete.md +2 -2
- package/docs/examples/projects/get-email-template.md +18 -0
- package/docs/examples/projects/get-key.md +1 -1
- package/docs/examples/projects/get-platform.md +1 -1
- package/docs/examples/projects/get-sms-template.md +18 -0
- package/docs/examples/projects/get-webhook.md +1 -1
- package/docs/examples/projects/get.md +1 -1
- package/docs/examples/projects/list-keys.md +1 -1
- package/docs/examples/projects/list-platforms.md +1 -1
- package/docs/examples/projects/list-webhooks.md +1 -1
- package/docs/examples/projects/list.md +1 -1
- package/docs/examples/projects/update-auth-duration.md +1 -1
- package/docs/examples/projects/update-auth-limit.md +1 -1
- package/docs/examples/projects/update-auth-password-dictionary.md +1 -1
- package/docs/examples/projects/update-auth-password-history.md +1 -1
- package/docs/examples/projects/update-auth-sessions-limit.md +1 -1
- package/docs/examples/projects/update-auth-status.md +1 -1
- package/docs/examples/projects/update-email-template.md +18 -0
- package/docs/examples/projects/update-key.md +1 -1
- package/docs/examples/projects/update-o-auth2.md +1 -1
- package/docs/examples/projects/{delete-domain.md → update-personal-data-check.md} +2 -2
- package/docs/examples/projects/update-platform.md +1 -1
- package/docs/examples/projects/{create-domain.md → update-service-status-all.md} +2 -2
- package/docs/examples/projects/update-service-status.md +1 -1
- package/docs/examples/projects/update-sms-template.md +18 -0
- package/docs/examples/projects/{get-domain.md → update-smtp-configuration.md} +2 -2
- package/docs/examples/projects/{list-domains.md → update-team.md} +2 -2
- package/docs/examples/projects/update-webhook-signature.md +1 -1
- package/docs/examples/projects/update-webhook.md +1 -1
- package/docs/examples/projects/update.md +1 -1
- package/docs/examples/proxy/create-rule.md +18 -0
- package/docs/examples/proxy/delete-rule.md +18 -0
- package/docs/examples/proxy/get-rule.md +18 -0
- package/docs/examples/proxy/list-rules.md +18 -0
- package/docs/examples/proxy/update-rule-verification.md +18 -0
- package/docs/examples/storage/create-bucket.md +1 -1
- package/docs/examples/storage/create-file.md +1 -1
- package/docs/examples/storage/delete-bucket.md +1 -1
- package/docs/examples/storage/delete-file.md +1 -1
- package/docs/examples/storage/get-bucket-usage.md +1 -1
- package/docs/examples/storage/get-bucket.md +1 -1
- package/docs/examples/storage/get-file-download.md +1 -1
- package/docs/examples/storage/get-file-preview.md +1 -1
- package/docs/examples/storage/get-file-view.md +1 -1
- package/docs/examples/storage/get-file.md +1 -1
- package/docs/examples/storage/get-usage.md +1 -1
- package/docs/examples/storage/list-buckets.md +1 -1
- package/docs/examples/storage/list-files.md +1 -1
- package/docs/examples/storage/update-bucket.md +1 -1
- package/docs/examples/storage/update-file.md +1 -1
- package/docs/examples/teams/create-membership.md +2 -2
- package/docs/examples/teams/create.md +1 -1
- package/docs/examples/teams/delete-membership.md +1 -1
- package/docs/examples/teams/delete.md +1 -1
- package/docs/examples/teams/get-membership.md +1 -1
- package/docs/examples/teams/get-prefs.md +1 -1
- package/docs/examples/teams/get.md +1 -1
- package/docs/examples/teams/list-logs.md +1 -1
- package/docs/examples/teams/list-memberships.md +1 -1
- package/docs/examples/teams/list.md +1 -1
- package/docs/examples/teams/update-membership-status.md +1 -1
- package/docs/examples/teams/{update-membership-roles.md → update-membership.md} +2 -2
- package/docs/examples/teams/update-name.md +1 -1
- package/docs/examples/teams/update-prefs.md +1 -1
- package/docs/examples/users/create-argon2user.md +1 -1
- package/docs/examples/users/create-bcrypt-user.md +1 -1
- package/docs/examples/users/create-m-d5user.md +1 -1
- package/docs/examples/users/create-p-h-pass-user.md +1 -1
- package/docs/examples/users/create-s-h-a-user.md +1 -1
- package/docs/examples/users/create-scrypt-modified-user.md +1 -1
- package/docs/examples/users/create-scrypt-user.md +1 -1
- package/docs/examples/users/create.md +1 -1
- package/docs/examples/users/delete-identity.md +18 -0
- package/docs/examples/users/delete-session.md +1 -1
- package/docs/examples/users/delete-sessions.md +1 -1
- package/docs/examples/users/delete.md +1 -1
- package/docs/examples/users/get-prefs.md +1 -1
- package/docs/examples/users/get-usage.md +1 -1
- package/docs/examples/users/get.md +1 -1
- package/docs/examples/users/list-identities.md +18 -0
- package/docs/examples/users/list-logs.md +1 -1
- package/docs/examples/users/list-memberships.md +1 -1
- package/docs/examples/users/list-sessions.md +1 -1
- package/docs/examples/users/list.md +1 -1
- package/docs/examples/users/update-email-verification.md +1 -1
- package/docs/examples/users/update-email.md +1 -1
- package/docs/examples/users/update-labels.md +18 -0
- package/docs/examples/users/update-name.md +1 -1
- package/docs/examples/users/update-password.md +1 -1
- package/docs/examples/users/update-phone-verification.md +1 -1
- package/docs/examples/users/update-phone.md +1 -1
- package/docs/examples/users/update-prefs.md +1 -1
- package/docs/examples/users/update-status.md +1 -1
- package/docs/examples/vcs/create-repository-detection.md +18 -0
- package/docs/examples/vcs/create-repository.md +18 -0
- package/docs/examples/vcs/delete-installation.md +18 -0
- package/docs/examples/vcs/get-installation.md +18 -0
- package/docs/examples/vcs/get-repository.md +18 -0
- package/docs/examples/vcs/list-installations.md +18 -0
- package/docs/examples/vcs/list-repositories.md +18 -0
- package/docs/examples/vcs/list-repository-branches.md +18 -0
- package/docs/examples/vcs/update-external-deployments.md +18 -0
- package/package.json +3 -2
- package/src/client.ts +2 -2
- package/src/index.ts +4 -0
- package/src/models.ts +863 -233
- package/src/query.ts +1 -1
- package/src/role.ts +72 -6
- package/src/services/account.ts +1052 -1055
- package/src/services/assistant.ts +38 -0
- package/src/services/avatars.ts +338 -337
- package/src/services/console.ts +16 -16
- package/src/services/databases.ts +2170 -2140
- package/src/services/functions.ts +804 -657
- package/src/services/graphql.ts +47 -47
- package/src/services/health.ts +373 -204
- package/src/services/locale.ts +156 -137
- package/src/services/migrations.ts +707 -0
- package/src/services/project.ts +178 -20
- package/src/services/projects.ts +1511 -1256
- package/src/services/proxy.ts +150 -0
- package/src/services/storage.ts +572 -577
- package/src/services/teams.ts +498 -501
- package/src/services/users.ts +1091 -1001
- package/src/services/vcs.ts +272 -0
- package/types/index.d.ts +4 -0
- package/types/models.d.ts +863 -233
- package/types/role.d.ts +62 -0
- package/types/services/account.d.ts +116 -104
- package/types/services/assistant.d.ts +14 -0
- package/types/services/avatars.d.ts +18 -17
- package/types/services/console.d.ts +2 -2
- package/types/services/databases.d.ts +111 -105
- package/types/services/functions.d.ts +95 -55
- package/types/services/graphql.d.ts +4 -4
- package/types/services/health.d.ts +97 -26
- package/types/services/locale.d.ts +24 -14
- package/types/services/migrations.d.ts +185 -0
- package/types/services/project.d.ts +60 -3
- package/types/services/projects.d.ts +174 -104
- package/types/services/proxy.d.ts +59 -0
- package/types/services/storage.d.ts +29 -28
- package/types/services/teams.d.ts +36 -35
- package/types/services/users.d.ts +105 -66
- package/types/services/vcs.d.ts +97 -0
- package/docs/examples/projects/update-domain-verification.md +0 -18
package/src/models.ts
CHANGED
|
@@ -77,6 +77,19 @@ export namespace Models {
|
|
|
77
77
|
*/
|
|
78
78
|
sessions: Session[];
|
|
79
79
|
}
|
|
80
|
+
/**
|
|
81
|
+
* Identities List
|
|
82
|
+
*/
|
|
83
|
+
export type IdentityList = {
|
|
84
|
+
/**
|
|
85
|
+
* Total number of identities documents that matched your query.
|
|
86
|
+
*/
|
|
87
|
+
total: number;
|
|
88
|
+
/**
|
|
89
|
+
* List of identities.
|
|
90
|
+
*/
|
|
91
|
+
identities: Identity[];
|
|
92
|
+
}
|
|
80
93
|
/**
|
|
81
94
|
* Logs List
|
|
82
95
|
*/
|
|
@@ -155,6 +168,45 @@ export namespace Models {
|
|
|
155
168
|
*/
|
|
156
169
|
functions: Function[];
|
|
157
170
|
}
|
|
171
|
+
/**
|
|
172
|
+
* Installations List
|
|
173
|
+
*/
|
|
174
|
+
export type InstallationList = {
|
|
175
|
+
/**
|
|
176
|
+
* Total number of installations documents that matched your query.
|
|
177
|
+
*/
|
|
178
|
+
total: number;
|
|
179
|
+
/**
|
|
180
|
+
* List of installations.
|
|
181
|
+
*/
|
|
182
|
+
installations: Installation[];
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Provider Repositories List
|
|
186
|
+
*/
|
|
187
|
+
export type ProviderRepositoryList = {
|
|
188
|
+
/**
|
|
189
|
+
* Total number of providerRepositories documents that matched your query.
|
|
190
|
+
*/
|
|
191
|
+
total: number;
|
|
192
|
+
/**
|
|
193
|
+
* List of providerRepositories.
|
|
194
|
+
*/
|
|
195
|
+
providerRepositories: ProviderRepository[];
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* Branches List
|
|
199
|
+
*/
|
|
200
|
+
export type BranchList = {
|
|
201
|
+
/**
|
|
202
|
+
* Total number of branches documents that matched your query.
|
|
203
|
+
*/
|
|
204
|
+
total: number;
|
|
205
|
+
/**
|
|
206
|
+
* List of branches.
|
|
207
|
+
*/
|
|
208
|
+
branches: Branch[];
|
|
209
|
+
}
|
|
158
210
|
/**
|
|
159
211
|
* Runtimes List
|
|
160
212
|
*/
|
|
@@ -246,19 +298,6 @@ export namespace Models {
|
|
|
246
298
|
*/
|
|
247
299
|
platforms: Platform[];
|
|
248
300
|
}
|
|
249
|
-
/**
|
|
250
|
-
* Domains List
|
|
251
|
-
*/
|
|
252
|
-
export type DomainList = {
|
|
253
|
-
/**
|
|
254
|
-
* Total number of domains documents that matched your query.
|
|
255
|
-
*/
|
|
256
|
-
total: number;
|
|
257
|
-
/**
|
|
258
|
-
* List of domains.
|
|
259
|
-
*/
|
|
260
|
-
domains: Domain[];
|
|
261
|
-
}
|
|
262
301
|
/**
|
|
263
302
|
* Countries List
|
|
264
303
|
*/
|
|
@@ -337,6 +376,58 @@ export namespace Models {
|
|
|
337
376
|
*/
|
|
338
377
|
variables: Variable[];
|
|
339
378
|
}
|
|
379
|
+
/**
|
|
380
|
+
* Rule List
|
|
381
|
+
*/
|
|
382
|
+
export type ProxyRuleList = {
|
|
383
|
+
/**
|
|
384
|
+
* Total number of rules documents that matched your query.
|
|
385
|
+
*/
|
|
386
|
+
total: number;
|
|
387
|
+
/**
|
|
388
|
+
* List of rules.
|
|
389
|
+
*/
|
|
390
|
+
rules: ProxyRule[];
|
|
391
|
+
}
|
|
392
|
+
/**
|
|
393
|
+
* Locale codes list
|
|
394
|
+
*/
|
|
395
|
+
export type LocaleCodeList = {
|
|
396
|
+
/**
|
|
397
|
+
* Total number of localeCodes documents that matched your query.
|
|
398
|
+
*/
|
|
399
|
+
total: number;
|
|
400
|
+
/**
|
|
401
|
+
* List of localeCodes.
|
|
402
|
+
*/
|
|
403
|
+
localeCodes: LocaleCode[];
|
|
404
|
+
}
|
|
405
|
+
/**
|
|
406
|
+
* Migrations List
|
|
407
|
+
*/
|
|
408
|
+
export type MigrationList = {
|
|
409
|
+
/**
|
|
410
|
+
* Total number of migrations documents that matched your query.
|
|
411
|
+
*/
|
|
412
|
+
total: number;
|
|
413
|
+
/**
|
|
414
|
+
* List of migrations.
|
|
415
|
+
*/
|
|
416
|
+
migrations: Migration[];
|
|
417
|
+
}
|
|
418
|
+
/**
|
|
419
|
+
* Migrations Firebase Projects List
|
|
420
|
+
*/
|
|
421
|
+
export type FirebaseProjectList = {
|
|
422
|
+
/**
|
|
423
|
+
* Total number of projects documents that matched your query.
|
|
424
|
+
*/
|
|
425
|
+
total: number;
|
|
426
|
+
/**
|
|
427
|
+
* List of projects.
|
|
428
|
+
*/
|
|
429
|
+
projects: FirebaseProject[];
|
|
430
|
+
}
|
|
340
431
|
/**
|
|
341
432
|
* Database
|
|
342
433
|
*/
|
|
@@ -357,6 +448,10 @@ export namespace Models {
|
|
|
357
448
|
* Database update date in ISO 8601 format.
|
|
358
449
|
*/
|
|
359
450
|
$updatedAt: string;
|
|
451
|
+
/**
|
|
452
|
+
* 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.
|
|
453
|
+
*/
|
|
454
|
+
enabled: boolean;
|
|
360
455
|
}
|
|
361
456
|
/**
|
|
362
457
|
* Collection
|
|
@@ -375,7 +470,7 @@ export namespace Models {
|
|
|
375
470
|
*/
|
|
376
471
|
$updatedAt: string;
|
|
377
472
|
/**
|
|
378
|
-
* Collection permissions. [Learn more about permissions](/docs/permissions).
|
|
473
|
+
* Collection permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).
|
|
379
474
|
*/
|
|
380
475
|
$permissions: string[];
|
|
381
476
|
/**
|
|
@@ -387,11 +482,11 @@ export namespace Models {
|
|
|
387
482
|
*/
|
|
388
483
|
name: string;
|
|
389
484
|
/**
|
|
390
|
-
* Collection enabled.
|
|
485
|
+
* Collection enabled. Can be 'enabled' or 'disabled'. When disabled, the collection is inaccessible to users, but remains accessible to Server SDKs using API keys.
|
|
391
486
|
*/
|
|
392
487
|
enabled: boolean;
|
|
393
488
|
/**
|
|
394
|
-
* Whether document-level permissions are enabled. [Learn more about permissions](/docs/permissions).
|
|
489
|
+
* Whether document-level permissions are enabled. [Learn more about permissions](https://appwrite.io/docs/permissions).
|
|
395
490
|
*/
|
|
396
491
|
documentSecurity: boolean;
|
|
397
492
|
/**
|
|
@@ -432,6 +527,10 @@ export namespace Models {
|
|
|
432
527
|
* Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
433
528
|
*/
|
|
434
529
|
status: string;
|
|
530
|
+
/**
|
|
531
|
+
* Error message. Displays error generated on failure of creating or deleting an attribute.
|
|
532
|
+
*/
|
|
533
|
+
error: string;
|
|
435
534
|
/**
|
|
436
535
|
* Is attribute required?
|
|
437
536
|
*/
|
|
@@ -465,6 +564,10 @@ export namespace Models {
|
|
|
465
564
|
* Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
466
565
|
*/
|
|
467
566
|
status: string;
|
|
567
|
+
/**
|
|
568
|
+
* Error message. Displays error generated on failure of creating or deleting an attribute.
|
|
569
|
+
*/
|
|
570
|
+
error: string;
|
|
468
571
|
/**
|
|
469
572
|
* Is attribute required?
|
|
470
573
|
*/
|
|
@@ -502,6 +605,10 @@ export namespace Models {
|
|
|
502
605
|
* Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
503
606
|
*/
|
|
504
607
|
status: string;
|
|
608
|
+
/**
|
|
609
|
+
* Error message. Displays error generated on failure of creating or deleting an attribute.
|
|
610
|
+
*/
|
|
611
|
+
error: string;
|
|
505
612
|
/**
|
|
506
613
|
* Is attribute required?
|
|
507
614
|
*/
|
|
@@ -539,6 +646,10 @@ export namespace Models {
|
|
|
539
646
|
* Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
540
647
|
*/
|
|
541
648
|
status: string;
|
|
649
|
+
/**
|
|
650
|
+
* Error message. Displays error generated on failure of creating or deleting an attribute.
|
|
651
|
+
*/
|
|
652
|
+
error: string;
|
|
542
653
|
/**
|
|
543
654
|
* Is attribute required?
|
|
544
655
|
*/
|
|
@@ -568,6 +679,10 @@ export namespace Models {
|
|
|
568
679
|
* Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
569
680
|
*/
|
|
570
681
|
status: string;
|
|
682
|
+
/**
|
|
683
|
+
* Error message. Displays error generated on failure of creating or deleting an attribute.
|
|
684
|
+
*/
|
|
685
|
+
error: string;
|
|
571
686
|
/**
|
|
572
687
|
* Is attribute required?
|
|
573
688
|
*/
|
|
@@ -601,6 +716,10 @@ export namespace Models {
|
|
|
601
716
|
* Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
602
717
|
*/
|
|
603
718
|
status: string;
|
|
719
|
+
/**
|
|
720
|
+
* Error message. Displays error generated on failure of creating or deleting an attribute.
|
|
721
|
+
*/
|
|
722
|
+
error: string;
|
|
604
723
|
/**
|
|
605
724
|
* Is attribute required?
|
|
606
725
|
*/
|
|
@@ -638,6 +757,10 @@ export namespace Models {
|
|
|
638
757
|
* Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
639
758
|
*/
|
|
640
759
|
status: string;
|
|
760
|
+
/**
|
|
761
|
+
* Error message. Displays error generated on failure of creating or deleting an attribute.
|
|
762
|
+
*/
|
|
763
|
+
error: string;
|
|
641
764
|
/**
|
|
642
765
|
* Is attribute required?
|
|
643
766
|
*/
|
|
@@ -671,6 +794,10 @@ export namespace Models {
|
|
|
671
794
|
* Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
672
795
|
*/
|
|
673
796
|
status: string;
|
|
797
|
+
/**
|
|
798
|
+
* Error message. Displays error generated on failure of creating or deleting an attribute.
|
|
799
|
+
*/
|
|
800
|
+
error: string;
|
|
674
801
|
/**
|
|
675
802
|
* Is attribute required?
|
|
676
803
|
*/
|
|
@@ -704,6 +831,10 @@ export namespace Models {
|
|
|
704
831
|
* Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
705
832
|
*/
|
|
706
833
|
status: string;
|
|
834
|
+
/**
|
|
835
|
+
* Error message. Displays error generated on failure of creating or deleting an attribute.
|
|
836
|
+
*/
|
|
837
|
+
error: string;
|
|
707
838
|
/**
|
|
708
839
|
* Is attribute required?
|
|
709
840
|
*/
|
|
@@ -737,6 +868,10 @@ export namespace Models {
|
|
|
737
868
|
* Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
738
869
|
*/
|
|
739
870
|
status: string;
|
|
871
|
+
/**
|
|
872
|
+
* Error message. Displays error generated on failure of creating or deleting an attribute.
|
|
873
|
+
*/
|
|
874
|
+
error: string;
|
|
740
875
|
/**
|
|
741
876
|
* Is attribute required?
|
|
742
877
|
*/
|
|
@@ -786,6 +921,10 @@ export namespace Models {
|
|
|
786
921
|
* Index status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
787
922
|
*/
|
|
788
923
|
status: string;
|
|
924
|
+
/**
|
|
925
|
+
* Error message. Displays error generated on failure of creating or deleting an index.
|
|
926
|
+
*/
|
|
927
|
+
error: string;
|
|
789
928
|
/**
|
|
790
929
|
* Index attributes.
|
|
791
930
|
*/
|
|
@@ -820,7 +959,7 @@ export namespace Models {
|
|
|
820
959
|
*/
|
|
821
960
|
$updatedAt: string;
|
|
822
961
|
/**
|
|
823
|
-
* Document permissions. [Learn more about permissions](/docs/permissions).
|
|
962
|
+
* Document permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).
|
|
824
963
|
*/
|
|
825
964
|
$permissions: string[];
|
|
826
965
|
[key: string]: any;
|
|
@@ -954,6 +1093,10 @@ export namespace Models {
|
|
|
954
1093
|
* User status. Pass `true` for enabled and `false` for disabled.
|
|
955
1094
|
*/
|
|
956
1095
|
status: boolean;
|
|
1096
|
+
/**
|
|
1097
|
+
* Labels for the user.
|
|
1098
|
+
*/
|
|
1099
|
+
labels: string[];
|
|
957
1100
|
/**
|
|
958
1101
|
* Password update time in ISO 8601 format.
|
|
959
1102
|
*/
|
|
@@ -978,6 +1121,10 @@ export namespace Models {
|
|
|
978
1121
|
* User preferences as a key-value object
|
|
979
1122
|
*/
|
|
980
1123
|
prefs: Preferences;
|
|
1124
|
+
/**
|
|
1125
|
+
* Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.
|
|
1126
|
+
*/
|
|
1127
|
+
accessedAt: string;
|
|
981
1128
|
}
|
|
982
1129
|
/**
|
|
983
1130
|
* AlgoMD5
|
|
@@ -1082,59 +1229,6 @@ export namespace Models {
|
|
|
1082
1229
|
*/
|
|
1083
1230
|
threads: number;
|
|
1084
1231
|
}
|
|
1085
|
-
/**
|
|
1086
|
-
* Account
|
|
1087
|
-
*/
|
|
1088
|
-
export type Account<Preferences extends Models.Preferences> = {
|
|
1089
|
-
/**
|
|
1090
|
-
* User ID.
|
|
1091
|
-
*/
|
|
1092
|
-
$id: string;
|
|
1093
|
-
/**
|
|
1094
|
-
* User creation date in ISO 8601 format.
|
|
1095
|
-
*/
|
|
1096
|
-
$createdAt: string;
|
|
1097
|
-
/**
|
|
1098
|
-
* User update date in ISO 8601 format.
|
|
1099
|
-
*/
|
|
1100
|
-
$updatedAt: string;
|
|
1101
|
-
/**
|
|
1102
|
-
* User name.
|
|
1103
|
-
*/
|
|
1104
|
-
name: string;
|
|
1105
|
-
/**
|
|
1106
|
-
* User registration date in ISO 8601 format.
|
|
1107
|
-
*/
|
|
1108
|
-
registration: string;
|
|
1109
|
-
/**
|
|
1110
|
-
* User status. Pass `true` for enabled and `false` for disabled.
|
|
1111
|
-
*/
|
|
1112
|
-
status: boolean;
|
|
1113
|
-
/**
|
|
1114
|
-
* Password update time in ISO 8601 format.
|
|
1115
|
-
*/
|
|
1116
|
-
passwordUpdate: string;
|
|
1117
|
-
/**
|
|
1118
|
-
* User email address.
|
|
1119
|
-
*/
|
|
1120
|
-
email: string;
|
|
1121
|
-
/**
|
|
1122
|
-
* User phone number in E.164 format.
|
|
1123
|
-
*/
|
|
1124
|
-
phone: string;
|
|
1125
|
-
/**
|
|
1126
|
-
* Email verification status.
|
|
1127
|
-
*/
|
|
1128
|
-
emailVerification: boolean;
|
|
1129
|
-
/**
|
|
1130
|
-
* Phone verification status.
|
|
1131
|
-
*/
|
|
1132
|
-
phoneVerification: boolean;
|
|
1133
|
-
/**
|
|
1134
|
-
* User preferences as a key-value object
|
|
1135
|
-
*/
|
|
1136
|
-
prefs: Preferences;
|
|
1137
|
-
}
|
|
1138
1232
|
/**
|
|
1139
1233
|
* Preferences
|
|
1140
1234
|
*/
|
|
@@ -1246,6 +1340,51 @@ export namespace Models {
|
|
|
1246
1340
|
*/
|
|
1247
1341
|
current: boolean;
|
|
1248
1342
|
}
|
|
1343
|
+
/**
|
|
1344
|
+
* Identity
|
|
1345
|
+
*/
|
|
1346
|
+
export type Identity = {
|
|
1347
|
+
/**
|
|
1348
|
+
* Identity ID.
|
|
1349
|
+
*/
|
|
1350
|
+
$id: string;
|
|
1351
|
+
/**
|
|
1352
|
+
* Identity creation date in ISO 8601 format.
|
|
1353
|
+
*/
|
|
1354
|
+
$createdAt: string;
|
|
1355
|
+
/**
|
|
1356
|
+
* Identity update date in ISO 8601 format.
|
|
1357
|
+
*/
|
|
1358
|
+
$updatedAt: string;
|
|
1359
|
+
/**
|
|
1360
|
+
* User ID.
|
|
1361
|
+
*/
|
|
1362
|
+
userId: string;
|
|
1363
|
+
/**
|
|
1364
|
+
* Identity Provider.
|
|
1365
|
+
*/
|
|
1366
|
+
provider: string;
|
|
1367
|
+
/**
|
|
1368
|
+
* ID of the User in the Identity Provider.
|
|
1369
|
+
*/
|
|
1370
|
+
providerUid: string;
|
|
1371
|
+
/**
|
|
1372
|
+
* Email of the User in the Identity Provider.
|
|
1373
|
+
*/
|
|
1374
|
+
providerEmail: string;
|
|
1375
|
+
/**
|
|
1376
|
+
* Identity Provider Access Token.
|
|
1377
|
+
*/
|
|
1378
|
+
providerAccessToken: string;
|
|
1379
|
+
/**
|
|
1380
|
+
* The date of when the access token expires in ISO 8601 format.
|
|
1381
|
+
*/
|
|
1382
|
+
providerAccessTokenExpiry: string;
|
|
1383
|
+
/**
|
|
1384
|
+
* Identity Provider Refresh Token.
|
|
1385
|
+
*/
|
|
1386
|
+
providerRefreshToken: string;
|
|
1387
|
+
}
|
|
1249
1388
|
/**
|
|
1250
1389
|
* Token
|
|
1251
1390
|
*/
|
|
@@ -1313,6 +1452,19 @@ export namespace Models {
|
|
|
1313
1452
|
*/
|
|
1314
1453
|
currency: string;
|
|
1315
1454
|
}
|
|
1455
|
+
/**
|
|
1456
|
+
* LocaleCode
|
|
1457
|
+
*/
|
|
1458
|
+
export type LocaleCode = {
|
|
1459
|
+
/**
|
|
1460
|
+
* Locale codes in [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes)
|
|
1461
|
+
*/
|
|
1462
|
+
code: string;
|
|
1463
|
+
/**
|
|
1464
|
+
* Locale name
|
|
1465
|
+
*/
|
|
1466
|
+
name: string;
|
|
1467
|
+
}
|
|
1316
1468
|
/**
|
|
1317
1469
|
* File
|
|
1318
1470
|
*/
|
|
@@ -1334,7 +1486,7 @@ export namespace Models {
|
|
|
1334
1486
|
*/
|
|
1335
1487
|
$updatedAt: string;
|
|
1336
1488
|
/**
|
|
1337
|
-
* File permissions. [Learn more about permissions](/docs/permissions).
|
|
1489
|
+
* File permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).
|
|
1338
1490
|
*/
|
|
1339
1491
|
$permissions: string[];
|
|
1340
1492
|
/**
|
|
@@ -1379,11 +1531,11 @@ export namespace Models {
|
|
|
1379
1531
|
*/
|
|
1380
1532
|
$updatedAt: string;
|
|
1381
1533
|
/**
|
|
1382
|
-
* Bucket permissions. [Learn more about permissions](/docs/permissions).
|
|
1534
|
+
* Bucket permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).
|
|
1383
1535
|
*/
|
|
1384
1536
|
$permissions: string[];
|
|
1385
1537
|
/**
|
|
1386
|
-
* Whether file-level security is enabled. [Learn more about permissions](/docs/permissions).
|
|
1538
|
+
* Whether file-level security is enabled. [Learn more about permissions](https://appwrite.io/docs/permissions).
|
|
1387
1539
|
*/
|
|
1388
1540
|
fileSecurity: boolean;
|
|
1389
1541
|
/**
|
|
@@ -1525,6 +1677,14 @@ export namespace Models {
|
|
|
1525
1677
|
* Function enabled.
|
|
1526
1678
|
*/
|
|
1527
1679
|
enabled: boolean;
|
|
1680
|
+
/**
|
|
1681
|
+
* 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.
|
|
1682
|
+
*/
|
|
1683
|
+
live: boolean;
|
|
1684
|
+
/**
|
|
1685
|
+
* Whether executions will be logged. When set to false, executions will not be logged, but will reduce resource used by your Appwrite project.
|
|
1686
|
+
*/
|
|
1687
|
+
logging: boolean;
|
|
1528
1688
|
/**
|
|
1529
1689
|
* Function execution runtime.
|
|
1530
1690
|
*/
|
|
@@ -1549,103 +1709,255 @@ export namespace Models {
|
|
|
1549
1709
|
* Function execution timeout in seconds.
|
|
1550
1710
|
*/
|
|
1551
1711
|
timeout: number;
|
|
1552
|
-
}
|
|
1553
|
-
/**
|
|
1554
|
-
* Runtime
|
|
1555
|
-
*/
|
|
1556
|
-
export type Runtime = {
|
|
1557
1712
|
/**
|
|
1558
|
-
*
|
|
1713
|
+
* The entrypoint file used to execute the deployment.
|
|
1559
1714
|
*/
|
|
1560
|
-
|
|
1715
|
+
entrypoint: string;
|
|
1561
1716
|
/**
|
|
1562
|
-
*
|
|
1717
|
+
* The build command used to build the deployment.
|
|
1563
1718
|
*/
|
|
1564
|
-
|
|
1719
|
+
commands: string;
|
|
1565
1720
|
/**
|
|
1566
|
-
*
|
|
1721
|
+
* Version of Open Runtimes used for the function.
|
|
1567
1722
|
*/
|
|
1568
1723
|
version: string;
|
|
1569
1724
|
/**
|
|
1570
|
-
*
|
|
1725
|
+
* Function VCS (Version Control System) installation id.
|
|
1571
1726
|
*/
|
|
1572
|
-
|
|
1727
|
+
installationId: string;
|
|
1573
1728
|
/**
|
|
1574
|
-
*
|
|
1729
|
+
* VCS (Version Control System) Repository ID
|
|
1575
1730
|
*/
|
|
1576
|
-
|
|
1731
|
+
providerRepositoryId: string;
|
|
1577
1732
|
/**
|
|
1578
|
-
*
|
|
1733
|
+
* VCS (Version Control System) branch name
|
|
1579
1734
|
*/
|
|
1580
|
-
|
|
1735
|
+
providerBranch: string;
|
|
1581
1736
|
/**
|
|
1582
|
-
*
|
|
1737
|
+
* Path to function in VCS (Version Control System) repository
|
|
1583
1738
|
*/
|
|
1584
|
-
|
|
1739
|
+
providerRootDirectory: string;
|
|
1740
|
+
/**
|
|
1741
|
+
* Is VCS (Version Control System) connection is in silent mode? When in silence mode, no comments will be posted on the repository pull or merge requests
|
|
1742
|
+
*/
|
|
1743
|
+
providerSilentMode: boolean;
|
|
1585
1744
|
}
|
|
1586
1745
|
/**
|
|
1587
|
-
*
|
|
1746
|
+
* Installation
|
|
1588
1747
|
*/
|
|
1589
|
-
export type
|
|
1748
|
+
export type Installation = {
|
|
1590
1749
|
/**
|
|
1591
|
-
*
|
|
1750
|
+
* Function ID.
|
|
1592
1751
|
*/
|
|
1593
1752
|
$id: string;
|
|
1594
1753
|
/**
|
|
1595
|
-
*
|
|
1754
|
+
* Function creation date in ISO 8601 format.
|
|
1596
1755
|
*/
|
|
1597
1756
|
$createdAt: string;
|
|
1598
1757
|
/**
|
|
1599
|
-
*
|
|
1758
|
+
* Function update date in ISO 8601 format.
|
|
1600
1759
|
*/
|
|
1601
1760
|
$updatedAt: string;
|
|
1602
1761
|
/**
|
|
1603
|
-
*
|
|
1762
|
+
* VCS (Version Control System) provider name.
|
|
1604
1763
|
*/
|
|
1605
|
-
|
|
1764
|
+
provider: string;
|
|
1606
1765
|
/**
|
|
1607
|
-
*
|
|
1766
|
+
* VCS (Version Control System) organization name.
|
|
1608
1767
|
*/
|
|
1609
|
-
|
|
1768
|
+
organization: string;
|
|
1610
1769
|
/**
|
|
1611
|
-
*
|
|
1770
|
+
* VCS (Version Control System) installation ID.
|
|
1612
1771
|
*/
|
|
1613
|
-
|
|
1772
|
+
providerInstallationId: string;
|
|
1773
|
+
}
|
|
1774
|
+
/**
|
|
1775
|
+
* ProviderRepository
|
|
1776
|
+
*/
|
|
1777
|
+
export type ProviderRepository = {
|
|
1614
1778
|
/**
|
|
1615
|
-
*
|
|
1779
|
+
* VCS (Version Control System) repository ID.
|
|
1616
1780
|
*/
|
|
1617
|
-
|
|
1781
|
+
id: string;
|
|
1618
1782
|
/**
|
|
1619
|
-
*
|
|
1783
|
+
* VCS (Version Control System) repository name.
|
|
1620
1784
|
*/
|
|
1621
|
-
|
|
1785
|
+
name: string;
|
|
1622
1786
|
/**
|
|
1623
|
-
*
|
|
1787
|
+
* VCS (Version Control System) organization name
|
|
1624
1788
|
*/
|
|
1625
|
-
|
|
1789
|
+
organization: string;
|
|
1626
1790
|
/**
|
|
1627
|
-
*
|
|
1791
|
+
* VCS (Version Control System) provider name.
|
|
1628
1792
|
*/
|
|
1629
|
-
|
|
1793
|
+
provider: string;
|
|
1630
1794
|
/**
|
|
1631
|
-
*
|
|
1795
|
+
* Is VCS (Version Control System) repository private?
|
|
1632
1796
|
*/
|
|
1633
|
-
|
|
1797
|
+
private: boolean;
|
|
1634
1798
|
/**
|
|
1635
|
-
*
|
|
1799
|
+
* Auto-detected runtime suggestion. Empty if getting response of getRuntime().
|
|
1636
1800
|
*/
|
|
1637
|
-
|
|
1801
|
+
runtime: string;
|
|
1638
1802
|
/**
|
|
1639
|
-
*
|
|
1803
|
+
* Last commit date in ISO 8601 format.
|
|
1640
1804
|
*/
|
|
1641
|
-
|
|
1805
|
+
pushedAt: string;
|
|
1642
1806
|
}
|
|
1643
1807
|
/**
|
|
1644
|
-
*
|
|
1808
|
+
* Detection
|
|
1645
1809
|
*/
|
|
1646
|
-
export type
|
|
1810
|
+
export type Detection = {
|
|
1647
1811
|
/**
|
|
1648
|
-
*
|
|
1812
|
+
* Runtime
|
|
1813
|
+
*/
|
|
1814
|
+
runtime: string;
|
|
1815
|
+
}
|
|
1816
|
+
/**
|
|
1817
|
+
* Branch
|
|
1818
|
+
*/
|
|
1819
|
+
export type Branch = {
|
|
1820
|
+
/**
|
|
1821
|
+
* Branch Name.
|
|
1822
|
+
*/
|
|
1823
|
+
name: string;
|
|
1824
|
+
}
|
|
1825
|
+
/**
|
|
1826
|
+
* Runtime
|
|
1827
|
+
*/
|
|
1828
|
+
export type Runtime = {
|
|
1829
|
+
/**
|
|
1830
|
+
* Runtime ID.
|
|
1831
|
+
*/
|
|
1832
|
+
$id: string;
|
|
1833
|
+
/**
|
|
1834
|
+
* Runtime Name.
|
|
1835
|
+
*/
|
|
1836
|
+
name: string;
|
|
1837
|
+
/**
|
|
1838
|
+
* Runtime version.
|
|
1839
|
+
*/
|
|
1840
|
+
version: string;
|
|
1841
|
+
/**
|
|
1842
|
+
* Base Docker image used to build the runtime.
|
|
1843
|
+
*/
|
|
1844
|
+
base: string;
|
|
1845
|
+
/**
|
|
1846
|
+
* Image name of Docker Hub.
|
|
1847
|
+
*/
|
|
1848
|
+
image: string;
|
|
1849
|
+
/**
|
|
1850
|
+
* Name of the logo image.
|
|
1851
|
+
*/
|
|
1852
|
+
logo: string;
|
|
1853
|
+
/**
|
|
1854
|
+
* List of supported architectures.
|
|
1855
|
+
*/
|
|
1856
|
+
supports: string[];
|
|
1857
|
+
}
|
|
1858
|
+
/**
|
|
1859
|
+
* Deployment
|
|
1860
|
+
*/
|
|
1861
|
+
export type Deployment = {
|
|
1862
|
+
/**
|
|
1863
|
+
* Deployment ID.
|
|
1864
|
+
*/
|
|
1865
|
+
$id: string;
|
|
1866
|
+
/**
|
|
1867
|
+
* Deployment creation date in ISO 8601 format.
|
|
1868
|
+
*/
|
|
1869
|
+
$createdAt: string;
|
|
1870
|
+
/**
|
|
1871
|
+
* Deployment update date in ISO 8601 format.
|
|
1872
|
+
*/
|
|
1873
|
+
$updatedAt: string;
|
|
1874
|
+
/**
|
|
1875
|
+
* Type of deployment.
|
|
1876
|
+
*/
|
|
1877
|
+
type: string;
|
|
1878
|
+
/**
|
|
1879
|
+
* Resource ID.
|
|
1880
|
+
*/
|
|
1881
|
+
resourceId: string;
|
|
1882
|
+
/**
|
|
1883
|
+
* Resource type.
|
|
1884
|
+
*/
|
|
1885
|
+
resourceType: string;
|
|
1886
|
+
/**
|
|
1887
|
+
* The entrypoint file to use to execute the deployment code.
|
|
1888
|
+
*/
|
|
1889
|
+
entrypoint: string;
|
|
1890
|
+
/**
|
|
1891
|
+
* The code size in bytes.
|
|
1892
|
+
*/
|
|
1893
|
+
size: number;
|
|
1894
|
+
/**
|
|
1895
|
+
* The current build ID.
|
|
1896
|
+
*/
|
|
1897
|
+
buildId: string;
|
|
1898
|
+
/**
|
|
1899
|
+
* Whether the deployment should be automatically activated.
|
|
1900
|
+
*/
|
|
1901
|
+
activate: boolean;
|
|
1902
|
+
/**
|
|
1903
|
+
* The deployment status. Possible values are "processing", "building", "waiting", "ready", and "failed".
|
|
1904
|
+
*/
|
|
1905
|
+
status: string;
|
|
1906
|
+
/**
|
|
1907
|
+
* The build logs.
|
|
1908
|
+
*/
|
|
1909
|
+
buildLogs: string;
|
|
1910
|
+
/**
|
|
1911
|
+
* The current build time in seconds.
|
|
1912
|
+
*/
|
|
1913
|
+
buildTime: number;
|
|
1914
|
+
/**
|
|
1915
|
+
* The name of the vcs provider repository
|
|
1916
|
+
*/
|
|
1917
|
+
providerRepositoryName: string;
|
|
1918
|
+
/**
|
|
1919
|
+
* The name of the vcs provider repository owner
|
|
1920
|
+
*/
|
|
1921
|
+
providerRepositoryOwner: string;
|
|
1922
|
+
/**
|
|
1923
|
+
* The url of the vcs provider repository
|
|
1924
|
+
*/
|
|
1925
|
+
providerRepositoryUrl: string;
|
|
1926
|
+
/**
|
|
1927
|
+
* The branch of the vcs repository
|
|
1928
|
+
*/
|
|
1929
|
+
providerBranch: string;
|
|
1930
|
+
/**
|
|
1931
|
+
* The commit hash of the vcs commit
|
|
1932
|
+
*/
|
|
1933
|
+
providerCommitHash: string;
|
|
1934
|
+
/**
|
|
1935
|
+
* The url of vcs commit author
|
|
1936
|
+
*/
|
|
1937
|
+
providerCommitAuthorUrl: string;
|
|
1938
|
+
/**
|
|
1939
|
+
* The name of vcs commit author
|
|
1940
|
+
*/
|
|
1941
|
+
providerCommitAuthor: string;
|
|
1942
|
+
/**
|
|
1943
|
+
* The commit message
|
|
1944
|
+
*/
|
|
1945
|
+
providerCommitMessage: string;
|
|
1946
|
+
/**
|
|
1947
|
+
* The url of the vcs commit
|
|
1948
|
+
*/
|
|
1949
|
+
providerCommitUrl: string;
|
|
1950
|
+
/**
|
|
1951
|
+
* The branch of the vcs repository
|
|
1952
|
+
*/
|
|
1953
|
+
providerBranchUrl: string;
|
|
1954
|
+
}
|
|
1955
|
+
/**
|
|
1956
|
+
* Execution
|
|
1957
|
+
*/
|
|
1958
|
+
export type Execution = {
|
|
1959
|
+
/**
|
|
1960
|
+
* Execution ID.
|
|
1649
1961
|
*/
|
|
1650
1962
|
$id: string;
|
|
1651
1963
|
/**
|
|
@@ -1673,23 +1985,39 @@ export namespace Models {
|
|
|
1673
1985
|
*/
|
|
1674
1986
|
status: string;
|
|
1675
1987
|
/**
|
|
1676
|
-
*
|
|
1988
|
+
* HTTP request method type.
|
|
1989
|
+
*/
|
|
1990
|
+
requestMethod: string;
|
|
1991
|
+
/**
|
|
1992
|
+
* HTTP request path and query.
|
|
1993
|
+
*/
|
|
1994
|
+
requestPath: string;
|
|
1995
|
+
/**
|
|
1996
|
+
* HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.
|
|
1677
1997
|
*/
|
|
1678
|
-
|
|
1998
|
+
requestHeaders: Headers[];
|
|
1679
1999
|
/**
|
|
1680
|
-
*
|
|
2000
|
+
* HTTP response status code.
|
|
1681
2001
|
*/
|
|
1682
|
-
|
|
2002
|
+
responseStatusCode: number;
|
|
1683
2003
|
/**
|
|
1684
|
-
*
|
|
2004
|
+
* HTTP response body. This will return empty unless execution is created as synchronous.
|
|
1685
2005
|
*/
|
|
1686
|
-
|
|
2006
|
+
responseBody: string;
|
|
1687
2007
|
/**
|
|
1688
|
-
*
|
|
2008
|
+
* HTTP response headers as a key-value object. This will return only whitelisted headers. All headers are returned if execution is created as synchronous.
|
|
1689
2009
|
*/
|
|
1690
|
-
|
|
2010
|
+
responseHeaders: Headers[];
|
|
1691
2011
|
/**
|
|
1692
|
-
*
|
|
2012
|
+
* 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.
|
|
2013
|
+
*/
|
|
2014
|
+
logs: string;
|
|
2015
|
+
/**
|
|
2016
|
+
* 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.
|
|
2017
|
+
*/
|
|
2018
|
+
errors: string;
|
|
2019
|
+
/**
|
|
2020
|
+
* Function execution duration in seconds.
|
|
1693
2021
|
*/
|
|
1694
2022
|
duration: number;
|
|
1695
2023
|
}
|
|
@@ -1773,6 +2101,10 @@ export namespace Models {
|
|
|
1773
2101
|
* Whether or not to check user's password against most commonly used passwords.
|
|
1774
2102
|
*/
|
|
1775
2103
|
authPasswordDictionary: boolean;
|
|
2104
|
+
/**
|
|
2105
|
+
* Whether or not to check the user password for similarity with their personal data.
|
|
2106
|
+
*/
|
|
2107
|
+
authPersonalDataCheck: boolean;
|
|
1776
2108
|
/**
|
|
1777
2109
|
* List of Providers.
|
|
1778
2110
|
*/
|
|
@@ -1790,9 +2122,41 @@ export namespace Models {
|
|
|
1790
2122
|
*/
|
|
1791
2123
|
keys: Key[];
|
|
1792
2124
|
/**
|
|
1793
|
-
*
|
|
2125
|
+
* Status for custom SMTP
|
|
2126
|
+
*/
|
|
2127
|
+
smtpEnabled: boolean;
|
|
2128
|
+
/**
|
|
2129
|
+
* SMTP sender name
|
|
1794
2130
|
*/
|
|
1795
|
-
|
|
2131
|
+
smtpSenderName: string;
|
|
2132
|
+
/**
|
|
2133
|
+
* SMTP sender email
|
|
2134
|
+
*/
|
|
2135
|
+
smtpSenderEmail: string;
|
|
2136
|
+
/**
|
|
2137
|
+
* SMTP reply to email
|
|
2138
|
+
*/
|
|
2139
|
+
smtpReplyTo: string;
|
|
2140
|
+
/**
|
|
2141
|
+
* SMTP server host name
|
|
2142
|
+
*/
|
|
2143
|
+
smtpHost: string;
|
|
2144
|
+
/**
|
|
2145
|
+
* SMTP server port
|
|
2146
|
+
*/
|
|
2147
|
+
smtpPort: number;
|
|
2148
|
+
/**
|
|
2149
|
+
* SMTP server username
|
|
2150
|
+
*/
|
|
2151
|
+
smtpUsername: string;
|
|
2152
|
+
/**
|
|
2153
|
+
* SMTP server password
|
|
2154
|
+
*/
|
|
2155
|
+
smtpPassword: string;
|
|
2156
|
+
/**
|
|
2157
|
+
* SMTP server secure protocol
|
|
2158
|
+
*/
|
|
2159
|
+
smtpSecure: string;
|
|
1796
2160
|
/**
|
|
1797
2161
|
* Email/Password auth method status
|
|
1798
2162
|
*/
|
|
@@ -1936,7 +2300,7 @@ export namespace Models {
|
|
|
1936
2300
|
*/
|
|
1937
2301
|
secret: string;
|
|
1938
2302
|
/**
|
|
1939
|
-
* Most recent access date in ISO 8601 format.
|
|
2303
|
+
* Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.
|
|
1940
2304
|
*/
|
|
1941
2305
|
accessedAt: string;
|
|
1942
2306
|
/**
|
|
@@ -1944,47 +2308,14 @@ export namespace Models {
|
|
|
1944
2308
|
*/
|
|
1945
2309
|
sdks: string[];
|
|
1946
2310
|
}
|
|
1947
|
-
/**
|
|
1948
|
-
* Domain
|
|
1949
|
-
*/
|
|
1950
|
-
export type Domain = {
|
|
1951
|
-
/**
|
|
1952
|
-
* Domain ID.
|
|
1953
|
-
*/
|
|
1954
|
-
$id: string;
|
|
1955
|
-
/**
|
|
1956
|
-
* Domain creation date in ISO 8601 format.
|
|
1957
|
-
*/
|
|
1958
|
-
$createdAt: string;
|
|
1959
|
-
/**
|
|
1960
|
-
* Domain update date in ISO 8601 format.
|
|
1961
|
-
*/
|
|
1962
|
-
$updatedAt: string;
|
|
1963
|
-
/**
|
|
1964
|
-
* Domain name.
|
|
1965
|
-
*/
|
|
1966
|
-
domain: string;
|
|
1967
|
-
/**
|
|
1968
|
-
* Registerable domain name.
|
|
1969
|
-
*/
|
|
1970
|
-
registerable: string;
|
|
1971
|
-
/**
|
|
1972
|
-
* TLD name.
|
|
1973
|
-
*/
|
|
1974
|
-
tld: string;
|
|
1975
|
-
/**
|
|
1976
|
-
* Verification process status.
|
|
1977
|
-
*/
|
|
1978
|
-
verification: boolean;
|
|
1979
|
-
/**
|
|
1980
|
-
* Certificate ID.
|
|
1981
|
-
*/
|
|
1982
|
-
certificateId: string;
|
|
1983
|
-
}
|
|
1984
2311
|
/**
|
|
1985
2312
|
* Provider
|
|
1986
2313
|
*/
|
|
1987
2314
|
export type Provider = {
|
|
2315
|
+
/**
|
|
2316
|
+
* Provider.
|
|
2317
|
+
*/
|
|
2318
|
+
key: string;
|
|
1988
2319
|
/**
|
|
1989
2320
|
* Provider name.
|
|
1990
2321
|
*/
|
|
@@ -2072,9 +2403,13 @@ export namespace Models {
|
|
|
2072
2403
|
*/
|
|
2073
2404
|
value: string;
|
|
2074
2405
|
/**
|
|
2075
|
-
*
|
|
2406
|
+
* Service to which the variable belongs. Possible values are "project", "function"
|
|
2076
2407
|
*/
|
|
2077
|
-
|
|
2408
|
+
resourceType: string;
|
|
2409
|
+
/**
|
|
2410
|
+
* 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.
|
|
2411
|
+
*/
|
|
2412
|
+
resourceId: string;
|
|
2078
2413
|
}
|
|
2079
2414
|
/**
|
|
2080
2415
|
* Country
|
|
@@ -2243,145 +2578,229 @@ export namespace Models {
|
|
|
2243
2578
|
*/
|
|
2244
2579
|
export type UsageDatabases = {
|
|
2245
2580
|
/**
|
|
2246
|
-
*
|
|
2581
|
+
* Time range of the usage stats.
|
|
2247
2582
|
*/
|
|
2248
2583
|
range: string;
|
|
2249
2584
|
/**
|
|
2250
|
-
*
|
|
2585
|
+
* Total aggregated number of databases.
|
|
2251
2586
|
*/
|
|
2252
|
-
databasesTotal:
|
|
2587
|
+
databasesTotal: number;
|
|
2253
2588
|
/**
|
|
2254
|
-
*
|
|
2589
|
+
* Total aggregated number of collections.
|
|
2255
2590
|
*/
|
|
2256
|
-
collectionsTotal:
|
|
2591
|
+
collectionsTotal: number;
|
|
2257
2592
|
/**
|
|
2258
|
-
*
|
|
2593
|
+
* Total aggregated number of documents.
|
|
2259
2594
|
*/
|
|
2260
|
-
documentsTotal:
|
|
2595
|
+
documentsTotal: number;
|
|
2596
|
+
/**
|
|
2597
|
+
* Aggregated number of databases per period.
|
|
2598
|
+
*/
|
|
2599
|
+
databases: Metric[];
|
|
2600
|
+
/**
|
|
2601
|
+
* Aggregated number of collections per period.
|
|
2602
|
+
*/
|
|
2603
|
+
collections: Metric[];
|
|
2604
|
+
/**
|
|
2605
|
+
* Aggregated number of documents per period.
|
|
2606
|
+
*/
|
|
2607
|
+
documents: Metric[];
|
|
2261
2608
|
}
|
|
2262
2609
|
/**
|
|
2263
2610
|
* UsageDatabase
|
|
2264
2611
|
*/
|
|
2265
2612
|
export type UsageDatabase = {
|
|
2266
2613
|
/**
|
|
2267
|
-
*
|
|
2614
|
+
* Time range of the usage stats.
|
|
2268
2615
|
*/
|
|
2269
2616
|
range: string;
|
|
2270
2617
|
/**
|
|
2271
|
-
*
|
|
2618
|
+
* Total aggregated number of collections.
|
|
2619
|
+
*/
|
|
2620
|
+
collectionsTotal: number;
|
|
2621
|
+
/**
|
|
2622
|
+
* Total aggregated number of documents.
|
|
2272
2623
|
*/
|
|
2273
|
-
|
|
2624
|
+
documentsTotal: number;
|
|
2274
2625
|
/**
|
|
2275
|
-
* Aggregated
|
|
2626
|
+
* Aggregated number of collections per period.
|
|
2276
2627
|
*/
|
|
2277
|
-
|
|
2628
|
+
collections: Metric[];
|
|
2629
|
+
/**
|
|
2630
|
+
* Aggregated number of documents per period.
|
|
2631
|
+
*/
|
|
2632
|
+
documents: Metric[];
|
|
2278
2633
|
}
|
|
2279
2634
|
/**
|
|
2280
2635
|
* UsageCollection
|
|
2281
2636
|
*/
|
|
2282
2637
|
export type UsageCollection = {
|
|
2283
2638
|
/**
|
|
2284
|
-
*
|
|
2639
|
+
* Time range of the usage stats.
|
|
2285
2640
|
*/
|
|
2286
2641
|
range: string;
|
|
2287
2642
|
/**
|
|
2288
|
-
*
|
|
2643
|
+
* Total aggregated number of of documents.
|
|
2644
|
+
*/
|
|
2645
|
+
documentsTotal: number;
|
|
2646
|
+
/**
|
|
2647
|
+
* Aggregated number of documents per period.
|
|
2289
2648
|
*/
|
|
2290
|
-
|
|
2649
|
+
documents: Metric[];
|
|
2291
2650
|
}
|
|
2292
2651
|
/**
|
|
2293
2652
|
* UsageUsers
|
|
2294
2653
|
*/
|
|
2295
2654
|
export type UsageUsers = {
|
|
2296
2655
|
/**
|
|
2297
|
-
*
|
|
2656
|
+
* Time range of the usage stats.
|
|
2298
2657
|
*/
|
|
2299
2658
|
range: string;
|
|
2300
2659
|
/**
|
|
2301
|
-
*
|
|
2660
|
+
* Total aggregated number of statistics of users.
|
|
2661
|
+
*/
|
|
2662
|
+
usersTotal: number;
|
|
2663
|
+
/**
|
|
2664
|
+
* Total aggregated number of active sessions.
|
|
2302
2665
|
*/
|
|
2303
|
-
|
|
2666
|
+
sessionsTotal: number;
|
|
2304
2667
|
/**
|
|
2305
|
-
* Aggregated
|
|
2668
|
+
* Aggregated number of users per period.
|
|
2306
2669
|
*/
|
|
2307
|
-
|
|
2670
|
+
users: Metric[];
|
|
2671
|
+
/**
|
|
2672
|
+
* Aggregated number of active sessions per period.
|
|
2673
|
+
*/
|
|
2674
|
+
sessions: Metric[];
|
|
2308
2675
|
}
|
|
2309
2676
|
/**
|
|
2310
2677
|
* StorageUsage
|
|
2311
2678
|
*/
|
|
2312
2679
|
export type UsageStorage = {
|
|
2313
2680
|
/**
|
|
2314
|
-
*
|
|
2681
|
+
* Time range of the usage stats.
|
|
2315
2682
|
*/
|
|
2316
2683
|
range: string;
|
|
2317
2684
|
/**
|
|
2318
|
-
*
|
|
2685
|
+
* Total aggregated number of buckets
|
|
2686
|
+
*/
|
|
2687
|
+
bucketsTotal: number;
|
|
2688
|
+
/**
|
|
2689
|
+
* Total aggregated number of files.
|
|
2690
|
+
*/
|
|
2691
|
+
filesTotal: number;
|
|
2692
|
+
/**
|
|
2693
|
+
* Total aggregated number of files storage (in bytes).
|
|
2694
|
+
*/
|
|
2695
|
+
filesStorageTotal: number;
|
|
2696
|
+
/**
|
|
2697
|
+
* Aggregated number of buckets per period.
|
|
2319
2698
|
*/
|
|
2320
|
-
|
|
2699
|
+
buckets: Metric[];
|
|
2321
2700
|
/**
|
|
2322
|
-
* Aggregated
|
|
2701
|
+
* Aggregated number of files per period.
|
|
2323
2702
|
*/
|
|
2324
|
-
|
|
2703
|
+
files: Metric[];
|
|
2325
2704
|
/**
|
|
2326
|
-
* Aggregated
|
|
2705
|
+
* Aggregated number of files storage (in bytes) per period .
|
|
2327
2706
|
*/
|
|
2328
|
-
|
|
2707
|
+
storage: Metric[];
|
|
2329
2708
|
}
|
|
2330
2709
|
/**
|
|
2331
2710
|
* UsageBuckets
|
|
2332
2711
|
*/
|
|
2333
2712
|
export type UsageBuckets = {
|
|
2334
2713
|
/**
|
|
2335
|
-
*
|
|
2714
|
+
* Time range of the usage stats.
|
|
2336
2715
|
*/
|
|
2337
2716
|
range: string;
|
|
2338
2717
|
/**
|
|
2339
|
-
*
|
|
2718
|
+
* Total aggregated number of bucket files.
|
|
2340
2719
|
*/
|
|
2341
|
-
filesTotal:
|
|
2720
|
+
filesTotal: number;
|
|
2342
2721
|
/**
|
|
2343
|
-
*
|
|
2722
|
+
* Total aggregated number of bucket files storage (in bytes).
|
|
2344
2723
|
*/
|
|
2345
|
-
|
|
2724
|
+
filesStorageTotal: number;
|
|
2725
|
+
/**
|
|
2726
|
+
* Aggregated number of bucket files per period.
|
|
2727
|
+
*/
|
|
2728
|
+
files: Metric[];
|
|
2729
|
+
/**
|
|
2730
|
+
* Aggregated number of bucket storage files (in bytes) per period.
|
|
2731
|
+
*/
|
|
2732
|
+
storage: Metric[];
|
|
2346
2733
|
}
|
|
2347
2734
|
/**
|
|
2348
2735
|
* UsageFunctions
|
|
2349
2736
|
*/
|
|
2350
2737
|
export type UsageFunctions = {
|
|
2351
2738
|
/**
|
|
2352
|
-
*
|
|
2739
|
+
* Time range of the usage stats.
|
|
2353
2740
|
*/
|
|
2354
2741
|
range: string;
|
|
2355
2742
|
/**
|
|
2356
|
-
*
|
|
2743
|
+
* Total aggregated number of functions.
|
|
2744
|
+
*/
|
|
2745
|
+
functionsTotal: number;
|
|
2746
|
+
/**
|
|
2747
|
+
* Total aggregated number of functions deployments.
|
|
2748
|
+
*/
|
|
2749
|
+
deploymentsTotal: number;
|
|
2750
|
+
/**
|
|
2751
|
+
* Total aggregated sum of functions deployment storage.
|
|
2752
|
+
*/
|
|
2753
|
+
deploymentsStorageTotal: number;
|
|
2754
|
+
/**
|
|
2755
|
+
* Total aggregated number of functions build.
|
|
2756
|
+
*/
|
|
2757
|
+
buildsTotal: number;
|
|
2758
|
+
/**
|
|
2759
|
+
* total aggregated sum of functions build storage.
|
|
2760
|
+
*/
|
|
2761
|
+
buildsStorageTotal: number;
|
|
2762
|
+
/**
|
|
2763
|
+
* Total aggregated sum of functions build compute time.
|
|
2764
|
+
*/
|
|
2765
|
+
buildsTimeTotal: number;
|
|
2766
|
+
/**
|
|
2767
|
+
* Total aggregated number of functions execution.
|
|
2768
|
+
*/
|
|
2769
|
+
executionsTotal: number;
|
|
2770
|
+
/**
|
|
2771
|
+
* Total aggregated sum of functions execution compute time.
|
|
2772
|
+
*/
|
|
2773
|
+
executionsTimeTotal: number;
|
|
2774
|
+
/**
|
|
2775
|
+
* Aggregated number of functions per period.
|
|
2357
2776
|
*/
|
|
2358
|
-
|
|
2777
|
+
functions: Metric[];
|
|
2359
2778
|
/**
|
|
2360
|
-
* Aggregated
|
|
2779
|
+
* Aggregated number of functions deployment per period.
|
|
2361
2780
|
*/
|
|
2362
|
-
|
|
2781
|
+
deployments: Metric[];
|
|
2363
2782
|
/**
|
|
2364
|
-
* Aggregated
|
|
2783
|
+
* Aggregated number of functions deployment storage per period.
|
|
2365
2784
|
*/
|
|
2366
2785
|
deploymentsStorage: Metric[];
|
|
2367
2786
|
/**
|
|
2368
|
-
* Aggregated
|
|
2787
|
+
* Aggregated number of functions build per period.
|
|
2369
2788
|
*/
|
|
2370
|
-
|
|
2789
|
+
builds: Metric[];
|
|
2371
2790
|
/**
|
|
2372
|
-
* Aggregated
|
|
2791
|
+
* Aggregated sum of functions build storage per period.
|
|
2373
2792
|
*/
|
|
2374
2793
|
buildsStorage: Metric[];
|
|
2375
2794
|
/**
|
|
2376
|
-
* Aggregated
|
|
2795
|
+
* Aggregated sum of functions build compute time per period.
|
|
2377
2796
|
*/
|
|
2378
2797
|
buildsTime: Metric[];
|
|
2379
2798
|
/**
|
|
2380
|
-
* Aggregated
|
|
2799
|
+
* Aggregated number of functions execution per period.
|
|
2381
2800
|
*/
|
|
2382
|
-
|
|
2801
|
+
executions: Metric[];
|
|
2383
2802
|
/**
|
|
2384
|
-
* Aggregated
|
|
2803
|
+
* Aggregated number of functions execution compute time per period.
|
|
2385
2804
|
*/
|
|
2386
2805
|
executionsTime: Metric[];
|
|
2387
2806
|
}
|
|
@@ -2390,41 +2809,141 @@ export namespace Models {
|
|
|
2390
2809
|
*/
|
|
2391
2810
|
export type UsageProject = {
|
|
2392
2811
|
/**
|
|
2393
|
-
*
|
|
2812
|
+
* Total aggregated number of function executions.
|
|
2394
2813
|
*/
|
|
2395
|
-
|
|
2814
|
+
executionsTotal: number;
|
|
2815
|
+
/**
|
|
2816
|
+
* Total aggregated number of documents.
|
|
2817
|
+
*/
|
|
2818
|
+
documentsTotal: number;
|
|
2819
|
+
/**
|
|
2820
|
+
* Total aggregated number of databases.
|
|
2821
|
+
*/
|
|
2822
|
+
databasesTotal: number;
|
|
2823
|
+
/**
|
|
2824
|
+
* Total aggregated number of users.
|
|
2825
|
+
*/
|
|
2826
|
+
usersTotal: number;
|
|
2827
|
+
/**
|
|
2828
|
+
* Total aggregated sum of files storage size (in bytes).
|
|
2829
|
+
*/
|
|
2830
|
+
filesStorageTotal: number;
|
|
2831
|
+
/**
|
|
2832
|
+
* Total aggregated number of buckets.
|
|
2833
|
+
*/
|
|
2834
|
+
bucketsTotal: number;
|
|
2835
|
+
/**
|
|
2836
|
+
* Aggregated number of requests per period.
|
|
2837
|
+
*/
|
|
2838
|
+
requests: string[];
|
|
2839
|
+
/**
|
|
2840
|
+
* Aggregated number of consumed bandwidth per period.
|
|
2841
|
+
*/
|
|
2842
|
+
network: string[];
|
|
2843
|
+
}
|
|
2844
|
+
/**
|
|
2845
|
+
* Headers
|
|
2846
|
+
*/
|
|
2847
|
+
export type Headers = {
|
|
2848
|
+
/**
|
|
2849
|
+
* Header name.
|
|
2850
|
+
*/
|
|
2851
|
+
name: string;
|
|
2852
|
+
/**
|
|
2853
|
+
* Header value.
|
|
2854
|
+
*/
|
|
2855
|
+
value: string;
|
|
2856
|
+
}
|
|
2857
|
+
/**
|
|
2858
|
+
* Rule
|
|
2859
|
+
*/
|
|
2860
|
+
export type ProxyRule = {
|
|
2861
|
+
/**
|
|
2862
|
+
* Rule ID.
|
|
2863
|
+
*/
|
|
2864
|
+
$id: string;
|
|
2865
|
+
/**
|
|
2866
|
+
* Rule creation date in ISO 8601 format.
|
|
2867
|
+
*/
|
|
2868
|
+
$createdAt: string;
|
|
2869
|
+
/**
|
|
2870
|
+
* Rule update date in ISO 8601 format.
|
|
2871
|
+
*/
|
|
2872
|
+
$updatedAt: string;
|
|
2873
|
+
/**
|
|
2874
|
+
* Domain name.
|
|
2875
|
+
*/
|
|
2876
|
+
domain: string;
|
|
2877
|
+
/**
|
|
2878
|
+
* Action definition for the rule. Possible values are "api", "function", or "redirect"
|
|
2879
|
+
*/
|
|
2880
|
+
resourceType: string;
|
|
2396
2881
|
/**
|
|
2397
|
-
*
|
|
2882
|
+
* ID of resource for the action type. If resourceType is "api" or "url", it is empty. If resourceType is "function", it is ID of the function.
|
|
2398
2883
|
*/
|
|
2399
|
-
|
|
2884
|
+
resourceId: string;
|
|
2885
|
+
/**
|
|
2886
|
+
* Domain verification status. Possible values are "created", "verifying", "verified" and "unverified"
|
|
2887
|
+
*/
|
|
2888
|
+
status: string;
|
|
2889
|
+
/**
|
|
2890
|
+
* Certificate generation logs. This will return an empty string if generation did not run, or succeeded.
|
|
2891
|
+
*/
|
|
2892
|
+
logs: string;
|
|
2893
|
+
/**
|
|
2894
|
+
* Certificate auto-renewal date in ISO 8601 format.
|
|
2895
|
+
*/
|
|
2896
|
+
renewAt: string;
|
|
2897
|
+
}
|
|
2898
|
+
/**
|
|
2899
|
+
* SmsTemplate
|
|
2900
|
+
*/
|
|
2901
|
+
export type SmsTemplate = {
|
|
2400
2902
|
/**
|
|
2401
|
-
*
|
|
2903
|
+
* Template type
|
|
2402
2904
|
*/
|
|
2403
|
-
|
|
2905
|
+
type: string;
|
|
2906
|
+
/**
|
|
2907
|
+
* Template locale
|
|
2908
|
+
*/
|
|
2909
|
+
locale: string;
|
|
2910
|
+
/**
|
|
2911
|
+
* Template message
|
|
2912
|
+
*/
|
|
2913
|
+
message: string;
|
|
2914
|
+
}
|
|
2915
|
+
/**
|
|
2916
|
+
* EmailTemplate
|
|
2917
|
+
*/
|
|
2918
|
+
export type EmailTemplate = {
|
|
2919
|
+
/**
|
|
2920
|
+
* Template type
|
|
2921
|
+
*/
|
|
2922
|
+
type: string;
|
|
2404
2923
|
/**
|
|
2405
|
-
*
|
|
2924
|
+
* Template locale
|
|
2406
2925
|
*/
|
|
2407
|
-
|
|
2926
|
+
locale: string;
|
|
2408
2927
|
/**
|
|
2409
|
-
*
|
|
2928
|
+
* Template message
|
|
2410
2929
|
*/
|
|
2411
|
-
|
|
2930
|
+
message: string;
|
|
2412
2931
|
/**
|
|
2413
|
-
*
|
|
2932
|
+
* Name of the sender
|
|
2414
2933
|
*/
|
|
2415
|
-
|
|
2934
|
+
senderName: string;
|
|
2416
2935
|
/**
|
|
2417
|
-
*
|
|
2936
|
+
* Email of the sender
|
|
2418
2937
|
*/
|
|
2419
|
-
|
|
2938
|
+
senderEmail: string;
|
|
2420
2939
|
/**
|
|
2421
|
-
*
|
|
2940
|
+
* Reply to email address
|
|
2422
2941
|
*/
|
|
2423
|
-
|
|
2942
|
+
replyTo: string;
|
|
2424
2943
|
/**
|
|
2425
|
-
*
|
|
2944
|
+
* Email subject
|
|
2426
2945
|
*/
|
|
2427
|
-
|
|
2946
|
+
subject: string;
|
|
2428
2947
|
}
|
|
2429
2948
|
/**
|
|
2430
2949
|
* Console Variables
|
|
@@ -2446,5 +2965,116 @@ export namespace Models {
|
|
|
2446
2965
|
* Defines if usage stats are enabled. This value is set to 'enabled' by default, to disable the usage stats set the value to 'disabled'.
|
|
2447
2966
|
*/
|
|
2448
2967
|
_APP_USAGE_STATS: string;
|
|
2968
|
+
/**
|
|
2969
|
+
* Defines if VCS (Version Control System) is enabled.
|
|
2970
|
+
*/
|
|
2971
|
+
_APP_VCS_ENABLED: boolean;
|
|
2972
|
+
/**
|
|
2973
|
+
* Defines if main domain is configured. If so, custom domains can be created.
|
|
2974
|
+
*/
|
|
2975
|
+
_APP_DOMAIN_ENABLED: boolean;
|
|
2976
|
+
/**
|
|
2977
|
+
* Defines if AI assistant is enabled.
|
|
2978
|
+
*/
|
|
2979
|
+
_APP_ASSISTANT_ENABLED: boolean;
|
|
2980
|
+
}
|
|
2981
|
+
/**
|
|
2982
|
+
* Migration
|
|
2983
|
+
*/
|
|
2984
|
+
export type Migration = {
|
|
2985
|
+
/**
|
|
2986
|
+
* Migration ID.
|
|
2987
|
+
*/
|
|
2988
|
+
$id: string;
|
|
2989
|
+
/**
|
|
2990
|
+
* Variable creation date in ISO 8601 format.
|
|
2991
|
+
*/
|
|
2992
|
+
$createdAt: string;
|
|
2993
|
+
/**
|
|
2994
|
+
* Variable creation date in ISO 8601 format.
|
|
2995
|
+
*/
|
|
2996
|
+
$updatedAt: string;
|
|
2997
|
+
/**
|
|
2998
|
+
* Migration status ( pending, processing, failed, completed )
|
|
2999
|
+
*/
|
|
3000
|
+
status: string;
|
|
3001
|
+
/**
|
|
3002
|
+
* Migration stage ( init, processing, source-check, destination-check, migrating, finished )
|
|
3003
|
+
*/
|
|
3004
|
+
stage: string;
|
|
3005
|
+
/**
|
|
3006
|
+
* A string containing the type of source of the migration.
|
|
3007
|
+
*/
|
|
3008
|
+
source: string;
|
|
3009
|
+
/**
|
|
3010
|
+
* Resources to migration.
|
|
3011
|
+
*/
|
|
3012
|
+
resources: string[];
|
|
3013
|
+
/**
|
|
3014
|
+
* A group of counters that represent the total progress of the migration.
|
|
3015
|
+
*/
|
|
3016
|
+
statusCounters: object;
|
|
3017
|
+
/**
|
|
3018
|
+
* An array of objects containing the report data of the resources that were migrated.
|
|
3019
|
+
*/
|
|
3020
|
+
resourceData: object;
|
|
3021
|
+
/**
|
|
3022
|
+
* All errors that occurred during the migration process.
|
|
3023
|
+
*/
|
|
3024
|
+
errors: string[];
|
|
3025
|
+
}
|
|
3026
|
+
/**
|
|
3027
|
+
* Migration Report
|
|
3028
|
+
*/
|
|
3029
|
+
export type MigrationReport = {
|
|
3030
|
+
/**
|
|
3031
|
+
* Number of users to be migrated.
|
|
3032
|
+
*/
|
|
3033
|
+
user: number;
|
|
3034
|
+
/**
|
|
3035
|
+
* Number of teams to be migrated.
|
|
3036
|
+
*/
|
|
3037
|
+
team: number;
|
|
3038
|
+
/**
|
|
3039
|
+
* Number of databases to be migrated.
|
|
3040
|
+
*/
|
|
3041
|
+
database: number;
|
|
3042
|
+
/**
|
|
3043
|
+
* Number of documents to be migrated.
|
|
3044
|
+
*/
|
|
3045
|
+
document: number;
|
|
3046
|
+
/**
|
|
3047
|
+
* Number of files to be migrated.
|
|
3048
|
+
*/
|
|
3049
|
+
file: number;
|
|
3050
|
+
/**
|
|
3051
|
+
* Number of buckets to be migrated.
|
|
3052
|
+
*/
|
|
3053
|
+
bucket: number;
|
|
3054
|
+
/**
|
|
3055
|
+
* Number of functions to be migrated.
|
|
3056
|
+
*/
|
|
3057
|
+
function: number;
|
|
3058
|
+
/**
|
|
3059
|
+
* Size of files to be migrated in mb.
|
|
3060
|
+
*/
|
|
3061
|
+
size: number;
|
|
3062
|
+
/**
|
|
3063
|
+
* Version of the Appwrite instance to be migrated.
|
|
3064
|
+
*/
|
|
3065
|
+
version: string;
|
|
3066
|
+
}
|
|
3067
|
+
/**
|
|
3068
|
+
* MigrationFirebaseProject
|
|
3069
|
+
*/
|
|
3070
|
+
export type FirebaseProject = {
|
|
3071
|
+
/**
|
|
3072
|
+
* Project ID.
|
|
3073
|
+
*/
|
|
3074
|
+
projectId: string;
|
|
3075
|
+
/**
|
|
3076
|
+
* Project display name.
|
|
3077
|
+
*/
|
|
3078
|
+
displayName: string;
|
|
2449
3079
|
}
|
|
2450
3080
|
}
|