@appwrite.io/console 18.2.0 → 18.3.0-rc.2

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/types/models.d.ts CHANGED
@@ -229,6 +229,58 @@ 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
+ };
232
284
  /**
233
285
  * Teams List
234
286
  */
@@ -598,7 +650,7 @@ export declare namespace Models {
598
650
  /**
599
651
  * List of policies.
600
652
  */
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)[];
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 | Models.PolicyPasskey)[];
602
654
  };
603
655
  /**
604
656
  * Email Templates List
@@ -6782,6 +6834,27 @@ export declare namespace Models {
6782
6834
  */
6783
6835
  custom: boolean;
6784
6836
  };
6837
+ /**
6838
+ * Policy Passkey
6839
+ */
6840
+ export type PolicyPasskey = {
6841
+ /**
6842
+ * Policy ID.
6843
+ */
6844
+ $id: string;
6845
+ /**
6846
+ * Whether the passkey auth method is enabled. Toggle it with the update auth method endpoint.
6847
+ */
6848
+ enabled: boolean;
6849
+ /**
6850
+ * Relying party ID passkeys are bound to. Empty until configured.
6851
+ */
6852
+ rpId: string;
6853
+ /**
6854
+ * Web origins allowed to register and sign in with passkeys.
6855
+ */
6856
+ origins: string[];
6857
+ };
6785
6858
  /**
6786
6859
  * Policy Deny Aliased Email
6787
6860
  */
@@ -7448,7 +7521,7 @@ export declare namespace Models {
7448
7521
  */
7449
7522
  deploymentId: string;
7450
7523
  /**
7451
- * Type of deployment. Possible values are "function", "site". Used if rule's type is "deployment".
7524
+ * Type of deployment resource: function, site, or dedicatedDatabase.
7452
7525
  */
7453
7526
  deploymentResourceType?: ProxyRuleDeploymentResourceType;
7454
7527
  /**
@@ -7835,6 +7908,73 @@ export declare namespace Models {
7835
7908
  */
7836
7909
  code: string;
7837
7910
  };
7911
+ /**
7912
+ * Passkey
7913
+ */
7914
+ export type Passkey = {
7915
+ /**
7916
+ * Passkey ID.
7917
+ */
7918
+ $id: string;
7919
+ /**
7920
+ * Passkey creation date in ISO 8601 format.
7921
+ */
7922
+ $createdAt: string;
7923
+ /**
7924
+ * Passkey update date in ISO 8601 format.
7925
+ */
7926
+ $updatedAt: string;
7927
+ /**
7928
+ * Passkey name.
7929
+ */
7930
+ name: string;
7931
+ /**
7932
+ * Most recent sign-in with this passkey in ISO 8601 format. Empty until the passkey is used to sign in.
7933
+ */
7934
+ accessedAt: string;
7935
+ /**
7936
+ * Whether the passkey is synced to a cloud account, such as iCloud Keychain or Google Password Manager, rather than bound to one device.
7937
+ */
7938
+ backedUp: boolean;
7939
+ };
7940
+ /**
7941
+ * Passkey Challenge
7942
+ */
7943
+ export type PasskeyChallenge = {
7944
+ /**
7945
+ * Challenge ID. Pass it back with the credential to complete the ceremony.
7946
+ */
7947
+ $id: string;
7948
+ /**
7949
+ * Challenge creation date in ISO 8601 format.
7950
+ */
7951
+ $createdAt: string;
7952
+ /**
7953
+ * ID of the passkey being registered. Empty for sign-in challenges.
7954
+ */
7955
+ passkeyId: string;
7956
+ /**
7957
+ * Challenge expiration date in ISO 8601 format.
7958
+ */
7959
+ expire: string;
7960
+ /**
7961
+ * WebAuthn options in JSON form. Pass them to `PublicKeyCredential.parseCreationOptionsFromJSON()` when registering, or `PublicKeyCredential.parseRequestOptionsFromJSON()` when signing in.
7962
+ */
7963
+ publicKey: object;
7964
+ };
7965
+ /**
7966
+ * Passkeys List
7967
+ */
7968
+ export type PasskeyList = {
7969
+ /**
7970
+ * Total number of passkeys that matched your query.
7971
+ */
7972
+ total: number;
7973
+ /**
7974
+ * List of passkeys.
7975
+ */
7976
+ passkeys: Passkey[];
7977
+ };
7838
7978
  /**
7839
7979
  * MFA Recovery Codes
7840
7980
  */
