@appwrite.io/console 18.4.0-rc.1 → 18.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 +2 -2
- package/dist/cjs/sdk.js +473 -2809
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +474 -2806
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +473 -2809
- 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 +85 -529
- package/types/service.d.ts +11 -0
- package/types/services/account.d.ts +9 -12
- package/types/services/project.d.ts +15 -18
- package/types/services/push.d.ts +2 -2
- package/types/services/users.d.ts +27 -2
- 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
package/types/models.d.ts
CHANGED
|
@@ -229,58 +229,6 @@ export declare namespace Models {
|
|
|
229
229
|
*/
|
|
230
230
|
tokens: ResourceToken[];
|
|
231
231
|
};
|
|
232
|
-
/**
|
|
233
|
-
* Videos List
|
|
234
|
-
*/
|
|
235
|
-
export type VideoList = {
|
|
236
|
-
/**
|
|
237
|
-
* Total number of videos that matched your query.
|
|
238
|
-
*/
|
|
239
|
-
total: number;
|
|
240
|
-
/**
|
|
241
|
-
* List of videos.
|
|
242
|
-
*/
|
|
243
|
-
videos: Video[];
|
|
244
|
-
};
|
|
245
|
-
/**
|
|
246
|
-
* Video Profiles List
|
|
247
|
-
*/
|
|
248
|
-
export type VideoProfileList = {
|
|
249
|
-
/**
|
|
250
|
-
* Total number of profiles that matched your query.
|
|
251
|
-
*/
|
|
252
|
-
total: number;
|
|
253
|
-
/**
|
|
254
|
-
* List of profiles.
|
|
255
|
-
*/
|
|
256
|
-
profiles: VideoProfile[];
|
|
257
|
-
};
|
|
258
|
-
/**
|
|
259
|
-
* Video Renditions List
|
|
260
|
-
*/
|
|
261
|
-
export type VideoRenditionList = {
|
|
262
|
-
/**
|
|
263
|
-
* Total number of renditions that matched your query.
|
|
264
|
-
*/
|
|
265
|
-
total: number;
|
|
266
|
-
/**
|
|
267
|
-
* List of renditions.
|
|
268
|
-
*/
|
|
269
|
-
renditions: VideoRendition[];
|
|
270
|
-
};
|
|
271
|
-
/**
|
|
272
|
-
* Video Subtitles List
|
|
273
|
-
*/
|
|
274
|
-
export type VideoSubtitleList = {
|
|
275
|
-
/**
|
|
276
|
-
* Total number of subtitles that matched your query.
|
|
277
|
-
*/
|
|
278
|
-
total: number;
|
|
279
|
-
/**
|
|
280
|
-
* List of subtitles.
|
|
281
|
-
*/
|
|
282
|
-
subtitles: VideoSubtitle[];
|
|
283
|
-
};
|
|
284
232
|
/**
|
|
285
233
|
* Teams List
|
|
286
234
|
*/
|
|
@@ -650,7 +598,7 @@ export declare namespace Models {
|
|
|
650
598
|
/**
|
|
651
599
|
* List of policies.
|
|
652
600
|
*/
|
|
653
|
-
policies: (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
|
|
601
|
+
policies: (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)[];
|
|
654
602
|
};
|
|
655
603
|
/**
|
|
656
604
|
* Email Templates List
|
|
@@ -6838,27 +6786,6 @@ export declare namespace Models {
|
|
|
6838
6786
|
*/
|
|
6839
6787
|
custom: boolean;
|
|
6840
6788
|
};
|
|
6841
|
-
/**
|
|
6842
|
-
* Policy Passkey
|
|
6843
|
-
*/
|
|
6844
|
-
export type PolicyPasskey = {
|
|
6845
|
-
/**
|
|
6846
|
-
* Policy ID.
|
|
6847
|
-
*/
|
|
6848
|
-
$id: string;
|
|
6849
|
-
/**
|
|
6850
|
-
* Whether the passkey auth method is enabled. Toggle it with the update auth method endpoint.
|
|
6851
|
-
*/
|
|
6852
|
-
enabled: boolean;
|
|
6853
|
-
/**
|
|
6854
|
-
* Relying party ID passkeys are bound to. Empty until configured.
|
|
6855
|
-
*/
|
|
6856
|
-
rpId: string;
|
|
6857
|
-
/**
|
|
6858
|
-
* Web origins allowed to register and sign in with passkeys.
|
|
6859
|
-
*/
|
|
6860
|
-
origins: string[];
|
|
6861
|
-
};
|
|
6862
6789
|
/**
|
|
6863
6790
|
* Policy Deny Aliased Email
|
|
6864
6791
|
*/
|
|
@@ -7525,7 +7452,7 @@ export declare namespace Models {
|
|
|
7525
7452
|
*/
|
|
7526
7453
|
deploymentId: string;
|
|
7527
7454
|
/**
|
|
7528
|
-
* Type of deployment
|
|
7455
|
+
* Type of deployment. Possible values are "function", "site". Used if rule's type is "deployment".
|
|
7529
7456
|
*/
|
|
7530
7457
|
deploymentResourceType?: ProxyRuleDeploymentResourceType;
|
|
7531
7458
|
/**
|
|
@@ -7916,6 +7843,35 @@ export declare namespace Models {
|
|
|
7916
7843
|
*/
|
|
7917
7844
|
code: string;
|
|
7918
7845
|
};
|
|
7846
|
+
/**
|
|
7847
|
+
* Token Secret
|
|
7848
|
+
*/
|
|
7849
|
+
export type TokenSecret = {
|
|
7850
|
+
/**
|
|
7851
|
+
* Token ID.
|
|
7852
|
+
*/
|
|
7853
|
+
$id: string;
|
|
7854
|
+
/**
|
|
7855
|
+
* Token creation date in ISO 8601 format.
|
|
7856
|
+
*/
|
|
7857
|
+
$createdAt: string;
|
|
7858
|
+
/**
|
|
7859
|
+
* User ID.
|
|
7860
|
+
*/
|
|
7861
|
+
userId: string;
|
|
7862
|
+
/**
|
|
7863
|
+
* Token secret key. Exchange it for a session with the create session endpoint.
|
|
7864
|
+
*/
|
|
7865
|
+
secret: string;
|
|
7866
|
+
/**
|
|
7867
|
+
* Token expiration date in ISO 8601 format.
|
|
7868
|
+
*/
|
|
7869
|
+
expire: string;
|
|
7870
|
+
/**
|
|
7871
|
+
* Security phrase of a token. Empty if security phrase was not requested when creating a token. It includes randomly generated phrase which is also sent in the external resource such as email.
|
|
7872
|
+
*/
|
|
7873
|
+
phrase: string;
|
|
7874
|
+
};
|
|
7919
7875
|
/**
|
|
7920
7876
|
* Passkey
|
|
7921
7877
|
*/
|
|
@@ -7940,17 +7896,13 @@ export declare namespace Models {
|
|
|
7940
7896
|
* Most recent sign-in with this passkey in ISO 8601 format. Empty until the passkey is used to sign in.
|
|
7941
7897
|
*/
|
|
7942
7898
|
accessedAt: string;
|
|
7943
|
-
/**
|
|
7944
|
-
* Whether the passkey is synced to a cloud account, such as iCloud Keychain or Google Password Manager, rather than bound to one device.
|
|
7945
|
-
*/
|
|
7946
|
-
backedUp: boolean;
|
|
7947
7899
|
};
|
|
7948
7900
|
/**
|
|
7949
7901
|
* Passkey Challenge
|
|
7950
7902
|
*/
|
|
7951
7903
|
export type PasskeyChallenge = {
|
|
7952
7904
|
/**
|
|
7953
|
-
* Challenge ID.
|
|
7905
|
+
* Challenge ID. When signing in, pass it back with the credential to receive a token.
|
|
7954
7906
|
*/
|
|
7955
7907
|
$id: string;
|
|
7956
7908
|
/**
|
|
@@ -8637,274 +8589,6 @@ export declare namespace Models {
|
|
|
8637
8589
|
*/
|
|
8638
8590
|
analyzedAt?: string;
|
|
8639
8591
|
};
|
|
8640
|
-
/**
|
|
8641
|
-
* Video
|
|
8642
|
-
*/
|
|
8643
|
-
export type Video = {
|
|
8644
|
-
/**
|
|
8645
|
-
* Video ID.
|
|
8646
|
-
*/
|
|
8647
|
-
$id: string;
|
|
8648
|
-
/**
|
|
8649
|
-
* Video creation time in ISO 8601 format.
|
|
8650
|
-
*/
|
|
8651
|
-
$createdAt: string;
|
|
8652
|
-
/**
|
|
8653
|
-
* Video update date in ISO 8601 format.
|
|
8654
|
-
*/
|
|
8655
|
-
$updatedAt: string;
|
|
8656
|
-
/**
|
|
8657
|
-
* Storage bucket ID holding the source file.
|
|
8658
|
-
*/
|
|
8659
|
-
bucketId: string;
|
|
8660
|
-
/**
|
|
8661
|
-
* Source file ID.
|
|
8662
|
-
*/
|
|
8663
|
-
fileId: string;
|
|
8664
|
-
/**
|
|
8665
|
-
* Video name.
|
|
8666
|
-
*/
|
|
8667
|
-
name: string;
|
|
8668
|
-
/**
|
|
8669
|
-
* Preview image ID, taken from the sprite timeline.
|
|
8670
|
-
*/
|
|
8671
|
-
previewId: string;
|
|
8672
|
-
/**
|
|
8673
|
-
* Source file size in bytes.
|
|
8674
|
-
*/
|
|
8675
|
-
size: number;
|
|
8676
|
-
/**
|
|
8677
|
-
* Source status: one of `pending`, `downloading`, `ready`, `removed`, `error` or `aborted`.
|
|
8678
|
-
*/
|
|
8679
|
-
status: string;
|
|
8680
|
-
/**
|
|
8681
|
-
* Total number of chunks in the source download.
|
|
8682
|
-
*/
|
|
8683
|
-
chunksTotal: number;
|
|
8684
|
-
/**
|
|
8685
|
-
* Number of source chunks downloaded so far.
|
|
8686
|
-
*/
|
|
8687
|
-
chunksUploaded: number;
|
|
8688
|
-
/**
|
|
8689
|
-
* Container format.
|
|
8690
|
-
*/
|
|
8691
|
-
format: string;
|
|
8692
|
-
/**
|
|
8693
|
-
* Video duration in milliseconds.
|
|
8694
|
-
*/
|
|
8695
|
-
duration: number;
|
|
8696
|
-
/**
|
|
8697
|
-
* Video width in pixels.
|
|
8698
|
-
*/
|
|
8699
|
-
width: number;
|
|
8700
|
-
/**
|
|
8701
|
-
* Video height in pixels.
|
|
8702
|
-
*/
|
|
8703
|
-
height: number;
|
|
8704
|
-
/**
|
|
8705
|
-
* Video aspect ratio.
|
|
8706
|
-
*/
|
|
8707
|
-
aspectRatio: string;
|
|
8708
|
-
/**
|
|
8709
|
-
* Video codec.
|
|
8710
|
-
*/
|
|
8711
|
-
videoCodec: string;
|
|
8712
|
-
/**
|
|
8713
|
-
* Video format.
|
|
8714
|
-
*/
|
|
8715
|
-
videoFormat: string;
|
|
8716
|
-
/**
|
|
8717
|
-
* Video format profile.
|
|
8718
|
-
*/
|
|
8719
|
-
videoFormatProfile: string;
|
|
8720
|
-
/**
|
|
8721
|
-
* Video bitrate in bits per second.
|
|
8722
|
-
*/
|
|
8723
|
-
videoBitRate: number;
|
|
8724
|
-
/**
|
|
8725
|
-
* Video frame rate.
|
|
8726
|
-
*/
|
|
8727
|
-
videoFrameRate: string;
|
|
8728
|
-
/**
|
|
8729
|
-
* Video frame rate mode.
|
|
8730
|
-
*/
|
|
8731
|
-
videoFrameRateMode: string;
|
|
8732
|
-
/**
|
|
8733
|
-
* Audio codec.
|
|
8734
|
-
*/
|
|
8735
|
-
audioCodec: string;
|
|
8736
|
-
/**
|
|
8737
|
-
* Audio format.
|
|
8738
|
-
*/
|
|
8739
|
-
audioFormat: string;
|
|
8740
|
-
/**
|
|
8741
|
-
* Audio bitrate in bits per second.
|
|
8742
|
-
*/
|
|
8743
|
-
audioBitRate: number;
|
|
8744
|
-
/**
|
|
8745
|
-
* Audio sample rate.
|
|
8746
|
-
*/
|
|
8747
|
-
audioSampleRate: string;
|
|
8748
|
-
};
|
|
8749
|
-
/**
|
|
8750
|
-
* Video profile
|
|
8751
|
-
*/
|
|
8752
|
-
export type VideoProfile = {
|
|
8753
|
-
/**
|
|
8754
|
-
* Video profile ID.
|
|
8755
|
-
*/
|
|
8756
|
-
$id: string;
|
|
8757
|
-
/**
|
|
8758
|
-
* Video profile creation time in ISO 8601 format.
|
|
8759
|
-
*/
|
|
8760
|
-
$createdAt: string;
|
|
8761
|
-
/**
|
|
8762
|
-
* Video profile update date in ISO 8601 format.
|
|
8763
|
-
*/
|
|
8764
|
-
$updatedAt: string;
|
|
8765
|
-
/**
|
|
8766
|
-
* Video profile name.
|
|
8767
|
-
*/
|
|
8768
|
-
name: string;
|
|
8769
|
-
/**
|
|
8770
|
-
* Target video bitrate in kilobits per second.
|
|
8771
|
-
*/
|
|
8772
|
-
videoBitRate: number;
|
|
8773
|
-
/**
|
|
8774
|
-
* Target audio bitrate in kilobits per second.
|
|
8775
|
-
*/
|
|
8776
|
-
audioBitRate: number;
|
|
8777
|
-
/**
|
|
8778
|
-
* Target video width in pixels.
|
|
8779
|
-
*/
|
|
8780
|
-
width: number;
|
|
8781
|
-
/**
|
|
8782
|
-
* Target video height in pixels.
|
|
8783
|
-
*/
|
|
8784
|
-
height: number;
|
|
8785
|
-
};
|
|
8786
|
-
/**
|
|
8787
|
-
* Video rendition
|
|
8788
|
-
*/
|
|
8789
|
-
export type VideoRendition = {
|
|
8790
|
-
/**
|
|
8791
|
-
* Rendition ID.
|
|
8792
|
-
*/
|
|
8793
|
-
$id: string;
|
|
8794
|
-
/**
|
|
8795
|
-
* Rendition creation time in ISO 8601 format.
|
|
8796
|
-
*/
|
|
8797
|
-
$createdAt: string;
|
|
8798
|
-
/**
|
|
8799
|
-
* Rendition update date in ISO 8601 format.
|
|
8800
|
-
*/
|
|
8801
|
-
$updatedAt: string;
|
|
8802
|
-
/**
|
|
8803
|
-
* Video ID.
|
|
8804
|
-
*/
|
|
8805
|
-
videoId: string;
|
|
8806
|
-
/**
|
|
8807
|
-
* Video profile ID this rendition was encoded against.
|
|
8808
|
-
*/
|
|
8809
|
-
profileId: string;
|
|
8810
|
-
/**
|
|
8811
|
-
* Rendition name, derived from its dimensions and bitrate.
|
|
8812
|
-
*/
|
|
8813
|
-
name: string;
|
|
8814
|
-
/**
|
|
8815
|
-
* Transcoding start time in ISO 8601 format.
|
|
8816
|
-
*/
|
|
8817
|
-
startedAt: string;
|
|
8818
|
-
/**
|
|
8819
|
-
* Transcoding end time in ISO 8601 format.
|
|
8820
|
-
*/
|
|
8821
|
-
endedAt: string;
|
|
8822
|
-
/**
|
|
8823
|
-
* Rendition width in pixels.
|
|
8824
|
-
*/
|
|
8825
|
-
width: number;
|
|
8826
|
-
/**
|
|
8827
|
-
* Rendition height in pixels.
|
|
8828
|
-
*/
|
|
8829
|
-
height: number;
|
|
8830
|
-
/**
|
|
8831
|
-
* Video bitrate in kilobits per second.
|
|
8832
|
-
*/
|
|
8833
|
-
videoBitRate: number;
|
|
8834
|
-
/**
|
|
8835
|
-
* Audio bitrate in kilobits per second.
|
|
8836
|
-
*/
|
|
8837
|
-
audioBitRate: number;
|
|
8838
|
-
/**
|
|
8839
|
-
* Longest segment duration in seconds.
|
|
8840
|
-
*/
|
|
8841
|
-
targetDuration: string;
|
|
8842
|
-
/**
|
|
8843
|
-
* Transcoding status: one of `pending`, `started`, `ended`, `uploading`, `ready`, `error` or `aborted`.
|
|
8844
|
-
*/
|
|
8845
|
-
status: string;
|
|
8846
|
-
/**
|
|
8847
|
-
* Transcoding progress as a percentage.
|
|
8848
|
-
*/
|
|
8849
|
-
progress: string;
|
|
8850
|
-
/**
|
|
8851
|
-
* Streaming output format: `hls`, `dash`, or `cmaf`.
|
|
8852
|
-
*/
|
|
8853
|
-
output: string;
|
|
8854
|
-
};
|
|
8855
|
-
/**
|
|
8856
|
-
* Video subtitle
|
|
8857
|
-
*/
|
|
8858
|
-
export type VideoSubtitle = {
|
|
8859
|
-
/**
|
|
8860
|
-
* Subtitle ID.
|
|
8861
|
-
*/
|
|
8862
|
-
$id: string;
|
|
8863
|
-
/**
|
|
8864
|
-
* Subtitle creation time in ISO 8601 format.
|
|
8865
|
-
*/
|
|
8866
|
-
$createdAt: string;
|
|
8867
|
-
/**
|
|
8868
|
-
* Subtitle update date in ISO 8601 format.
|
|
8869
|
-
*/
|
|
8870
|
-
$updatedAt: string;
|
|
8871
|
-
/**
|
|
8872
|
-
* Video ID.
|
|
8873
|
-
*/
|
|
8874
|
-
videoId: string;
|
|
8875
|
-
/**
|
|
8876
|
-
* Storage bucket ID holding the subtitle file.
|
|
8877
|
-
*/
|
|
8878
|
-
bucketId: string;
|
|
8879
|
-
/**
|
|
8880
|
-
* Subtitle file ID.
|
|
8881
|
-
*/
|
|
8882
|
-
fileId: string;
|
|
8883
|
-
/**
|
|
8884
|
-
* Subtitle display name.
|
|
8885
|
-
*/
|
|
8886
|
-
name: string;
|
|
8887
|
-
/**
|
|
8888
|
-
* Subtitle ISO 639-2 language code.
|
|
8889
|
-
*/
|
|
8890
|
-
code: string;
|
|
8891
|
-
/**
|
|
8892
|
-
* Is this the default subtitle track?
|
|
8893
|
-
*/
|
|
8894
|
-
default: boolean;
|
|
8895
|
-
/**
|
|
8896
|
-
* Was this track auto-extracted from the source container? Extracted tracks have no backing file; extraction runs once per video, so a deleted extracted track is not re-created.
|
|
8897
|
-
*/
|
|
8898
|
-
embedded: boolean;
|
|
8899
|
-
/**
|
|
8900
|
-
* Longest segment duration in seconds.
|
|
8901
|
-
*/
|
|
8902
|
-
targetDuration: string;
|
|
8903
|
-
/**
|
|
8904
|
-
* Packaging status: one of `pending`, `started`, `ready` or `error`.
|
|
8905
|
-
*/
|
|
8906
|
-
status: string;
|
|
8907
|
-
};
|
|
8908
8592
|
/**
|
|
8909
8593
|
* ActivityEvent
|
|
8910
8594
|
*/
|
|
@@ -9320,117 +9004,6 @@ export declare namespace Models {
|
|
|
9320
9004
|
*/
|
|
9321
9005
|
resources: UsageResources[];
|
|
9322
9006
|
};
|
|
9323
|
-
/**
|
|
9324
|
-
* AnalyticsMetric
|
|
9325
|
-
*/
|
|
9326
|
-
export type AnalyticsMetric = {
|
|
9327
|
-
/**
|
|
9328
|
-
* Dimension value this row covers. Null when no dimension was requested, empty when the dimension could not be derived for those events.
|
|
9329
|
-
*/
|
|
9330
|
-
value?: string;
|
|
9331
|
-
/**
|
|
9332
|
-
* Start of the time bucket this row covers, in ISO 8601. Null when no interval was requested.
|
|
9333
|
-
*/
|
|
9334
|
-
date?: string;
|
|
9335
|
-
/**
|
|
9336
|
-
* Unique visitors in the requested range.
|
|
9337
|
-
*/
|
|
9338
|
-
visitors: number;
|
|
9339
|
-
/**
|
|
9340
|
-
* Unique sessions in the requested range.
|
|
9341
|
-
*/
|
|
9342
|
-
sessions: number;
|
|
9343
|
-
/**
|
|
9344
|
-
* Total pageview events (events with name="pageview") in the requested range. Only the flat aggregate computes it; null on breakdown and time-series rows.
|
|
9345
|
-
*/
|
|
9346
|
-
pageviews?: number;
|
|
9347
|
-
/**
|
|
9348
|
-
* Total events in the requested range.
|
|
9349
|
-
*/
|
|
9350
|
-
events: number;
|
|
9351
|
-
/**
|
|
9352
|
-
* Total sessions with activity in the requested range. Only the flat aggregate computes it; null on breakdown and time-series rows.
|
|
9353
|
-
*/
|
|
9354
|
-
visits?: number;
|
|
9355
|
-
/**
|
|
9356
|
-
* Share of single-event sessions, as a percentage. Only the flat aggregate computes it; null on breakdown and time-series rows.
|
|
9357
|
-
*/
|
|
9358
|
-
bounceRate?: number;
|
|
9359
|
-
/**
|
|
9360
|
-
* Average session length in seconds, measured first event to last event. Single-event sessions count as 0. Only the flat aggregate computes it; null on breakdown and time-series rows.
|
|
9361
|
-
*/
|
|
9362
|
-
visitDuration?: number;
|
|
9363
|
-
/**
|
|
9364
|
-
* Average pageviews per session (pageviews divided by visits). Only the flat aggregate computes it; null on breakdown and time-series rows.
|
|
9365
|
-
*/
|
|
9366
|
-
viewsPerVisit?: number;
|
|
9367
|
-
/**
|
|
9368
|
-
* Average scroll depth across events, as a percentage. Only the flat aggregate computes it; null on breakdown and time-series rows.
|
|
9369
|
-
*/
|
|
9370
|
-
scrollDepth?: number;
|
|
9371
|
-
/**
|
|
9372
|
-
* Average engaged time per session in seconds, counting only foreground time. Sessions that reported no engagement are excluded. Only the flat aggregate computes it; null on breakdown and time-series rows.
|
|
9373
|
-
*/
|
|
9374
|
-
engagementTime?: number;
|
|
9375
|
-
};
|
|
9376
|
-
/**
|
|
9377
|
-
* AnalyticsMetricList
|
|
9378
|
-
*/
|
|
9379
|
-
export type AnalyticsMetricList = {
|
|
9380
|
-
/**
|
|
9381
|
-
* Total number of metric rows returned.
|
|
9382
|
-
*/
|
|
9383
|
-
total: number;
|
|
9384
|
-
/**
|
|
9385
|
-
* Metric rows: one per time bucket, one per dimension value, or a single row for the flat aggregate.
|
|
9386
|
-
*/
|
|
9387
|
-
metrics: AnalyticsMetric[];
|
|
9388
|
-
};
|
|
9389
|
-
/**
|
|
9390
|
-
* AnalyticsProperty
|
|
9391
|
-
*/
|
|
9392
|
-
export type AnalyticsProperty = {
|
|
9393
|
-
/**
|
|
9394
|
-
* Analytics property ID.
|
|
9395
|
-
*/
|
|
9396
|
-
$id: string;
|
|
9397
|
-
/**
|
|
9398
|
-
* Property creation date in ISO 8601 format.
|
|
9399
|
-
*/
|
|
9400
|
-
$createdAt: string;
|
|
9401
|
-
/**
|
|
9402
|
-
* Property update date in ISO 8601 format.
|
|
9403
|
-
*/
|
|
9404
|
-
$updatedAt: string;
|
|
9405
|
-
/**
|
|
9406
|
-
* Human-readable name of the tracked website or application.
|
|
9407
|
-
*/
|
|
9408
|
-
name: string;
|
|
9409
|
-
/**
|
|
9410
|
-
* Primary domain being tracked (e.g. example.com). May be empty for native apps.
|
|
9411
|
-
*/
|
|
9412
|
-
domain: string;
|
|
9413
|
-
/**
|
|
9414
|
-
* IANA timezone used to define the daily boundary for stats.
|
|
9415
|
-
*/
|
|
9416
|
-
timezone: string;
|
|
9417
|
-
/**
|
|
9418
|
-
* Whether tracking is currently active.
|
|
9419
|
-
*/
|
|
9420
|
-
enabled: boolean;
|
|
9421
|
-
/**
|
|
9422
|
-
* Whether stats for this property are publicly viewable.
|
|
9423
|
-
*/
|
|
9424
|
-
public: boolean;
|
|
9425
|
-
/**
|
|
9426
|
-
* List of origins allowed to send tracking events. Use ["*"] to allow all.
|
|
9427
|
-
*/
|
|
9428
|
-
allowedOrigins: string[];
|
|
9429
|
-
/**
|
|
9430
|
-
* Unique identifier for the tracking script snippet.
|
|
9431
|
-
*/
|
|
9432
|
-
snippetId: string;
|
|
9433
|
-
};
|
|
9434
9007
|
/**
|
|
9435
9008
|
* Team
|
|
9436
9009
|
*/
|
|
@@ -9581,17 +9154,17 @@ export declare namespace Models {
|
|
|
9581
9154
|
*/
|
|
9582
9155
|
policyId: string;
|
|
9583
9156
|
/**
|
|
9584
|
-
* Archive size in bytes.
|
|
9157
|
+
* Archive size in bytes.
|
|
9585
9158
|
*/
|
|
9586
|
-
size
|
|
9159
|
+
size: number;
|
|
9587
9160
|
/**
|
|
9588
9161
|
* The status of the archive creation. Possible values: pending, processing, uploading, completed, failed, skipped.
|
|
9589
9162
|
*/
|
|
9590
9163
|
status: string;
|
|
9591
9164
|
/**
|
|
9592
|
-
* The backup start time.
|
|
9165
|
+
* The backup start time.
|
|
9593
9166
|
*/
|
|
9594
|
-
startedAt
|
|
9167
|
+
startedAt: string;
|
|
9595
9168
|
/**
|
|
9596
9169
|
* Migration ID.
|
|
9597
9170
|
*/
|
|
@@ -9743,7 +9316,7 @@ export declare namespace Models {
|
|
|
9743
9316
|
/**
|
|
9744
9317
|
* Address line 2
|
|
9745
9318
|
*/
|
|
9746
|
-
addressLine2
|
|
9319
|
+
addressLine2: string;
|
|
9747
9320
|
/**
|
|
9748
9321
|
* Address country
|
|
9749
9322
|
*/
|
|
@@ -9755,11 +9328,11 @@ export declare namespace Models {
|
|
|
9755
9328
|
/**
|
|
9756
9329
|
* state
|
|
9757
9330
|
*/
|
|
9758
|
-
state
|
|
9331
|
+
state: string;
|
|
9759
9332
|
/**
|
|
9760
9333
|
* postal code
|
|
9761
9334
|
*/
|
|
9762
|
-
postalCode
|
|
9335
|
+
postalCode: string;
|
|
9763
9336
|
};
|
|
9764
9337
|
/**
|
|
9765
9338
|
* Limits
|
|
@@ -9963,9 +9536,9 @@ export declare namespace Models {
|
|
|
9963
9536
|
*/
|
|
9964
9537
|
alertLimit: number;
|
|
9965
9538
|
/**
|
|
9966
|
-
* Additional resources
|
|
9539
|
+
* Additional resources
|
|
9967
9540
|
*/
|
|
9968
|
-
usage
|
|
9541
|
+
usage: UsageBillingPlan;
|
|
9969
9542
|
/**
|
|
9970
9543
|
* Addons
|
|
9971
9544
|
*/
|
|
@@ -10312,7 +9885,7 @@ export declare namespace Models {
|
|
|
10312
9885
|
/**
|
|
10313
9886
|
* Branch port. Null until the backing reports one.
|
|
10314
9887
|
*/
|
|
10315
|
-
port
|
|
9888
|
+
port: number;
|
|
10316
9889
|
/**
|
|
10317
9890
|
* Advertised catalog the client connects to. MySQL/MariaDB use default; Postgres uses the routing label.
|
|
10318
9891
|
*/
|
|
@@ -10616,11 +10189,11 @@ export declare namespace Models {
|
|
|
10616
10189
|
/**
|
|
10617
10190
|
* Product API that owns this database: tablesdb, documentsdb, vectorsdb, mysql, postgresql, or mongodb.
|
|
10618
10191
|
*/
|
|
10619
|
-
api
|
|
10192
|
+
api: string;
|
|
10620
10193
|
/**
|
|
10621
10194
|
* Database engine: postgresql, mysql, or mongodb. Null until the backing reports one.
|
|
10622
10195
|
*/
|
|
10623
|
-
engine
|
|
10196
|
+
engine: string;
|
|
10624
10197
|
/**
|
|
10625
10198
|
* Database engine version.
|
|
10626
10199
|
*/
|
|
@@ -10640,7 +10213,7 @@ export declare namespace Models {
|
|
|
10640
10213
|
/**
|
|
10641
10214
|
* Database port for connections. Derived from the engine when the backing has not reported one yet.
|
|
10642
10215
|
*/
|
|
10643
|
-
connectionPort
|
|
10216
|
+
connectionPort: number;
|
|
10644
10217
|
/**
|
|
10645
10218
|
* Database username for connections.
|
|
10646
10219
|
*/
|
|
@@ -10652,7 +10225,7 @@ export declare namespace Models {
|
|
|
10652
10225
|
/**
|
|
10653
10226
|
* Committed generation of the primary connection credentials. Null until the rotation contract has been initialized.
|
|
10654
10227
|
*/
|
|
10655
|
-
credentialGeneration
|
|
10228
|
+
credentialGeneration: number;
|
|
10656
10229
|
/**
|
|
10657
10230
|
* Full database connection string (URI format).
|
|
10658
10231
|
*/
|
|
@@ -10863,7 +10436,7 @@ export declare namespace Models {
|
|
|
10863
10436
|
/**
|
|
10864
10437
|
* Source database ID when restoring a backup into another database.
|
|
10865
10438
|
*/
|
|
10866
|
-
sourceDatabaseId
|
|
10439
|
+
sourceDatabaseId: string;
|
|
10867
10440
|
/**
|
|
10868
10441
|
* Project ID.
|
|
10869
10442
|
*/
|
|
@@ -10871,7 +10444,7 @@ export declare namespace Models {
|
|
|
10871
10444
|
/**
|
|
10872
10445
|
* Backup ID used for restoration (null for PITR).
|
|
10873
10446
|
*/
|
|
10874
|
-
backupId
|
|
10447
|
+
backupId: string;
|
|
10875
10448
|
/**
|
|
10876
10449
|
* Restoration type. Possible values: backup (restore from a specific backup snapshot), pitr (point-in-time recovery to a specific timestamp).
|
|
10877
10450
|
*/
|
|
@@ -10883,15 +10456,15 @@ export declare namespace Models {
|
|
|
10883
10456
|
/**
|
|
10884
10457
|
* Target time for PITR restoration in ISO 8601 format.
|
|
10885
10458
|
*/
|
|
10886
|
-
targetTime
|
|
10459
|
+
targetTime: string;
|
|
10887
10460
|
/**
|
|
10888
10461
|
* Restoration start time in ISO 8601 format.
|
|
10889
10462
|
*/
|
|
10890
|
-
startedAt
|
|
10463
|
+
startedAt: string;
|
|
10891
10464
|
/**
|
|
10892
10465
|
* Restoration completion time in ISO 8601 format.
|
|
10893
10466
|
*/
|
|
10894
|
-
completedAt
|
|
10467
|
+
completedAt: string;
|
|
10895
10468
|
/**
|
|
10896
10469
|
* Error message if restoration failed.
|
|
10897
10470
|
*/
|
|
@@ -10922,9 +10495,9 @@ export declare namespace Models {
|
|
|
10922
10495
|
*/
|
|
10923
10496
|
uptime: number;
|
|
10924
10497
|
/**
|
|
10925
|
-
* Connection statistics.
|
|
10498
|
+
* Connection statistics.
|
|
10926
10499
|
*/
|
|
10927
|
-
connections
|
|
10500
|
+
connections: DatabaseStatusConnections;
|
|
10928
10501
|
/**
|
|
10929
10502
|
* Requested replication sync mode. Possible values: async, sync, quorum. Compare with effectiveSyncMode for what the primary is enforcing.
|
|
10930
10503
|
*/
|
|
@@ -11257,7 +10830,7 @@ export declare namespace Models {
|
|
|
11257
10830
|
/**
|
|
11258
10831
|
* Discount amount
|
|
11259
10832
|
*/
|
|
11260
|
-
discount
|
|
10833
|
+
discount: number;
|
|
11261
10834
|
/**
|
|
11262
10835
|
* Credits amount
|
|
11263
10836
|
*/
|
|
@@ -11341,7 +10914,7 @@ export declare namespace Models {
|
|
|
11341
10914
|
/**
|
|
11342
10915
|
* Discount amount
|
|
11343
10916
|
*/
|
|
11344
|
-
discount
|
|
10917
|
+
discount: number;
|
|
11345
10918
|
/**
|
|
11346
10919
|
* Credits amount
|
|
11347
10920
|
*/
|
|
@@ -11617,7 +11190,7 @@ export declare namespace Models {
|
|
|
11617
11190
|
/**
|
|
11618
11191
|
* Client secret for processing failed payments in front-end
|
|
11619
11192
|
*/
|
|
11620
|
-
clientSecret
|
|
11193
|
+
clientSecret: string;
|
|
11621
11194
|
/**
|
|
11622
11195
|
* Invoice status
|
|
11623
11196
|
*/
|
|
@@ -11629,7 +11202,7 @@ export declare namespace Models {
|
|
|
11629
11202
|
/**
|
|
11630
11203
|
* Last payment error associated with the invoice
|
|
11631
11204
|
*/
|
|
11632
|
-
lastError
|
|
11205
|
+
lastError: string;
|
|
11633
11206
|
/**
|
|
11634
11207
|
* Invoice due date.
|
|
11635
11208
|
*/
|
|
@@ -11760,15 +11333,15 @@ export declare namespace Models {
|
|
|
11760
11333
|
/**
|
|
11761
11334
|
* Billing cycle start date.
|
|
11762
11335
|
*/
|
|
11763
|
-
billingStartDate
|
|
11336
|
+
billingStartDate: string;
|
|
11764
11337
|
/**
|
|
11765
11338
|
* Current invoice cycle start date.
|
|
11766
11339
|
*/
|
|
11767
|
-
billingCurrentInvoiceDate
|
|
11340
|
+
billingCurrentInvoiceDate: string;
|
|
11768
11341
|
/**
|
|
11769
11342
|
* Next invoice cycle start date.
|
|
11770
11343
|
*/
|
|
11771
|
-
billingNextInvoiceDate
|
|
11344
|
+
billingNextInvoiceDate: string;
|
|
11772
11345
|
/**
|
|
11773
11346
|
* Start date of trial.
|
|
11774
11347
|
*/
|
|
@@ -11776,19 +11349,19 @@ export declare namespace Models {
|
|
|
11776
11349
|
/**
|
|
11777
11350
|
* Number of trial days.
|
|
11778
11351
|
*/
|
|
11779
|
-
billingTrialDays
|
|
11352
|
+
billingTrialDays: number;
|
|
11780
11353
|
/**
|
|
11781
11354
|
* Current active aggregation id.
|
|
11782
11355
|
*/
|
|
11783
|
-
billingAggregationId
|
|
11356
|
+
billingAggregationId: string;
|
|
11784
11357
|
/**
|
|
11785
11358
|
* Current active aggregation id.
|
|
11786
11359
|
*/
|
|
11787
|
-
billingInvoiceId
|
|
11360
|
+
billingInvoiceId: string;
|
|
11788
11361
|
/**
|
|
11789
11362
|
* Default payment method.
|
|
11790
11363
|
*/
|
|
11791
|
-
paymentMethodId
|
|
11364
|
+
paymentMethodId: string;
|
|
11792
11365
|
/**
|
|
11793
11366
|
* Default payment method.
|
|
11794
11367
|
*/
|
|
@@ -11918,39 +11491,39 @@ export declare namespace Models {
|
|
|
11918
11491
|
/**
|
|
11919
11492
|
* Expiry month of the payment method.
|
|
11920
11493
|
*/
|
|
11921
|
-
expiryMonth
|
|
11494
|
+
expiryMonth: number;
|
|
11922
11495
|
/**
|
|
11923
11496
|
* Expiry year of the payment method.
|
|
11924
11497
|
*/
|
|
11925
|
-
expiryYear
|
|
11498
|
+
expiryYear: number;
|
|
11926
11499
|
/**
|
|
11927
11500
|
* Last 4 digit of the payment method
|
|
11928
11501
|
*/
|
|
11929
|
-
last4
|
|
11502
|
+
last4: string;
|
|
11930
11503
|
/**
|
|
11931
11504
|
* Payment method brand
|
|
11932
11505
|
*/
|
|
11933
|
-
brand
|
|
11506
|
+
brand: string;
|
|
11934
11507
|
/**
|
|
11935
11508
|
* Name of the owner
|
|
11936
11509
|
*/
|
|
11937
|
-
name
|
|
11510
|
+
name: string;
|
|
11938
11511
|
/**
|
|
11939
11512
|
* Mandate ID of the payment method
|
|
11940
11513
|
*/
|
|
11941
|
-
mandateId
|
|
11514
|
+
mandateId: string;
|
|
11942
11515
|
/**
|
|
11943
11516
|
* Country of the payment method
|
|
11944
11517
|
*/
|
|
11945
|
-
country
|
|
11518
|
+
country: string;
|
|
11946
11519
|
/**
|
|
11947
11520
|
* State of the payment method
|
|
11948
11521
|
*/
|
|
11949
|
-
state
|
|
11522
|
+
state: string;
|
|
11950
11523
|
/**
|
|
11951
11524
|
* Last payment error associated with the payment method.
|
|
11952
11525
|
*/
|
|
11953
|
-
lastError
|
|
11526
|
+
lastError: string;
|
|
11954
11527
|
/**
|
|
11955
11528
|
* True when it's the default payment method.
|
|
11956
11529
|
*/
|
|
@@ -12323,9 +11896,9 @@ export declare namespace Models {
|
|
|
12323
11896
|
*/
|
|
12324
11897
|
status: string;
|
|
12325
11898
|
/**
|
|
12326
|
-
* The
|
|
11899
|
+
* The backup start time.
|
|
12327
11900
|
*/
|
|
12328
|
-
startedAt
|
|
11901
|
+
startedAt: string;
|
|
12329
11902
|
/**
|
|
12330
11903
|
* Migration ID.
|
|
12331
11904
|
*/
|
|
@@ -12339,9 +11912,9 @@ export declare namespace Models {
|
|
|
12339
11912
|
*/
|
|
12340
11913
|
resources: string[];
|
|
12341
11914
|
/**
|
|
12342
|
-
*
|
|
11915
|
+
* Optional data in key-value object.
|
|
12343
11916
|
*/
|
|
12344
|
-
options:
|
|
11917
|
+
options: string;
|
|
12345
11918
|
};
|
|
12346
11919
|
/**
|
|
12347
11920
|
* Dedicated database restorations list
|
|
@@ -12526,11 +12099,11 @@ export declare namespace Models {
|
|
|
12526
12099
|
/**
|
|
12527
12100
|
* Bandwidth additional resources
|
|
12528
12101
|
*/
|
|
12529
|
-
bandwidth
|
|
12102
|
+
bandwidth: AdditionalResource;
|
|
12530
12103
|
/**
|
|
12531
12104
|
* Executions additional resources
|
|
12532
12105
|
*/
|
|
12533
|
-
executions
|
|
12106
|
+
executions: AdditionalResource;
|
|
12534
12107
|
/**
|
|
12535
12108
|
* Member additional resources
|
|
12536
12109
|
*/
|
|
@@ -12538,11 +12111,11 @@ export declare namespace Models {
|
|
|
12538
12111
|
/**
|
|
12539
12112
|
* Realtime additional resources
|
|
12540
12113
|
*/
|
|
12541
|
-
realtime
|
|
12114
|
+
realtime: AdditionalResource;
|
|
12542
12115
|
/**
|
|
12543
12116
|
* Realtime messages additional resources
|
|
12544
12117
|
*/
|
|
12545
|
-
realtimeMessages
|
|
12118
|
+
realtimeMessages: AdditionalResource;
|
|
12546
12119
|
/**
|
|
12547
12120
|
* Realtime bandwidth additional resources
|
|
12548
12121
|
*/
|
|
@@ -12550,19 +12123,19 @@ export declare namespace Models {
|
|
|
12550
12123
|
/**
|
|
12551
12124
|
* Storage additional resources
|
|
12552
12125
|
*/
|
|
12553
|
-
storage
|
|
12126
|
+
storage: AdditionalResource;
|
|
12554
12127
|
/**
|
|
12555
12128
|
* User additional resources
|
|
12556
12129
|
*/
|
|
12557
|
-
users
|
|
12130
|
+
users: AdditionalResource;
|
|
12558
12131
|
/**
|
|
12559
12132
|
* GBHour additional resources
|
|
12560
12133
|
*/
|
|
12561
|
-
GBHours
|
|
12134
|
+
GBHours: AdditionalResource;
|
|
12562
12135
|
/**
|
|
12563
12136
|
* Image transformation additional resources
|
|
12564
12137
|
*/
|
|
12565
|
-
imageTransformations
|
|
12138
|
+
imageTransformations: AdditionalResource;
|
|
12566
12139
|
/**
|
|
12567
12140
|
* Credits additional resources
|
|
12568
12141
|
*/
|
|
@@ -12652,10 +12225,6 @@ export declare namespace Models {
|
|
|
12652
12225
|
* Aggregated stats for total backups storage.
|
|
12653
12226
|
*/
|
|
12654
12227
|
backupsStorageTotal: number;
|
|
12655
|
-
/**
|
|
12656
|
-
* Aggregated stats for total custom user photos storage.
|
|
12657
|
-
*/
|
|
12658
|
-
avatarsStorageTotal: number;
|
|
12659
12228
|
/**
|
|
12660
12229
|
* Aggregated stats for total storage.
|
|
12661
12230
|
*/
|
|
@@ -13897,19 +13466,6 @@ export declare namespace Models {
|
|
|
13897
13466
|
*/
|
|
13898
13467
|
addons: Addon[];
|
|
13899
13468
|
};
|
|
13900
|
-
/**
|
|
13901
|
-
* Analytics properties list
|
|
13902
|
-
*/
|
|
13903
|
-
export type AnalyticsPropertyList = {
|
|
13904
|
-
/**
|
|
13905
|
-
* Total number of properties that matched your query.
|
|
13906
|
-
*/
|
|
13907
|
-
total: number;
|
|
13908
|
-
/**
|
|
13909
|
-
* List of properties.
|
|
13910
|
-
*/
|
|
13911
|
-
properties: AnalyticsProperty[];
|
|
13912
|
-
};
|
|
13913
13469
|
/**
|
|
13914
13470
|
* Aggregation team list
|
|
13915
13471
|
*/
|