@appwrite.io/console 18.3.0-rc.2 → 18.3.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 +2 -2
- package/dist/cjs/sdk.js +344 -3074
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +345 -3071
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +344 -3074
- package/package.json +1 -1
- package/types/enums/project-auth-method-id.d.ts +1 -2
- package/types/enums/project-key-scopes.d.ts +1 -5
- package/types/enums/project-policy-id.d.ts +1 -2
- package/types/enums/proxy-rule-deployment-resource-type.d.ts +1 -2
- package/types/enums/query-suggestion-resource.d.ts +0 -8
- package/types/enums/usage-event-metric.d.ts +0 -3
- package/types/enums/usage-gauge-metric.d.ts +0 -1
- package/types/index.d.ts +0 -11
- package/types/models.d.ts +67 -591
- package/types/service.d.ts +11 -0
- package/types/services/account.d.ts +0 -158
- package/types/services/functions.d.ts +12 -6
- package/types/services/project.d.ts +8 -30
- package/types/services/projects.d.ts +7 -4
- package/types/services/push.d.ts +2 -2
- package/types/services/users.d.ts +0 -69
- package/types/enums/analytics-dimension.d.ts +0 -24
- package/types/enums/analytics-interval.d.ts +0 -6
- package/types/enums/platform-resource-type.d.ts +0 -11
- package/types/enums/project-resource-type.d.ts +0 -13
- package/types/enums/video-output.d.ts +0 -5
- package/types/enums/video-rendition-status.d.ts +0 -9
- package/types/services/admin.d.ts +0 -80
- package/types/services/analytics-tracking.d.ts +0 -211
- package/types/services/analytics.d.ts +0 -254
- package/types/services/videos.d.ts +0 -860
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Client } from './client';
|
|
2
|
+
import type { Payload } from './client';
|
|
3
|
+
export declare class Service {
|
|
4
|
+
/**
|
|
5
|
+
* The size for chunked uploads in bytes.
|
|
6
|
+
*/
|
|
7
|
+
static CHUNK_SIZE: number;
|
|
8
|
+
client: Client;
|
|
9
|
+
constructor(client: Client);
|
|
10
|
+
static flatten(data: Payload, prefix?: string): Payload;
|
|
11
|
+
}
|
|
@@ -846,135 +846,6 @@ export declare class Account {
|
|
|
846
846
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
847
847
|
*/
|
|
848
848
|
updateName<Preferences extends Models.Preferences = Models.DefaultPreferences>(name: string): Promise<Models.User<Preferences>>;
|
|
849
|
-
/**
|
|
850
|
-
* Get the list of verified passkeys registered by the currently logged in user.
|
|
851
|
-
*
|
|
852
|
-
* @param {string[]} params.queries - Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter and order on the following attributes: $id, $createdAt, $updatedAt
|
|
853
|
-
* @param {boolean} params.total - When set to false, the total count returned will be 0 and will not be calculated.
|
|
854
|
-
* @throws {AppwriteException}
|
|
855
|
-
* @returns {Promise<Models.PasskeyList>}
|
|
856
|
-
*/
|
|
857
|
-
listPasskeys(params?: {
|
|
858
|
-
queries?: string[];
|
|
859
|
-
total?: boolean;
|
|
860
|
-
}): Promise<Models.PasskeyList>;
|
|
861
|
-
/**
|
|
862
|
-
* Get the list of verified passkeys registered by the currently logged in user.
|
|
863
|
-
*
|
|
864
|
-
* @param {string[]} queries - Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter and order on the following attributes: $id, $createdAt, $updatedAt
|
|
865
|
-
* @param {boolean} total - When set to false, the total count returned will be 0 and will not be calculated.
|
|
866
|
-
* @throws {AppwriteException}
|
|
867
|
-
* @returns {Promise<Models.PasskeyList>}
|
|
868
|
-
* @deprecated Use the object parameter style method for a better developer experience.
|
|
869
|
-
*/
|
|
870
|
-
listPasskeys(queries?: string[], total?: boolean): Promise<Models.PasskeyList>;
|
|
871
|
-
/**
|
|
872
|
-
* Start registering a passkey for the currently logged in user. The session must have signed in or completed an MFA challenge within the last 10 minutes. Pass the returned `publicKey` options to `navigator.credentials.create()`, then complete the registration with [Update passkey verification](/docs/references/cloud/client-web/account#updatePasskeyVerification). The passkey stays pending until verified, and the challenge expires after 5 minutes.
|
|
873
|
-
*
|
|
874
|
-
* @param {string} params.passkeyId - Passkey ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
|
|
875
|
-
* @param {string} params.name - Passkey name, shown when listing passkeys. Max length: 128 chars.
|
|
876
|
-
* @throws {AppwriteException}
|
|
877
|
-
* @returns {Promise<Models.PasskeyChallenge>}
|
|
878
|
-
*/
|
|
879
|
-
createPasskey(params?: {
|
|
880
|
-
passkeyId?: string;
|
|
881
|
-
name?: string;
|
|
882
|
-
}): Promise<Models.PasskeyChallenge>;
|
|
883
|
-
/**
|
|
884
|
-
* Start registering a passkey for the currently logged in user. The session must have signed in or completed an MFA challenge within the last 10 minutes. Pass the returned `publicKey` options to `navigator.credentials.create()`, then complete the registration with [Update passkey verification](/docs/references/cloud/client-web/account#updatePasskeyVerification). The passkey stays pending until verified, and the challenge expires after 5 minutes.
|
|
885
|
-
*
|
|
886
|
-
* @param {string} passkeyId - Passkey ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
|
|
887
|
-
* @param {string} name - Passkey name, shown when listing passkeys. Max length: 128 chars.
|
|
888
|
-
* @throws {AppwriteException}
|
|
889
|
-
* @returns {Promise<Models.PasskeyChallenge>}
|
|
890
|
-
* @deprecated Use the object parameter style method for a better developer experience.
|
|
891
|
-
*/
|
|
892
|
-
createPasskey(passkeyId?: string, name?: string): Promise<Models.PasskeyChallenge>;
|
|
893
|
-
/**
|
|
894
|
-
* Get a verified passkey of the currently logged in user by its unique ID.
|
|
895
|
-
*
|
|
896
|
-
* @param {string} params.passkeyId - Passkey ID.
|
|
897
|
-
* @throws {AppwriteException}
|
|
898
|
-
* @returns {Promise<Models.Passkey>}
|
|
899
|
-
*/
|
|
900
|
-
getPasskey(params: {
|
|
901
|
-
passkeyId: string;
|
|
902
|
-
}): Promise<Models.Passkey>;
|
|
903
|
-
/**
|
|
904
|
-
* Get a verified passkey of the currently logged in user by its unique ID.
|
|
905
|
-
*
|
|
906
|
-
* @param {string} passkeyId - Passkey ID.
|
|
907
|
-
* @throws {AppwriteException}
|
|
908
|
-
* @returns {Promise<Models.Passkey>}
|
|
909
|
-
* @deprecated Use the object parameter style method for a better developer experience.
|
|
910
|
-
*/
|
|
911
|
-
getPasskey(passkeyId: string): Promise<Models.Passkey>;
|
|
912
|
-
/**
|
|
913
|
-
* Rename a passkey of the currently logged in user.
|
|
914
|
-
*
|
|
915
|
-
* @param {string} params.passkeyId - Passkey ID.
|
|
916
|
-
* @param {string} params.name - Passkey name. Max length: 128 chars.
|
|
917
|
-
* @throws {AppwriteException}
|
|
918
|
-
* @returns {Promise<Models.Passkey>}
|
|
919
|
-
*/
|
|
920
|
-
updatePasskey(params: {
|
|
921
|
-
passkeyId: string;
|
|
922
|
-
name: string;
|
|
923
|
-
}): Promise<Models.Passkey>;
|
|
924
|
-
/**
|
|
925
|
-
* Rename a passkey of the currently logged in user.
|
|
926
|
-
*
|
|
927
|
-
* @param {string} passkeyId - Passkey ID.
|
|
928
|
-
* @param {string} name - Passkey name. Max length: 128 chars.
|
|
929
|
-
* @throws {AppwriteException}
|
|
930
|
-
* @returns {Promise<Models.Passkey>}
|
|
931
|
-
* @deprecated Use the object parameter style method for a better developer experience.
|
|
932
|
-
*/
|
|
933
|
-
updatePasskey(passkeyId: string, name: string): Promise<Models.Passkey>;
|
|
934
|
-
/**
|
|
935
|
-
* Delete a passkey from the currently logged in user. The passkey can no longer be used to sign in, although it may remain stored on the user's device. The session must have signed in or completed an MFA challenge within the last 10 minutes.
|
|
936
|
-
*
|
|
937
|
-
* @param {string} params.passkeyId - Passkey ID.
|
|
938
|
-
* @throws {AppwriteException}
|
|
939
|
-
* @returns {Promise<{}>}
|
|
940
|
-
*/
|
|
941
|
-
deletePasskey(params: {
|
|
942
|
-
passkeyId: string;
|
|
943
|
-
}): Promise<{}>;
|
|
944
|
-
/**
|
|
945
|
-
* Delete a passkey from the currently logged in user. The passkey can no longer be used to sign in, although it may remain stored on the user's device. The session must have signed in or completed an MFA challenge within the last 10 minutes.
|
|
946
|
-
*
|
|
947
|
-
* @param {string} passkeyId - Passkey ID.
|
|
948
|
-
* @throws {AppwriteException}
|
|
949
|
-
* @returns {Promise<{}>}
|
|
950
|
-
* @deprecated Use the object parameter style method for a better developer experience.
|
|
951
|
-
*/
|
|
952
|
-
deletePasskey(passkeyId: string): Promise<{}>;
|
|
953
|
-
/**
|
|
954
|
-
* Complete a passkey registration started with [Create passkey](/docs/references/cloud/client-web/account#createPasskey). Pass the challenge ID and the JSON form of the credential returned by `navigator.credentials.create()`, for example `credential.toJSON()`. Each challenge can only be used once.
|
|
955
|
-
*
|
|
956
|
-
* @param {string} params.passkeyId - Passkey ID.
|
|
957
|
-
* @param {string} params.challengeId - Challenge ID returned when the passkey was created.
|
|
958
|
-
* @param {object} params.credential - Registration credential returned by the authenticator, in the JSON form produced by `PublicKeyCredential.toJSON()`.
|
|
959
|
-
* @throws {AppwriteException}
|
|
960
|
-
* @returns {Promise<Models.Passkey>}
|
|
961
|
-
*/
|
|
962
|
-
updatePasskeyVerification(params: {
|
|
963
|
-
passkeyId: string;
|
|
964
|
-
challengeId: string;
|
|
965
|
-
credential: object;
|
|
966
|
-
}): Promise<Models.Passkey>;
|
|
967
|
-
/**
|
|
968
|
-
* Complete a passkey registration started with [Create passkey](/docs/references/cloud/client-web/account#createPasskey). Pass the challenge ID and the JSON form of the credential returned by `navigator.credentials.create()`, for example `credential.toJSON()`. Each challenge can only be used once.
|
|
969
|
-
*
|
|
970
|
-
* @param {string} passkeyId - Passkey ID.
|
|
971
|
-
* @param {string} challengeId - Challenge ID returned when the passkey was created.
|
|
972
|
-
* @param {object} credential - Registration credential returned by the authenticator, in the JSON form produced by `PublicKeyCredential.toJSON()`.
|
|
973
|
-
* @throws {AppwriteException}
|
|
974
|
-
* @returns {Promise<Models.Passkey>}
|
|
975
|
-
* @deprecated Use the object parameter style method for a better developer experience.
|
|
976
|
-
*/
|
|
977
|
-
updatePasskeyVerification(passkeyId: string, challengeId: string, credential: object): Promise<Models.Passkey>;
|
|
978
849
|
/**
|
|
979
850
|
* Update currently logged in user password. For validation, user is required to pass in the new password, and the old password. For users created with OAuth, Team Invites and Magic URL, oldPassword is optional.
|
|
980
851
|
*
|
|
@@ -1761,35 +1632,6 @@ export declare class Account {
|
|
|
1761
1632
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1762
1633
|
*/
|
|
1763
1634
|
createOAuth2Token(provider: OAuthProvider, success?: string, failure?: string, scopes?: string[]): void | string;
|
|
1764
|
-
/**
|
|
1765
|
-
* Start signing in with a passkey. No email or user ID is needed: pass the returned `publicKey` options to `navigator.credentials.get()` and the user picks one of their passkeys. Then call [Update passkey token](/docs/references/cloud/client-web/account#updatePasskeyToken) with the credential to receive a token, and exchange it with [Create session](/docs/references/cloud/client-web/account#createSession). The challenge expires after 5 minutes.
|
|
1766
|
-
*
|
|
1767
|
-
* @throws {AppwriteException}
|
|
1768
|
-
* @returns {Promise<Models.PasskeyChallenge>}
|
|
1769
|
-
*/
|
|
1770
|
-
createPasskeyToken(): Promise<Models.PasskeyChallenge>;
|
|
1771
|
-
/**
|
|
1772
|
-
* Complete a passkey sign-in started with [Create passkey token](/docs/references/cloud/client-web/account#createPasskeyToken). Pass the challenge ID and the JSON form of the credential returned by `navigator.credentials.get()`, for example `credential.toJSON()`. The returned token includes its secret and expires after 1 minute: exchange it for a session with [Create session](/docs/references/cloud/client-web/account#createSession). Passkeys require user verification, so the session also satisfies MFA. Each challenge can only be used once.
|
|
1773
|
-
*
|
|
1774
|
-
* @param {string} params.challengeId - Challenge ID returned by createPasskeyToken.
|
|
1775
|
-
* @param {object} params.credential - Authentication credential returned by the authenticator, in the JSON form produced by `PublicKeyCredential.toJSON()`.
|
|
1776
|
-
* @throws {AppwriteException}
|
|
1777
|
-
* @returns {Promise<Models.Token>}
|
|
1778
|
-
*/
|
|
1779
|
-
updatePasskeyToken(params: {
|
|
1780
|
-
challengeId: string;
|
|
1781
|
-
credential: object;
|
|
1782
|
-
}): Promise<Models.Token>;
|
|
1783
|
-
/**
|
|
1784
|
-
* Complete a passkey sign-in started with [Create passkey token](/docs/references/cloud/client-web/account#createPasskeyToken). Pass the challenge ID and the JSON form of the credential returned by `navigator.credentials.get()`, for example `credential.toJSON()`. The returned token includes its secret and expires after 1 minute: exchange it for a session with [Create session](/docs/references/cloud/client-web/account#createSession). Passkeys require user verification, so the session also satisfies MFA. Each challenge can only be used once.
|
|
1785
|
-
*
|
|
1786
|
-
* @param {string} challengeId - Challenge ID returned by createPasskeyToken.
|
|
1787
|
-
* @param {object} credential - Authentication credential returned by the authenticator, in the JSON form produced by `PublicKeyCredential.toJSON()`.
|
|
1788
|
-
* @throws {AppwriteException}
|
|
1789
|
-
* @returns {Promise<Models.Token>}
|
|
1790
|
-
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1791
|
-
*/
|
|
1792
|
-
updatePasskeyToken(challengeId: string, credential: object): Promise<Models.Token>;
|
|
1793
1635
|
/**
|
|
1794
1636
|
* Sends the user an SMS with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. Use the returned user ID and secret and submit a request to the [POST /v1/account/sessions/token](https://appwrite.io/docs/references/cloud/client-web/account#createSession) endpoint to complete the login process. The secret sent to the user's phone is valid for 15 minutes.
|
|
1795
1637
|
*
|
|
@@ -43,7 +43,7 @@ export declare class Functions {
|
|
|
43
43
|
* @param {Runtime} params.runtime - Execution runtime.
|
|
44
44
|
* @param {string[]} params.execute - An array of role strings with execution permissions. By default no user is granted with any execute permissions. [learn more about roles](https://appwrite.io/docs/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.
|
|
45
45
|
* @param {string[]} params.events - Events list. Maximum of 100 events are allowed.
|
|
46
|
-
* @param {string} params.schedule - Schedule CRON syntax.
|
|
46
|
+
* @param {string} params.schedule - Schedule CRON syntax. Cannot be combined with interval.
|
|
47
47
|
* @param {number} params.timeout - Function maximum execution time in seconds.
|
|
48
48
|
* @param {boolean} params.enabled - Is function enabled? When set to 'disabled', users cannot access the function but Server SDKs with and API key can still access the function. No data is lost when this is toggled.
|
|
49
49
|
* @param {boolean} params.logging - When disabled, executions will exclude logs and errors, and will be slightly faster.
|
|
@@ -60,6 +60,7 @@ export declare class Functions {
|
|
|
60
60
|
* @param {string} params.buildSpecification - Build specification for the function deployments.
|
|
61
61
|
* @param {string} params.runtimeSpecification - Runtime specification for the function executions.
|
|
62
62
|
* @param {number} params.deploymentRetention - Days to keep non-active deployments before deletion. Value 0 means all deployments will be kept.
|
|
63
|
+
* @param {number} params.interval - Minutes between scheduled executions. Appwrite picks when within each interval the function runs. Use 0 to disable. Cannot be combined with schedule.
|
|
63
64
|
* @throws {AppwriteException}
|
|
64
65
|
* @returns {Promise<Models.Function>}
|
|
65
66
|
*/
|
|
@@ -86,6 +87,7 @@ export declare class Functions {
|
|
|
86
87
|
buildSpecification?: string;
|
|
87
88
|
runtimeSpecification?: string;
|
|
88
89
|
deploymentRetention?: number;
|
|
90
|
+
interval?: number;
|
|
89
91
|
}): Promise<Models.Function>;
|
|
90
92
|
/**
|
|
91
93
|
* Create a new function. You can pass a list of [permissions](https://appwrite.io/docs/permissions) to allow different project users or team with access to execute the function using the client API.
|
|
@@ -95,7 +97,7 @@ export declare class Functions {
|
|
|
95
97
|
* @param {Runtime} runtime - Execution runtime.
|
|
96
98
|
* @param {string[]} execute - An array of role strings with execution permissions. By default no user is granted with any execute permissions. [learn more about roles](https://appwrite.io/docs/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.
|
|
97
99
|
* @param {string[]} events - Events list. Maximum of 100 events are allowed.
|
|
98
|
-
* @param {string} schedule - Schedule CRON syntax.
|
|
100
|
+
* @param {string} schedule - Schedule CRON syntax. Cannot be combined with interval.
|
|
99
101
|
* @param {number} timeout - Function maximum execution time in seconds.
|
|
100
102
|
* @param {boolean} enabled - Is function enabled? When set to 'disabled', users cannot access the function but Server SDKs with and API key can still access the function. No data is lost when this is toggled.
|
|
101
103
|
* @param {boolean} logging - When disabled, executions will exclude logs and errors, and will be slightly faster.
|
|
@@ -112,11 +114,12 @@ export declare class Functions {
|
|
|
112
114
|
* @param {string} buildSpecification - Build specification for the function deployments.
|
|
113
115
|
* @param {string} runtimeSpecification - Runtime specification for the function executions.
|
|
114
116
|
* @param {number} deploymentRetention - Days to keep non-active deployments before deletion. Value 0 means all deployments will be kept.
|
|
117
|
+
* @param {number} interval - Minutes between scheduled executions. Appwrite picks when within each interval the function runs. Use 0 to disable. Cannot be combined with schedule.
|
|
115
118
|
* @throws {AppwriteException}
|
|
116
119
|
* @returns {Promise<Models.Function>}
|
|
117
120
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
118
121
|
*/
|
|
119
|
-
create(functionId: string, name: string, runtime: Runtime, execute?: string[], events?: string[], schedule?: string, timeout?: number, enabled?: boolean, logging?: boolean, entrypoint?: string, commands?: string, scopes?: ProjectKeyScopes[], installationId?: string, providerRepositoryId?: string, providerBranch?: string, providerSilentMode?: boolean, providerRootDirectory?: string, providerBranches?: string[], providerPaths?: string[], buildSpecification?: string, runtimeSpecification?: string, deploymentRetention?: number): Promise<Models.Function>;
|
|
122
|
+
create(functionId: string, name: string, runtime: Runtime, execute?: string[], events?: string[], schedule?: string, timeout?: number, enabled?: boolean, logging?: boolean, entrypoint?: string, commands?: string, scopes?: ProjectKeyScopes[], installationId?: string, providerRepositoryId?: string, providerBranch?: string, providerSilentMode?: boolean, providerRootDirectory?: string, providerBranches?: string[], providerPaths?: string[], buildSpecification?: string, runtimeSpecification?: string, deploymentRetention?: number, interval?: number): Promise<Models.Function>;
|
|
120
123
|
/**
|
|
121
124
|
* Get a list of all runtimes that are currently active on your instance.
|
|
122
125
|
*
|
|
@@ -235,7 +238,7 @@ export declare class Functions {
|
|
|
235
238
|
* @param {Runtime} params.runtime - Execution runtime.
|
|
236
239
|
* @param {string[]} params.execute - An array of role strings with execution permissions. By default no user is granted with any execute permissions. [learn more about roles](https://appwrite.io/docs/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.
|
|
237
240
|
* @param {string[]} params.events - Events list. Maximum of 100 events are allowed.
|
|
238
|
-
* @param {string} params.schedule - Schedule CRON syntax.
|
|
241
|
+
* @param {string} params.schedule - Schedule CRON syntax. Cannot be combined with interval.
|
|
239
242
|
* @param {number} params.timeout - Maximum execution time in seconds.
|
|
240
243
|
* @param {boolean} params.enabled - Is function enabled? When set to 'disabled', users cannot access the function but Server SDKs with and API key can still access the function. No data is lost when this is toggled.
|
|
241
244
|
* @param {boolean} params.logging - When disabled, executions will exclude logs and errors, and will be slightly faster.
|
|
@@ -252,6 +255,7 @@ export declare class Functions {
|
|
|
252
255
|
* @param {string} params.buildSpecification - Build specification for the function deployments.
|
|
253
256
|
* @param {string} params.runtimeSpecification - Runtime specification for the function executions.
|
|
254
257
|
* @param {number} params.deploymentRetention - Days to keep non-active deployments before deletion. Value 0 means all deployments will be kept.
|
|
258
|
+
* @param {number} params.interval - Minutes between scheduled executions. Appwrite picks when within each interval the function runs. Use 0 to disable. Cannot be combined with schedule. When omitted, the current interval is kept unless schedule is set.
|
|
255
259
|
* @throws {AppwriteException}
|
|
256
260
|
* @returns {Promise<Models.Function>}
|
|
257
261
|
*/
|
|
@@ -278,6 +282,7 @@ export declare class Functions {
|
|
|
278
282
|
buildSpecification?: string;
|
|
279
283
|
runtimeSpecification?: string;
|
|
280
284
|
deploymentRetention?: number;
|
|
285
|
+
interval?: number;
|
|
281
286
|
}): Promise<Models.Function>;
|
|
282
287
|
/**
|
|
283
288
|
* Update function by its unique ID.
|
|
@@ -287,7 +292,7 @@ export declare class Functions {
|
|
|
287
292
|
* @param {Runtime} runtime - Execution runtime.
|
|
288
293
|
* @param {string[]} execute - An array of role strings with execution permissions. By default no user is granted with any execute permissions. [learn more about roles](https://appwrite.io/docs/permissions#permission-roles). Maximum of 100 roles are allowed, each 64 characters long.
|
|
289
294
|
* @param {string[]} events - Events list. Maximum of 100 events are allowed.
|
|
290
|
-
* @param {string} schedule - Schedule CRON syntax.
|
|
295
|
+
* @param {string} schedule - Schedule CRON syntax. Cannot be combined with interval.
|
|
291
296
|
* @param {number} timeout - Maximum execution time in seconds.
|
|
292
297
|
* @param {boolean} enabled - Is function enabled? When set to 'disabled', users cannot access the function but Server SDKs with and API key can still access the function. No data is lost when this is toggled.
|
|
293
298
|
* @param {boolean} logging - When disabled, executions will exclude logs and errors, and will be slightly faster.
|
|
@@ -304,11 +309,12 @@ export declare class Functions {
|
|
|
304
309
|
* @param {string} buildSpecification - Build specification for the function deployments.
|
|
305
310
|
* @param {string} runtimeSpecification - Runtime specification for the function executions.
|
|
306
311
|
* @param {number} deploymentRetention - Days to keep non-active deployments before deletion. Value 0 means all deployments will be kept.
|
|
312
|
+
* @param {number} interval - Minutes between scheduled executions. Appwrite picks when within each interval the function runs. Use 0 to disable. Cannot be combined with schedule. When omitted, the current interval is kept unless schedule is set.
|
|
307
313
|
* @throws {AppwriteException}
|
|
308
314
|
* @returns {Promise<Models.Function>}
|
|
309
315
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
310
316
|
*/
|
|
311
|
-
update(functionId: string, name: string, runtime?: Runtime, execute?: string[], events?: string[], schedule?: string, timeout?: number, enabled?: boolean, logging?: boolean, entrypoint?: string, commands?: string, scopes?: ProjectKeyScopes[], installationId?: string, providerRepositoryId?: string, providerBranch?: string, providerSilentMode?: boolean, providerRootDirectory?: string, providerBranches?: string[], providerPaths?: string[], buildSpecification?: string, runtimeSpecification?: string, deploymentRetention?: number): Promise<Models.Function>;
|
|
317
|
+
update(functionId: string, name: string, runtime?: Runtime, execute?: string[], events?: string[], schedule?: string, timeout?: number, enabled?: boolean, logging?: boolean, entrypoint?: string, commands?: string, scopes?: ProjectKeyScopes[], installationId?: string, providerRepositoryId?: string, providerBranch?: string, providerSilentMode?: boolean, providerRootDirectory?: string, providerBranches?: string[], providerPaths?: string[], buildSpecification?: string, runtimeSpecification?: string, deploymentRetention?: number, interval?: number): Promise<Models.Function>;
|
|
312
318
|
/**
|
|
313
319
|
* Delete a function by its unique ID.
|
|
314
320
|
*
|
|
@@ -39,7 +39,7 @@ export declare class Project {
|
|
|
39
39
|
/**
|
|
40
40
|
* Update properties of a specific auth method. Use this endpoint to enable or disable a method in your project.
|
|
41
41
|
*
|
|
42
|
-
* @param {ProjectAuthMethodId} params.methodId - Auth Method ID. Possible values: email-password,magic-url,email-otp,anonymous,invites,jwt,phone
|
|
42
|
+
* @param {ProjectAuthMethodId} params.methodId - Auth Method ID. Possible values: email-password,magic-url,email-otp,anonymous,invites,jwt,phone
|
|
43
43
|
* @param {boolean} params.enabled - Auth method status.
|
|
44
44
|
* @throws {AppwriteException}
|
|
45
45
|
* @returns {Promise<Models.Project>}
|
|
@@ -51,7 +51,7 @@ export declare class Project {
|
|
|
51
51
|
/**
|
|
52
52
|
* Update properties of a specific auth method. Use this endpoint to enable or disable a method in your project.
|
|
53
53
|
*
|
|
54
|
-
* @param {ProjectAuthMethodId} methodId - Auth Method ID. Possible values: email-password,magic-url,email-otp,anonymous,invites,jwt,phone
|
|
54
|
+
* @param {ProjectAuthMethodId} methodId - Auth Method ID. Possible values: email-password,magic-url,email-otp,anonymous,invites,jwt,phone
|
|
55
55
|
* @param {boolean} enabled - Auth method status.
|
|
56
56
|
* @throws {AppwriteException}
|
|
57
57
|
* @returns {Promise<Models.Project>}
|
|
@@ -2217,28 +2217,6 @@ export declare class Project {
|
|
|
2217
2217
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
2218
2218
|
*/
|
|
2219
2219
|
updateMFAFactorsPolicy(totp?: boolean, email?: boolean, phone?: boolean, custom?: boolean): Promise<Models.Project>;
|
|
2220
|
-
/**
|
|
2221
|
-
* Configure the relying party passkeys are bound to. The relying party ID is the domain of your application, and origins are the exact web origins allowed to register and sign in with passkeys. Passkeys stay unavailable until both are set and the passkey auth method is enabled. The relying party ID cannot change while users have passkeys, and any change invalidates ceremonies in progress.
|
|
2222
|
-
*
|
|
2223
|
-
* @param {string} params.rpId - Relying party ID: the domain of your application, such as `example.com`. Use `localhost` for local development.
|
|
2224
|
-
* @param {string[]} params.origins - Web origins allowed to use passkeys, such as `https://example.com` or `https://app.example.com`. Each must be HTTPS on the relying party ID or one of its subdomains, without a path. HTTP is only allowed for `localhost`. Maximum of 10 origins.
|
|
2225
|
-
* @throws {AppwriteException}
|
|
2226
|
-
* @returns {Promise<Models.Project>}
|
|
2227
|
-
*/
|
|
2228
|
-
updatePasskeyPolicy(params?: {
|
|
2229
|
-
rpId?: string;
|
|
2230
|
-
origins?: string[];
|
|
2231
|
-
}): Promise<Models.Project>;
|
|
2232
|
-
/**
|
|
2233
|
-
* Configure the relying party passkeys are bound to. The relying party ID is the domain of your application, and origins are the exact web origins allowed to register and sign in with passkeys. Passkeys stay unavailable until both are set and the passkey auth method is enabled. The relying party ID cannot change while users have passkeys, and any change invalidates ceremonies in progress.
|
|
2234
|
-
*
|
|
2235
|
-
* @param {string} rpId - Relying party ID: the domain of your application, such as `example.com`. Use `localhost` for local development.
|
|
2236
|
-
* @param {string[]} origins - Web origins allowed to use passkeys, such as `https://example.com` or `https://app.example.com`. Each must be HTTPS on the relying party ID or one of its subdomains, without a path. HTTP is only allowed for `localhost`. Maximum of 10 origins.
|
|
2237
|
-
* @throws {AppwriteException}
|
|
2238
|
-
* @returns {Promise<Models.Project>}
|
|
2239
|
-
* @deprecated Use the object parameter style method for a better developer experience.
|
|
2240
|
-
*/
|
|
2241
|
-
updatePasskeyPolicy(rpId?: string, origins?: string[]): Promise<Models.Project>;
|
|
2242
2220
|
/**
|
|
2243
2221
|
* Updating this policy allows you to control if new passwords are checked against most common passwords dictionary. When enabled, and user changes their password, password must not be contained in the dictionary.
|
|
2244
2222
|
*
|
|
@@ -2454,22 +2432,22 @@ export declare class Project {
|
|
|
2454
2432
|
/**
|
|
2455
2433
|
* Get a policy by its unique ID. This endpoint returns the current configuration for the requested project policy.
|
|
2456
2434
|
*
|
|
2457
|
-
* @param {ProjectPolicyId} params.policyId - Policy ID. Can be one of: password-dictionary, password-history, password-strength, password-personal-data, password-pwned, session-alert, session-duration, session-invalidation, session-limit, user-limit, membership-privacy, mfa-factors, deny-aliased-email, deny-disposable-email, deny-free-email, deny-corporate-email
|
|
2435
|
+
* @param {ProjectPolicyId} params.policyId - Policy ID. Can be one of: password-dictionary, password-history, password-strength, password-personal-data, password-pwned, session-alert, session-duration, session-invalidation, session-limit, user-limit, membership-privacy, mfa-factors, deny-aliased-email, deny-disposable-email, deny-free-email, deny-corporate-email.
|
|
2458
2436
|
* @throws {AppwriteException}
|
|
2459
|
-
* @returns {Promise<Models.PolicyPasswordDictionary | Models.PolicyPasswordHistory | Models.PolicyPasswordStrength | Models.PolicyPasswordPersonalData | Models.PolicyPasswordPwned | Models.PolicySessionAlert | Models.PolicySessionDuration | Models.PolicySessionInvalidation | Models.PolicySessionLimit | Models.PolicyUserLimit | Models.PolicyMembershipPrivacy | Models.PolicyMfaFactors | Models.PolicyDenyAliasedEmail | Models.PolicyDenyDisposableEmail | Models.PolicyDenyFreeEmail | Models.PolicyDenyCorporateEmail
|
|
2437
|
+
* @returns {Promise<Models.PolicyPasswordDictionary | Models.PolicyPasswordHistory | Models.PolicyPasswordStrength | Models.PolicyPasswordPersonalData | Models.PolicyPasswordPwned | Models.PolicySessionAlert | Models.PolicySessionDuration | Models.PolicySessionInvalidation | Models.PolicySessionLimit | Models.PolicyUserLimit | Models.PolicyMembershipPrivacy | Models.PolicyMfaFactors | Models.PolicyDenyAliasedEmail | Models.PolicyDenyDisposableEmail | Models.PolicyDenyFreeEmail | Models.PolicyDenyCorporateEmail>}
|
|
2460
2438
|
*/
|
|
2461
2439
|
getPolicy(params: {
|
|
2462
2440
|
policyId: ProjectPolicyId;
|
|
2463
|
-
}): Promise<Models.PolicyPasswordDictionary | Models.PolicyPasswordHistory | Models.PolicyPasswordStrength | Models.PolicyPasswordPersonalData | Models.PolicyPasswordPwned | Models.PolicySessionAlert | Models.PolicySessionDuration | Models.PolicySessionInvalidation | Models.PolicySessionLimit | Models.PolicyUserLimit | Models.PolicyMembershipPrivacy | Models.PolicyMfaFactors | Models.PolicyDenyAliasedEmail | Models.PolicyDenyDisposableEmail | Models.PolicyDenyFreeEmail | Models.PolicyDenyCorporateEmail
|
|
2441
|
+
}): Promise<Models.PolicyPasswordDictionary | Models.PolicyPasswordHistory | Models.PolicyPasswordStrength | Models.PolicyPasswordPersonalData | Models.PolicyPasswordPwned | Models.PolicySessionAlert | Models.PolicySessionDuration | Models.PolicySessionInvalidation | Models.PolicySessionLimit | Models.PolicyUserLimit | Models.PolicyMembershipPrivacy | Models.PolicyMfaFactors | Models.PolicyDenyAliasedEmail | Models.PolicyDenyDisposableEmail | Models.PolicyDenyFreeEmail | Models.PolicyDenyCorporateEmail>;
|
|
2464
2442
|
/**
|
|
2465
2443
|
* Get a policy by its unique ID. This endpoint returns the current configuration for the requested project policy.
|
|
2466
2444
|
*
|
|
2467
|
-
* @param {ProjectPolicyId} policyId - Policy ID. Can be one of: password-dictionary, password-history, password-strength, password-personal-data, password-pwned, session-alert, session-duration, session-invalidation, session-limit, user-limit, membership-privacy, mfa-factors, deny-aliased-email, deny-disposable-email, deny-free-email, deny-corporate-email
|
|
2445
|
+
* @param {ProjectPolicyId} policyId - Policy ID. Can be one of: password-dictionary, password-history, password-strength, password-personal-data, password-pwned, session-alert, session-duration, session-invalidation, session-limit, user-limit, membership-privacy, mfa-factors, deny-aliased-email, deny-disposable-email, deny-free-email, deny-corporate-email.
|
|
2468
2446
|
* @throws {AppwriteException}
|
|
2469
|
-
* @returns {Promise<Models.PolicyPasswordDictionary | Models.PolicyPasswordHistory | Models.PolicyPasswordStrength | Models.PolicyPasswordPersonalData | Models.PolicyPasswordPwned | Models.PolicySessionAlert | Models.PolicySessionDuration | Models.PolicySessionInvalidation | Models.PolicySessionLimit | Models.PolicyUserLimit | Models.PolicyMembershipPrivacy | Models.PolicyMfaFactors | Models.PolicyDenyAliasedEmail | Models.PolicyDenyDisposableEmail | Models.PolicyDenyFreeEmail | Models.PolicyDenyCorporateEmail
|
|
2447
|
+
* @returns {Promise<Models.PolicyPasswordDictionary | Models.PolicyPasswordHistory | Models.PolicyPasswordStrength | Models.PolicyPasswordPersonalData | Models.PolicyPasswordPwned | Models.PolicySessionAlert | Models.PolicySessionDuration | Models.PolicySessionInvalidation | Models.PolicySessionLimit | Models.PolicyUserLimit | Models.PolicyMembershipPrivacy | Models.PolicyMfaFactors | Models.PolicyDenyAliasedEmail | Models.PolicyDenyDisposableEmail | Models.PolicyDenyFreeEmail | Models.PolicyDenyCorporateEmail>}
|
|
2470
2448
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
2471
2449
|
*/
|
|
2472
|
-
getPolicy(policyId: ProjectPolicyId): Promise<Models.PolicyPasswordDictionary | Models.PolicyPasswordHistory | Models.PolicyPasswordStrength | Models.PolicyPasswordPersonalData | Models.PolicyPasswordPwned | Models.PolicySessionAlert | Models.PolicySessionDuration | Models.PolicySessionInvalidation | Models.PolicySessionLimit | Models.PolicyUserLimit | Models.PolicyMembershipPrivacy | Models.PolicyMfaFactors | Models.PolicyDenyAliasedEmail | Models.PolicyDenyDisposableEmail | Models.PolicyDenyFreeEmail | Models.PolicyDenyCorporateEmail
|
|
2450
|
+
getPolicy(policyId: ProjectPolicyId): Promise<Models.PolicyPasswordDictionary | Models.PolicyPasswordHistory | Models.PolicyPasswordStrength | Models.PolicyPasswordPersonalData | Models.PolicyPasswordPwned | Models.PolicySessionAlert | Models.PolicySessionDuration | Models.PolicySessionInvalidation | Models.PolicySessionLimit | Models.PolicyUserLimit | Models.PolicyMembershipPrivacy | Models.PolicyMfaFactors | Models.PolicyDenyAliasedEmail | Models.PolicyDenyDisposableEmail | Models.PolicyDenyFreeEmail | Models.PolicyDenyCorporateEmail>;
|
|
2473
2451
|
/**
|
|
2474
2452
|
* Update properties of a specific protocol. Use this endpoint to enable or disable a protocol in your project.
|
|
2475
2453
|
*
|
|
@@ -195,9 +195,10 @@ export declare class Projects {
|
|
|
195
195
|
* @param {string} params.projectId - Project unique ID.
|
|
196
196
|
* @param {ScheduleResourceType} params.resourceType - The resource type for the schedule. Possible values: function, execution, message, backup.
|
|
197
197
|
* @param {string} params.resourceId - The resource ID to associate with this schedule.
|
|
198
|
-
* @param {string} params.schedule - Schedule CRON expression.
|
|
198
|
+
* @param {string} params.schedule - Schedule CRON expression. Cannot be combined with interval.
|
|
199
199
|
* @param {boolean} params.active - Whether the schedule is active.
|
|
200
200
|
* @param {object} params.data - Schedule data as a JSON string. Used to store resource-specific context needed for execution.
|
|
201
|
+
* @param {number} params.interval - Minutes between runs, for function schedules only. Use 0 to disable. Cannot be combined with schedule.
|
|
201
202
|
* @throws {AppwriteException}
|
|
202
203
|
* @returns {Promise<Models.Schedule>}
|
|
203
204
|
*/
|
|
@@ -205,9 +206,10 @@ export declare class Projects {
|
|
|
205
206
|
projectId: string;
|
|
206
207
|
resourceType: ScheduleResourceType;
|
|
207
208
|
resourceId: string;
|
|
208
|
-
schedule
|
|
209
|
+
schedule?: string;
|
|
209
210
|
active?: boolean;
|
|
210
211
|
data?: object;
|
|
212
|
+
interval?: number;
|
|
211
213
|
}): Promise<Models.Schedule>;
|
|
212
214
|
/**
|
|
213
215
|
* Create a new schedule for a resource.
|
|
@@ -215,14 +217,15 @@ export declare class Projects {
|
|
|
215
217
|
* @param {string} projectId - Project unique ID.
|
|
216
218
|
* @param {ScheduleResourceType} resourceType - The resource type for the schedule. Possible values: function, execution, message, backup.
|
|
217
219
|
* @param {string} resourceId - The resource ID to associate with this schedule.
|
|
218
|
-
* @param {string} schedule - Schedule CRON expression.
|
|
220
|
+
* @param {string} schedule - Schedule CRON expression. Cannot be combined with interval.
|
|
219
221
|
* @param {boolean} active - Whether the schedule is active.
|
|
220
222
|
* @param {object} data - Schedule data as a JSON string. Used to store resource-specific context needed for execution.
|
|
223
|
+
* @param {number} interval - Minutes between runs, for function schedules only. Use 0 to disable. Cannot be combined with schedule.
|
|
221
224
|
* @throws {AppwriteException}
|
|
222
225
|
* @returns {Promise<Models.Schedule>}
|
|
223
226
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
224
227
|
*/
|
|
225
|
-
createSchedule(projectId: string, resourceType: ScheduleResourceType, resourceId: string, schedule
|
|
228
|
+
createSchedule(projectId: string, resourceType: ScheduleResourceType, resourceId: string, schedule?: string, active?: boolean, data?: object, interval?: number): Promise<Models.Schedule>;
|
|
226
229
|
/**
|
|
227
230
|
* Get a schedule by its unique ID.
|
|
228
231
|
*
|
package/types/services/push.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Client } from '../client';
|
|
2
|
+
import { Service } from '../service';
|
|
2
3
|
import type { ResolvedTopic, Topic } from '../topic';
|
|
3
4
|
/** A message delivered on a subscribed topic (the MQTT analog of a Realtime event). */
|
|
4
5
|
export interface PushMessage {
|
|
@@ -57,8 +58,7 @@ export interface PushSubscription {
|
|
|
57
58
|
* );
|
|
58
59
|
* // sub.update({ background: true }); sub.unsubscribe();
|
|
59
60
|
*/
|
|
60
|
-
export declare class Push {
|
|
61
|
-
client: Client;
|
|
61
|
+
export declare class Push extends Service {
|
|
62
62
|
private mqtt;
|
|
63
63
|
private connecting;
|
|
64
64
|
private Buffer;
|
|
@@ -804,75 +804,6 @@ export declare class Users {
|
|
|
804
804
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
805
805
|
*/
|
|
806
806
|
updateName<Preferences extends Models.Preferences = Models.DefaultPreferences>(userId: string, name: string): Promise<Models.User<Preferences>>;
|
|
807
|
-
/**
|
|
808
|
-
* Get the list of verified passkeys registered by a user.
|
|
809
|
-
*
|
|
810
|
-
* @param {string} params.userId - User ID.
|
|
811
|
-
* @param {string[]} params.queries - Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter and order on the following attributes: $id, $createdAt, $updatedAt
|
|
812
|
-
* @param {boolean} params.total - When set to false, the total count returned will be 0 and will not be calculated.
|
|
813
|
-
* @throws {AppwriteException}
|
|
814
|
-
* @returns {Promise<Models.PasskeyList>}
|
|
815
|
-
*/
|
|
816
|
-
listPasskeys(params: {
|
|
817
|
-
userId: string;
|
|
818
|
-
queries?: string[];
|
|
819
|
-
total?: boolean;
|
|
820
|
-
}): Promise<Models.PasskeyList>;
|
|
821
|
-
/**
|
|
822
|
-
* Get the list of verified passkeys registered by a user.
|
|
823
|
-
*
|
|
824
|
-
* @param {string} userId - User ID.
|
|
825
|
-
* @param {string[]} queries - Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Maximum of 100 queries are allowed, each 4096 characters long. You may filter and order on the following attributes: $id, $createdAt, $updatedAt
|
|
826
|
-
* @param {boolean} total - When set to false, the total count returned will be 0 and will not be calculated.
|
|
827
|
-
* @throws {AppwriteException}
|
|
828
|
-
* @returns {Promise<Models.PasskeyList>}
|
|
829
|
-
* @deprecated Use the object parameter style method for a better developer experience.
|
|
830
|
-
*/
|
|
831
|
-
listPasskeys(userId: string, queries?: string[], total?: boolean): Promise<Models.PasskeyList>;
|
|
832
|
-
/**
|
|
833
|
-
* Get a verified passkey of a user by its unique ID.
|
|
834
|
-
*
|
|
835
|
-
* @param {string} params.userId - User ID.
|
|
836
|
-
* @param {string} params.passkeyId - Passkey ID.
|
|
837
|
-
* @throws {AppwriteException}
|
|
838
|
-
* @returns {Promise<Models.Passkey>}
|
|
839
|
-
*/
|
|
840
|
-
getPasskey(params: {
|
|
841
|
-
userId: string;
|
|
842
|
-
passkeyId: string;
|
|
843
|
-
}): Promise<Models.Passkey>;
|
|
844
|
-
/**
|
|
845
|
-
* Get a verified passkey of a user by its unique ID.
|
|
846
|
-
*
|
|
847
|
-
* @param {string} userId - User ID.
|
|
848
|
-
* @param {string} passkeyId - Passkey ID.
|
|
849
|
-
* @throws {AppwriteException}
|
|
850
|
-
* @returns {Promise<Models.Passkey>}
|
|
851
|
-
* @deprecated Use the object parameter style method for a better developer experience.
|
|
852
|
-
*/
|
|
853
|
-
getPasskey(userId: string, passkeyId: string): Promise<Models.Passkey>;
|
|
854
|
-
/**
|
|
855
|
-
* Delete a passkey from a user, for example when a device is lost. The passkey can no longer be used to sign in.
|
|
856
|
-
*
|
|
857
|
-
* @param {string} params.userId - User ID.
|
|
858
|
-
* @param {string} params.passkeyId - Passkey ID.
|
|
859
|
-
* @throws {AppwriteException}
|
|
860
|
-
* @returns {Promise<{}>}
|
|
861
|
-
*/
|
|
862
|
-
deletePasskey(params: {
|
|
863
|
-
userId: string;
|
|
864
|
-
passkeyId: string;
|
|
865
|
-
}): Promise<{}>;
|
|
866
|
-
/**
|
|
867
|
-
* Delete a passkey from a user, for example when a device is lost. The passkey can no longer be used to sign in.
|
|
868
|
-
*
|
|
869
|
-
* @param {string} userId - User ID.
|
|
870
|
-
* @param {string} passkeyId - Passkey ID.
|
|
871
|
-
* @throws {AppwriteException}
|
|
872
|
-
* @returns {Promise<{}>}
|
|
873
|
-
* @deprecated Use the object parameter style method for a better developer experience.
|
|
874
|
-
*/
|
|
875
|
-
deletePasskey(userId: string, passkeyId: string): Promise<{}>;
|
|
876
807
|
/**
|
|
877
808
|
* Update the user password by its unique ID.
|
|
878
809
|
*
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export declare enum AnalyticsDimension {
|
|
2
|
-
Country = "country",
|
|
3
|
-
Region = "region",
|
|
4
|
-
City = "city",
|
|
5
|
-
Browser = "browser",
|
|
6
|
-
OperatingSystem = "operatingSystem",
|
|
7
|
-
Device = "device",
|
|
8
|
-
ScreenSize = "screenSize",
|
|
9
|
-
ReferrerSource = "referrerSource",
|
|
10
|
-
Channel = "channel",
|
|
11
|
-
UtmSource = "utmSource",
|
|
12
|
-
UtmMedium = "utmMedium",
|
|
13
|
-
UtmCampaign = "utmCampaign",
|
|
14
|
-
UtmContent = "utmContent",
|
|
15
|
-
UtmTerm = "utmTerm",
|
|
16
|
-
Page = "page",
|
|
17
|
-
Hostname = "hostname",
|
|
18
|
-
EntryPage = "entryPage",
|
|
19
|
-
ExitPage = "exitPage",
|
|
20
|
-
TrafficType = "trafficType",
|
|
21
|
-
BotName = "botName",
|
|
22
|
-
BotCategory = "botCategory",
|
|
23
|
-
EventName = "eventName"
|
|
24
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare enum PlatformResourceType {
|
|
2
|
-
Projects = "projects",
|
|
3
|
-
Organizations = "organizations",
|
|
4
|
-
Users = "users",
|
|
5
|
-
Memberships = "memberships",
|
|
6
|
-
Rules = "rules",
|
|
7
|
-
Keys = "keys",
|
|
8
|
-
Platforms = "platforms",
|
|
9
|
-
Webhooks = "webhooks",
|
|
10
|
-
Certificates = "certificates"
|
|
11
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare enum ProjectResourceType {
|
|
2
|
-
Users = "users",
|
|
3
|
-
Teams = "teams",
|
|
4
|
-
Memberships = "memberships",
|
|
5
|
-
Databases = "databases",
|
|
6
|
-
Buckets = "buckets",
|
|
7
|
-
Functions = "functions",
|
|
8
|
-
Sites = "sites",
|
|
9
|
-
Deployments = "deployments",
|
|
10
|
-
Topics = "topics",
|
|
11
|
-
Providers = "providers",
|
|
12
|
-
Messages = "messages"
|
|
13
|
-
}
|