@@ -8489,6 +8629,274 @@ export declare namespace Models {
8489
8629
  */
8490
8630
  analyzedAt?: string;
8491
8631
  };
8632
+ /**
8633
+ * Video
8634
+ */
8635
+ export type Video = {
8636
+ /**
8637
+ * Video ID.
8638
+ */
8639
+ $id: string;
8640
+ /**
8641
+ * Video creation time in ISO 8601 format.
8642
+ */
8643
+ $createdAt: string;
8644
+ /**
8645
+ * Video update date in ISO 8601 format.
8646
+ */
8647
+ $updatedAt: string;
8648
+ /**
8649
+ * Storage bucket ID holding the source file.
8650
+ */
8651
+ bucketId: string;
8652
+ /**
8653
+ * Source file ID.
8654
+ */
8655
+ fileId: string;
8656
+ /**
8657
+ * Video name.
8658
+ */
8659
+ name: string;
8660
+ /**
8661
+ * Preview image ID, taken from the sprite timeline.
8662
+ */
8663
+ previewId: string;
8664
+ /**
8665
+ * Source file size in bytes.
8666
+ */
8667
+ size: number;
8668
+ /**
8669
+ * Source status: one of `pending`, `downloading`, `ready`, `removed`, `error` or `aborted`.
8670
+ */
8671
+ status: string;
8672
+ /**
8673
+ * Total number of chunks in the source download.
8674
+ */
8675
+ chunksTotal: number;
8676
+ /**
8677
+ * Number of source chunks downloaded so far.
8678
+ */
8679
+ chunksUploaded: number;
8680
+ /**
8681
+ * Container format.
8682
+ */
8683
+ format: string;
8684
+ /**
8685
+ * Video duration in milliseconds.
8686
+ */
8687
+ duration: number;
8688
+ /**
8689
+ * Video width in pixels.
8690
+ */
8691
+ width: number;
8692
+ /**
8693
+ * Video height in pixels.
8694
+ */
8695
+ height: number;
8696
+ /**
8697
+ * Video aspect ratio.
8698
+ */
8699
+ aspectRatio: string;
8700
+ /**
8701
+ * Video codec.
8702
+ */
8703
+ videoCodec: string;
8704
+ /**
8705
+ * Video format.
8706
+ */
8707
+ videoFormat: string;
8708
+ /**
8709
+ * Video format profile.
8710
+ */
8711
+ videoFormatProfile: string;
8712
+ /**
8713
+ * Video bitrate in bits per second.
8714
+ */
8715
+ videoBitRate: number;
8716
+ /**
8717
+ * Video frame rate.
8718
+ */
8719
+ videoFrameRate: string;
8720
+ /**
8721
+ * Video frame rate mode.
8722
+ */
8723
+ videoFrameRateMode: string;
8724
+ /**
8725
+ * Audio codec.
8726
+ */
8727
+ audioCodec: string;
8728
+ /**
8729
+ * Audio format.
8730
+ */
8731
+ audioFormat: string;
8732
+ /**
8733
+ * Audio bitrate in bits per second.
8734
+ */
8735
+ audioBitRate: number;
8736
+ /**
8737
+ * Audio sample rate.
8738
+ */
8739
+ audioSampleRate: string;
8740
+ };
8741
+ /**
8742
+ * Video profile
8743
+ */
8744
+ export type VideoProfile = {
8745
+ /**
8746
+ * Video profile ID.
8747
+ */
8748
+ $id: string;
8749
+ /**
8750
+ * Video profile creation time in ISO 8601 format.
8751
+ */
8752
+ $createdAt: string;
8753
+ /**
8754
+ * Video profile update date in ISO 8601 format.
8755
+ */
8756
+ $updatedAt: string;
8757
+ /**
8758
+ * Video profile name.
8759
+ */
8760
+ name: string;
8761
+ /**
8762
+ * Target video bitrate in kilobits per second.
8763
+ */
8764
+ videoBitRate: number;
8765
+ /**
8766
+ * Target audio bitrate in kilobits per second.
8767
+ */
8768
+ audioBitRate: number;
8769
+ /**
8770
+ * Target video width in pixels.
8771
+ */
8772
+ width: number;
8773
+ /**
8774
+ * Target video height in pixels.
8775
+ */
8776
+ height: number;
8777
+ };
8778
+ /**
8779
+ * Video rendition
8780
+ */
8781
+ export type VideoRendition = {
8782
+ /**
8783
+ * Rendition ID.
8784
+ */
8785
+ $id: string;
8786
+ /**
8787
+ * Rendition creation time in ISO 8601 format.
8788
+ */
8789
+ $createdAt: string;
8790
+ /**
8791
+ * Rendition update date in ISO 8601 format.
8792
+ */
8793
+ $updatedAt: string;
8794
+ /**
8795
+ * Video ID.
8796
+ */
8797
+ videoId: string;
8798
+ /**
8799
+ * Video profile ID this rendition was encoded against.
8800
+ */
8801
+ profileId: string;
8802
+ /**
8803
+ * Rendition name, derived from its dimensions and bitrate.
8804
+ */
8805
+ name: string;
8806
+ /**
8807
+ * Transcoding start time in ISO 8601 format.
8808
+ */
8809
+ startedAt: string;
8810
+ /**
8811
+ * Transcoding end time in ISO 8601 format.
8812
+ */
8813
+ endedAt: string;
8814
+ /**
8815
+ * Rendition width in pixels.
8816
+ */
8817
+ width: number;
8818
+ /**
8819
+ * Rendition height in pixels.
8820
+ */
8821
+ height: number;
8822
+ /**
8823
+ * Video bitrate in kilobits per second.
8824
+ */
8825
+ videoBitRate: number;
8826
+ /**
8827
+ * Audio bitrate in kilobits per second.
8828
+ */
8829
+ audioBitRate: number;
8830
+ /**
8831
+ * Longest segment duration in seconds.
8832
+ */
8833
+ targetDuration: string;
8834
+ /**
8835
+ * Transcoding status: one of `pending`, `started`, `ended`, `uploading`, `ready`, `error` or `aborted`.
8836
+ */
8837
+ status: string;
8838
+ /**
8839
+ * Transcoding progress as a percentage.
8840
+ */
8841
+ progress: string;
8842
+ /**
8843
+ * Streaming output format: `hls`, `dash`, or `cmaf`.
8844
+ */
8845
+ output: string;
8846
+ };
8847
+ /**
8848
+ * Video subtitle
8849
+ */
8850
+ export type VideoSubtitle = {
8851
+ /**
8852
+ * Subtitle ID.
8853
+ */
8854
+ $id: string;
8855
+ /**
8856
+ * Subtitle creation time in ISO 8601 format.
8857
+ */
8858
+ $createdAt: string;
8859
+ /**
8860
+ * Subtitle update date in ISO 8601 format.
8861
+ */
8862
+ $updatedAt: string;
8863
+ /**
8864
+ * Video ID.
8865
+ */
8866
+ videoId: string;
8867
+ /**
8868
+ * Storage bucket ID holding the subtitle file.
8869
+ */
8870
+ bucketId: string;
8871
+ /**
8872
+ * Subtitle file ID.
8873
+ */
8874
+ fileId: string;
8875
+ /**
8876
+ * Subtitle display name.
8877
+ */
8878
+ name: string;
8879
+ /**
8880
+ * Subtitle ISO 639-2 language code.
8881
+ */
8882
+ code: string;
8883
+ /**
8884
+ * Is this the default subtitle track?
8885
+ */
8886
+ default: boolean;
8887
+ /**
8888
+ * 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.
8889
+ */
8890
+ embedded: boolean;
8891
+ /**
8892
+ * Longest segment duration in seconds.
8893
+ */
8894
+ targetDuration: string;
8895
+ /**
8896
+ * Packaging status: one of `pending`, `started`, `ready` or `error`.
8897
+ */
8898
+ status: string;
8899
+ };
8492
8900
  /**
8493
8901
  * ActivityEvent
8494
8902
  */
@@ -8904,6 +9312,117 @@ export declare namespace Models {
8904
9312
  */
8905
9313
  resources: UsageResources[];
8906
9314
  };
9315
+ /**
9316
+ * AnalyticsMetric
9317
+ */
9318
+ export type AnalyticsMetric = {
9319
+ /**
9320
+ * Dimension value this row covers. Null when no dimension was requested, empty when the dimension could not be derived for those events.
9321
+ */
9322
+ value?: string;
9323
+ /**
9324
+ * Start of the time bucket this row covers, in ISO 8601. Null when no interval was requested.
9325
+ */
9326
+ date?: string;
9327
+ /**
9328
+ * Unique visitors in the requested range.
9329
+ */
9330
+ visitors: number;
9331
+ /**
9332
+ * Unique sessions in the requested range.
9333
+ */
9334
+ sessions: number;
9335
+ /**
9336
+ * Total pageview events (events with name="pageview") in the requested range. Only the flat aggregate computes it; null on breakdown and time-series rows.
9337
+ */
9338
+ pageviews?: number;
9339
+ /**
9340
+ * Total events in the requested range.
9341
+ */
9342
+ events: number;
9343
+ /**
9344
+ * Total sessions with activity in the requested range. Only the flat aggregate computes it; null on breakdown and time-series rows.
9345
+ */
9346
+ visits?: number;
9347
+ /**
9348
+ * Share of single-event sessions, as a percentage. Only the flat aggregate computes it; null on breakdown and time-series rows.
9349
+ */
9350
+ bounceRate?: number;
9351
+ /**
9352
+ * 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.
9353
+ */
9354
+ visitDuration?: number;
9355
+ /**
9356
+ * Average pageviews per session (pageviews divided by visits). Only the flat aggregate computes it; null on breakdown and time-series rows.
9357
+ */
9358
+ viewsPerVisit?: number;
9359
+ /**
9360
+ * Average scroll depth across events, as a percentage. Only the flat aggregate computes it; null on breakdown and time-series rows.
9361
+ */
9362
+ scrollDepth?: number;
9363
+ /**
9364
+ * 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.
9365
+ */
9366
+ engagementTime?: number;
9367
+ };
9368
+ /**
9369
+ * AnalyticsMetricList
9370
+ */
9371
+ export type AnalyticsMetricList = {
9372
+ /**
9373
+ * Total number of metric rows returned.
9374
+ */
9375
+ total: number;
9376
+ /**
9377
+ * Metric rows: one per time bucket, one per dimension value, or a single row for the flat aggregate.
9378
+ */
9379
+ metrics: AnalyticsMetric[];
9380
+ };
9381
+ /**
9382
+ * AnalyticsProperty
9383
+ */
9384
+ export type AnalyticsProperty = {
9385
+ /**
9386
+ * Analytics property ID.
9387
+ */
9388
+ $id: string;
9389
+ /**
9390
+ * Property creation date in ISO 8601 format.
9391
+ */
9392
+ $createdAt: string;
9393
+ /**
9394
+ * Property update date in ISO 8601 format.
9395
+ */
9396
+ $updatedAt: string;
9397
+ /**
9398
+ * Human-readable name of the tracked website or application.
9399
+ */
9400
+ name: string;
9401
+ /**
9402
+ * Primary domain being tracked (e.g. example.com). May be empty for native apps.
9403
+ */
9404
+ domain: string;
9405
+ /**
9406
+ * IANA timezone used to define the daily boundary for stats.
9407
+ */
9408
+ timezone: string;
9409
+ /**
9410
+ * Whether tracking is currently active.
9411
+ */
9412
+ enabled: boolean;
9413
+ /**
9414
+ * Whether stats for this property are publicly viewable.
9415
+ */
9416
+ public: boolean;
9417
+ /**
9418
+ * List of origins allowed to send tracking events. Use ["*"] to allow all.
9419
+ */
9420
+ allowedOrigins: string[];
9421
+ /**
9422
+ * Unique identifier for the tracking script snippet.
9423
+ */
9424
+ snippetId: string;
9425
+ };
8907
9426
  /**
8908
9427
  * Team
8909
9428
  */
@@ -9054,17 +9573,17 @@ export declare namespace Models {
9054
9573
  */
9055
9574
  policyId: string;
9056
9575
  /**
9057
- * Archive size in bytes.
9576
+ * Archive size in bytes. Null until the size is known.
9058
9577
  */
9059
- size: number;
9578
+ size?: number;
9060
9579
  /**
9061
9580
  * The status of the archive creation. Possible values: pending, processing, uploading, completed, failed, skipped.
9062
9581
  */
9063
9582
  status: string;
9064
9583
  /**
9065
- * The backup start time.
9584
+ * The backup start time. Null until the backup starts.
9066
9585
  */
9067
- startedAt: string;
9586
+ startedAt?: string;
9068
9587
  /**
9069
9588
  * Migration ID.
9070
9589
  */
@@ -9216,7 +9735,7 @@ export declare namespace Models {
9216
9735
  /**
9217
9736
  * Address line 2
9218
9737
  */
9219
- addressLine2: string;
9738
+ addressLine2?: string;
9220
9739
  /**
9221
9740
  * Address country
9222
9741
  */
@@ -9228,11 +9747,11 @@ export declare namespace Models {
9228
9747
  /**
9229
9748
  * state
9230
9749
  */
9231
- state: string;
9750
+ state?: string;
9232
9751
  /**
9233
9752
  * postal code
9234
9753
  */
9235
- postalCode: string;
9754
+ postalCode?: string;
9236
9755
  };
9237
9756
  /**
9238
9757
  * Limits
@@ -9436,9 +9955,9 @@ export declare namespace Models {
9436
9955
  */
9437
9956
  alertLimit: number;
9438
9957
  /**
9439
- * Additional resources
9958
+ * Additional resources. Null when the plan does not support usage billing.
9440
9959
  */
9441
- usage: UsageBillingPlan;
9960
+ usage?: UsageBillingPlan;
9442
9961
  /**
9443
9962
  * Addons
9444
9963
  */
@@ -9781,7 +10300,7 @@ export declare namespace Models {
9781
10300
  /**
9782
10301
  * Branch port. Null until the backing reports one.
9783
10302
  */
9784
- port: number;
10303
+ port?: number;
9785
10304
  /**
9786
10305
  * Advertised catalog the client connects to. MySQL/MariaDB use default; Postgres uses the routing label.
9787
10306
  */
@@ -10085,11 +10604,11 @@ export declare namespace Models {
10085
10604
  /**
10086
10605
  * Product API that owns this database: tablesdb, documentsdb, vectorsdb, mysql, postgresql, or mongodb.
10087
10606
  */
10088
- api: string;
10607
+ api?: string;
10089
10608
  /**
10090
10609
  * Database engine: postgresql, mysql, or mongodb. Null until the backing reports one.
10091
10610
  */
10092
- engine: string;
10611
+ engine?: string;
10093
10612
  /**
10094
10613
  * Database engine version.
10095
10614
  */
@@ -10109,7 +10628,7 @@ export declare namespace Models {
10109
10628
  /**
10110
10629
  * Database port for connections. Derived from the engine when the backing has not reported one yet.
10111
10630
  */
10112
- connectionPort: number;
10631
+ connectionPort?: number;
10113
10632
  /**
10114
10633
  * Database username for connections.
10115
10634
  */
@@ -10121,7 +10640,7 @@ export declare namespace Models {
10121
10640
  /**
10122
10641
  * Committed generation of the primary connection credentials. Null until the rotation contract has been initialized.
10123
10642
  */
10124
- credentialGeneration: number;
10643
+ credentialGeneration?: number;
10125
10644
  /**
10126
10645
  * Full database connection string (URI format).
10127
10646
  */
@@ -10332,7 +10851,7 @@ export declare namespace Models {
10332
10851
  /**
10333
10852
  * Source database ID when restoring a backup into another database.
10334
10853
  */
10335
- sourceDatabaseId: string;
10854
+ sourceDatabaseId?: string;
10336
10855
  /**
10337
10856
  * Project ID.
10338
10857
  */
@@ -10340,7 +10859,7 @@ export declare namespace Models {
10340
10859
  /**
10341
10860
  * Backup ID used for restoration (null for PITR).
10342
10861
  */
10343
- backupId: string;
10862
+ backupId?: string;
10344
10863
  /**
10345
10864
  * Restoration type. Possible values: backup (restore from a specific backup snapshot), pitr (point-in-time recovery to a specific timestamp).
10346
10865
  */
@@ -10352,15 +10871,15 @@ export declare namespace Models {
10352
10871
  /**
10353
10872
  * Target time for PITR restoration in ISO 8601 format.
10354
10873
  */
10355
- targetTime: string;
10874
+ targetTime?: string;
10356
10875
  /**
10357
10876
  * Restoration start time in ISO 8601 format.
10358
10877
  */
10359
- startedAt: string;
10878
+ startedAt?: string;
10360
10879
  /**
10361
10880
  * Restoration completion time in ISO 8601 format.
10362
10881
  */
10363
- completedAt: string;
10882
+ completedAt?: string;
10364
10883
  /**
10365
10884
  * Error message if restoration failed.
10366
10885
  */
@@ -10391,9 +10910,9 @@ export declare namespace Models {
10391
10910
  */
10392
10911
  uptime: number;
10393
10912
  /**
10394
- * Connection statistics.
10913
+ * Connection statistics. Null when the database has not been probed.
10395
10914
  */
10396
- connections: DatabaseStatusConnections;
10915
+ connections?: DatabaseStatusConnections;
10397
10916
  /**
10398
10917
  * Requested replication sync mode. Possible values: async, sync, quorum. Compare with effectiveSyncMode for what the primary is enforcing.
10399
10918
  */
@@ -10726,7 +11245,7 @@ export declare namespace Models {
10726
11245
  /**
10727
11246
  * Discount amount
10728
11247
  */
10729
- discount: number;
11248
+ discount?: number;
10730
11249
  /**
10731
11250
  * Credits amount
10732
11251
  */
@@ -10810,7 +11329,7 @@ export declare namespace Models {
10810
11329
  /**
10811
11330
  * Discount amount
10812
11331
  */
10813
- discount: number;
11332
+ discount?: number;
10814
11333
  /**
10815
11334
  * Credits amount
10816
11335
  */
@@ -11086,7 +11605,7 @@ export declare namespace Models {
11086
11605
  /**
11087
11606
  * Client secret for processing failed payments in front-end
11088
11607
  */
11089
- clientSecret: string;
11608
+ clientSecret?: string;
11090
11609
  /**
11091
11610
  * Invoice status
11092
11611
  */
@@ -11098,7 +11617,7 @@ export declare namespace Models {
11098
11617
  /**
11099
11618
  * Last payment error associated with the invoice
11100
11619
  */
11101
- lastError: string;
11620
+ lastError?: string;
11102
11621
  /**
11103
11622
  * Invoice due date.
11104
11623
  */
@@ -11229,15 +11748,15 @@ export declare namespace Models {
11229
11748
  /**
11230
11749
  * Billing cycle start date.
11231
11750
  */
11232
- billingStartDate: string;
11751
+ billingStartDate?: string;
11233
11752
  /**
11234
11753
  * Current invoice cycle start date.
11235
11754
  */
11236
- billingCurrentInvoiceDate: string;
11755
+ billingCurrentInvoiceDate?: string;
11237
11756
  /**
11238
11757
  * Next invoice cycle start date.
11239
11758
  */
11240
- billingNextInvoiceDate: string;
11759
+ billingNextInvoiceDate?: string;
11241
11760
  /**
11242
11761
  * Start date of trial.
11243
11762
  */
@@ -11245,19 +11764,19 @@ export declare namespace Models {
11245
11764
  /**
11246
11765
  * Number of trial days.
11247
11766
  */
11248
- billingTrialDays: number;
11767
+ billingTrialDays?: number;
11249
11768
  /**
11250
11769
  * Current active aggregation id.
11251
11770
  */
11252
- billingAggregationId: string;
11771
+ billingAggregationId?: string;
11253
11772
  /**
11254
11773
  * Current active aggregation id.
11255
11774
  */
11256
- billingInvoiceId: string;
11775
+ billingInvoiceId?: string;
11257
11776
  /**
11258
11777
  * Default payment method.
11259
11778
  */
11260
- paymentMethodId: string;
11779
+ paymentMethodId?: string;
11261
11780
  /**
11262
11781
  * Default payment method.
11263
11782
  */
@@ -11387,39 +11906,39 @@ export declare namespace Models {
11387
11906
  /**
11388
11907
  * Expiry month of the payment method.
11389
11908
  */
11390
- expiryMonth: number;
11909
+ expiryMonth?: number;
11391
11910
  /**
11392
11911
  * Expiry year of the payment method.
11393
11912
  */
11394
- expiryYear: number;
11913
+ expiryYear?: number;
11395
11914
  /**
11396
11915
  * Last 4 digit of the payment method
11397
11916
  */
11398
- last4: string;
11917
+ last4?: string;
11399
11918
  /**
11400
11919
  * Payment method brand
11401
11920
  */
11402
- brand: string;
11921
+ brand?: string;
11403
11922
  /**
11404
11923
  * Name of the owner
11405
11924
  */
11406
- name: string;
11925
+ name?: string;
11407
11926
  /**
11408
11927
  * Mandate ID of the payment method
11409
11928
  */
11410
- mandateId: string;
11929
+ mandateId?: string;
11411
11930
  /**
11412
11931
  * Country of the payment method
11413
11932
  */
11414
- country: string;
11933
+ country?: string;
11415
11934
  /**
11416
11935
  * State of the payment method
11417
11936
  */
11418
- state: string;
11937
+ state?: string;
11419
11938
  /**
11420
11939
  * Last payment error associated with the payment method.
11421
11940
  */
11422
- lastError: string;
11941
+ lastError?: string;
11423
11942
  /**
11424
11943
  * True when it's the default payment method.
11425
11944
  */
@@ -11792,9 +12311,9 @@ export declare namespace Models {
11792
12311
  */
11793
12312
  status: string;
11794
12313
  /**
11795
- * The backup start time.
12314
+ * The restoration start time. Null until the restoration starts.
11796
12315
  */
11797
- startedAt: string;
12316
+ startedAt?: string;
11798
12317
  /**
11799
12318
  * Migration ID.
11800
12319
  */
@@ -11808,9 +12327,9 @@ export declare namespace Models {
11808
12327
  */
11809
12328
  resources: string[];
11810
12329
  /**
11811
- * Optional data in key-value object.
12330
+ * Restoration options as a key-value object.
11812
12331
  */
11813
- options: string;
12332
+ options: object;
11814
12333
  };
11815
12334
  /**
11816
12335
  * Dedicated database restorations list
@@ -11995,11 +12514,11 @@ export declare namespace Models {
11995
12514
  /**
11996
12515
  * Bandwidth additional resources
11997
12516
  */
11998
- bandwidth: AdditionalResource;
12517
+ bandwidth?: AdditionalResource;
11999
12518
  /**
12000
12519
  * Executions additional resources
12001
12520
  */
12002
- executions: AdditionalResource;
12521
+ executions?: AdditionalResource;
12003
12522
  /**
12004
12523
  * Member additional resources
12005
12524
  */
@@ -12007,11 +12526,11 @@ export declare namespace Models {
12007
12526
  /**
12008
12527
  * Realtime additional resources
12009
12528
  */
12010
- realtime: AdditionalResource;
12529
+ realtime?: AdditionalResource;
12011
12530
  /**
12012
12531
  * Realtime messages additional resources
12013
12532
  */
12014
- realtimeMessages: AdditionalResource;
12533
+ realtimeMessages?: AdditionalResource;
12015
12534
  /**
12016
12535
  * Realtime bandwidth additional resources
12017
12536
  */
@@ -12019,19 +12538,19 @@ export declare namespace Models {
12019
12538
  /**
12020
12539
  * Storage additional resources
12021
12540
  */
12022
- storage: AdditionalResource;
12541
+ storage?: AdditionalResource;
12023
12542
  /**
12024
12543
  * User additional resources
12025
12544
  */
12026
- users: AdditionalResource;
12545
+ users?: AdditionalResource;
12027
12546
  /**
12028
12547
  * GBHour additional resources
12029
12548
  */
12030
- GBHours: AdditionalResource;
12549
+ GBHours?: AdditionalResource;
12031
12550
  /**
12032
12551
  * Image transformation additional resources
12033
12552
  */
12034
- imageTransformations: AdditionalResource;
12553
+ imageTransformations?: AdditionalResource;
12035
12554
  /**
12036
12555
  * Credits additional resources
12037
12556
  */
@@ -12121,6 +12640,10 @@ export declare namespace Models {
12121
12640
  * Aggregated stats for total backups storage.
12122
12641
  */
12123
12642
  backupsStorageTotal: number;
12643
+ /**
12644
+ * Aggregated stats for total custom user photos storage.
12645
+ */
12646
+ avatarsStorageTotal: number;
12124
12647
  /**
12125
12648
  * Aggregated stats for total storage.
12126
12649
  */
@@ -13362,6 +13885,19 @@ export declare namespace Models {
13362
13885
  */
13363
13886
  addons: Addon[];
13364
13887
  };
13888
+ /**
13889
+ * Analytics properties list
13890
+ */
13891
+ export type AnalyticsPropertyList = {
13892
+ /**
13893
+ * Total number of properties that matched your query.
13894
+ */
13895
+ total: number;
13896
+ /**
13897
+ * List of properties.
13898
+ */
13899
+ properties: AnalyticsProperty[];
13900
+ };
13365
13901
  /**
13366
13902
  * Aggregation team list
13367
13903
  */