@appwrite.io/console 18.4.0-rc.2 → 18.4.1

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,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
  */
@@ -6846,16 +6794,12 @@ export declare namespace Models {
6846
6794
  * Policy ID.
6847
6795
  */
6848
6796
  $id: string;
6849
- /**
6850
- * Whether the passkey auth method is enabled. Toggle it with the update auth method endpoint.
6851
- */
6852
- enabled: boolean;
6853
6797
  /**
6854
6798
  * Relying party ID passkeys are bound to. Empty until configured.
6855
6799
  */
6856
6800
  rpId: string;
6857
6801
  /**
6858
- * Web origins allowed to register and sign in with passkeys.
6802
+ * Web origins passkeys work on, from the project's platforms on the relying party ID and a localhost web platform. Read-only.
6859
6803
  */
6860
6804
  origins: string[];
6861
6805
  };
@@ -6997,10 +6941,6 @@ export declare namespace Models {
6997
6941
  * Android application ID.
6998
6942
  */
6999
6943
  applicationId: string;
7000
- /**
7001
- * SHA-256 fingerprints of the certificates the app is signed with. Passkeys created in the app are accepted when its signature matches one.
7002
- */
7003
- fingerprints: string[];
7004
6944
  };
7005
6945
  /**
7006
6946
  * Platform Windows
@@ -7529,7 +7469,7 @@ export declare namespace Models {
7529
7469
  */
7530
7470
  deploymentId: string;
7531
7471
  /**
7532
- * Type of deployment resource: function, site, or dedicatedDatabase.
7472
+ * Type of deployment. Possible values are "function", "site". Used if rule's type is "deployment".
7533
7473
  */
7534
7474
  deploymentResourceType?: ProxyRuleDeploymentResourceType;
7535
7475
  /**
@@ -7920,6 +7860,35 @@ export declare namespace Models {
7920
7860
  */
7921
7861
  code: string;
7922
7862
  };
7863
+ /**
7864
+ * Token Secret
7865
+ */
7866
+ export type TokenSecret = {
7867
+ /**
7868
+ * Token ID.
7869
+ */
7870
+ $id: string;
7871
+ /**
7872
+ * Token creation date in ISO 8601 format.
7873
+ */
7874
+ $createdAt: string;
7875
+ /**
7876
+ * User ID.
7877
+ */
7878
+ userId: string;
7879
+ /**
7880
+ * Token secret key. Exchange it for a session with the create session endpoint.
7881
+ */
7882
+ secret: string;
7883
+ /**
7884
+ * Token expiration date in ISO 8601 format.
7885
+ */
7886
+ expire: string;
7887
+ /**
7888
+ * 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.
7889
+ */
7890
+ phrase: string;
7891
+ };
7923
7892
  /**
7924
7893
  * Passkey
7925
7894
  */
@@ -7944,17 +7913,13 @@ export declare namespace Models {
7944
7913
  * Most recent sign-in with this passkey in ISO 8601 format. Empty until the passkey is used to sign in.
7945
7914
  */
7946
7915
  accessedAt: string;
7947
- /**
7948
- * Whether the passkey is synced to a cloud account, such as iCloud Keychain or Google Password Manager, rather than bound to one device.
7949
- */
7950
- backedUp: boolean;
7951
7916
  };
7952
7917
  /**
7953
7918
  * Passkey Challenge
7954
7919
  */
7955
7920
  export type PasskeyChallenge = {
7956
7921
  /**
7957
- * Challenge ID. Pass it back with the credential to complete the ceremony.
7922
+ * Challenge ID. When signing in, pass it back with the credential to receive a token.
7958
7923
  */
7959
7924
  $id: string;
7960
7925
  /**
@@ -8641,274 +8606,6 @@ export declare namespace Models {
8641
8606
  */
8642
8607
  analyzedAt?: string;
8643
8608
  };
8644
- /**
8645
- * Video
8646
- */
8647
- export type Video = {
8648
- /**
8649
- * Video ID.
8650
- */
8651
- $id: string;
8652
- /**
8653
- * Video creation time in ISO 8601 format.
8654
- */
8655
- $createdAt: string;
8656
- /**
8657
- * Video update date in ISO 8601 format.
8658
- */
8659
- $updatedAt: string;
8660
- /**
8661
- * Storage bucket ID holding the source file.
8662
- */
8663
- bucketId: string;
8664
- /**
8665
- * Source file ID.
8666
- */
8667
- fileId: string;
8668
- /**
8669
- * Video name.
8670
- */
8671
- name: string;
8672
- /**
8673
- * Preview image ID, taken from the sprite timeline.
8674
- */
8675
- previewId: string;
8676
- /**
8677
- * Source file size in bytes.
8678
- */
8679
- size: number;
8680
- /**
8681
- * Source status: one of `pending`, `downloading`, `ready`, `removed`, `error` or `aborted`.
8682
- */
8683
- status: string;
8684
- /**
8685
- * Total number of chunks in the source download.
8686
- */
8687
- chunksTotal: number;
8688
- /**
8689
- * Number of source chunks downloaded so far.
8690
- */
8691
- chunksUploaded: number;
8692
- /**
8693
- * Container format.
8694
- */
8695
- format: string;
8696
- /**
8697
- * Video duration in milliseconds.
8698
- */
8699
- duration: number;
8700
- /**
8701
- * Video width in pixels.
8702
- */
8703
- width: number;
8704
- /**
8705
- * Video height in pixels.
8706
- */
8707
- height: number;
8708
- /**
8709
- * Video aspect ratio.
8710
- */
8711
- aspectRatio: string;
8712
- /**
8713
- * Video codec.
8714
- */
8715
- videoCodec: string;
8716
- /**
8717
- * Video format.
8718
- */
8719
- videoFormat: string;
8720
- /**
8721
- * Video format profile.
8722
- */
8723
- videoFormatProfile: string;
8724
- /**
8725
- * Video bitrate in bits per second.
8726
- */
8727
- videoBitRate: number;
8728
- /**
8729
- * Video frame rate.
8730
- */
8731
- videoFrameRate: string;
8732
- /**
8733
- * Video frame rate mode.
8734
- */
8735
- videoFrameRateMode: string;
8736
- /**
8737
- * Audio codec.
8738
- */
8739
- audioCodec: string;
8740
- /**
8741
- * Audio format.
8742
- */
8743
- audioFormat: string;
8744
- /**
8745
- * Audio bitrate in bits per second.
8746
- */
8747
- audioBitRate: number;
8748
- /**
8749
- * Audio sample rate.
8750
- */
8751
- audioSampleRate: string;
8752
- };
8753
- /**
8754
- * Video profile
8755
- */
8756
- export type VideoProfile = {
8757
- /**
8758
- * Video profile ID.
8759
- */
8760
- $id: string;
8761
- /**
8762
- * Video profile creation time in ISO 8601 format.
8763
- */
8764
- $createdAt: string;
8765
- /**
8766
- * Video profile update date in ISO 8601 format.
8767
- */
8768
- $updatedAt: string;
8769
- /**
8770
- * Video profile name.
8771
- */
8772
- name: string;
8773
- /**
8774
- * Target video bitrate in kilobits per second.
8775
- */
8776
- videoBitRate: number;
8777
- /**
8778
- * Target audio bitrate in kilobits per second.
8779
- */
8780
- audioBitRate: number;
8781
- /**
8782
- * Target video width in pixels.
8783
- */
8784
- width: number;
8785
- /**
8786
- * Target video height in pixels.
8787
- */
8788
- height: number;
8789
- };
8790
- /**
8791
- * Video rendition
8792
- */
8793
- export type VideoRendition = {
8794
- /**
8795
- * Rendition ID.
8796
- */
8797
- $id: string;
8798
- /**
8799
- * Rendition creation time in ISO 8601 format.
8800
- */
8801
- $createdAt: string;
8802
- /**
8803
- * Rendition update date in ISO 8601 format.
8804
- */
8805
- $updatedAt: string;
8806
- /**
8807
- * Video ID.
8808
- */
8809
- videoId: string;
8810
- /**
8811
- * Video profile ID this rendition was encoded against.
8812
- */
8813
- profileId: string;
8814
- /**
8815
- * Rendition name, derived from its dimensions and bitrate.
8816
- */
8817
- name: string;
8818
- /**
8819
- * Transcoding start time in ISO 8601 format.
8820
- */
8821
- startedAt: string;
8822
- /**
8823
- * Transcoding end time in ISO 8601 format.
8824
- */
8825
- endedAt: string;
8826
- /**
8827
- * Rendition width in pixels.
8828
- */
8829
- width: number;
8830
- /**
8831
- * Rendition height in pixels.
8832
- */
8833
- height: number;
8834
- /**
8835
- * Video bitrate in kilobits per second.
8836
- */
8837
- videoBitRate: number;
8838
- /**
8839
- * Audio bitrate in kilobits per second.
8840
- */
8841
- audioBitRate: number;
8842
- /**
8843
- * Longest segment duration in seconds.
8844
- */
8845
- targetDuration: string;
8846
- /**
8847
- * Transcoding status: one of `pending`, `started`, `ended`, `uploading`, `ready`, `error` or `aborted`.
8848
- */
8849
- status: string;
8850
- /**
8851
- * Transcoding progress as a percentage.
8852
- */
8853
- progress: string;
8854
- /**
8855
- * Streaming output format: `hls`, `dash`, or `cmaf`.
8856
- */
8857
- output: string;
8858
- };
8859
- /**
8860
- * Video subtitle
8861
- */
8862
- export type VideoSubtitle = {
8863
- /**
8864
- * Subtitle ID.
8865
- */
8866
- $id: string;
8867
- /**
8868
- * Subtitle creation time in ISO 8601 format.
8869
- */
8870
- $createdAt: string;
8871
- /**
8872
- * Subtitle update date in ISO 8601 format.
8873
- */
8874
- $updatedAt: string;
8875
- /**
8876
- * Video ID.
8877
- */
8878
- videoId: string;
8879
- /**
8880
- * Storage bucket ID holding the subtitle file.
8881
- */
8882
- bucketId: string;
8883
- /**
8884
- * Subtitle file ID.
8885
- */
8886
- fileId: string;
8887
- /**
8888
- * Subtitle display name.
8889
- */
8890
- name: string;
8891
- /**
8892
- * Subtitle ISO 639-2 language code.
8893
- */
8894
- code: string;
8895
- /**
8896
- * Is this the default subtitle track?
8897
- */
8898
- default: boolean;
8899
- /**
8900
- * 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.
8901
- */
8902
- embedded: boolean;
8903
- /**
8904
- * Longest segment duration in seconds.
8905
- */
8906
- targetDuration: string;
8907
- /**
8908
- * Packaging status: one of `pending`, `started`, `ready` or `error`.
8909
- */
8910
- status: string;
8911
- };
8912
8609
  /**
8913
8610
  * ActivityEvent
8914
8611
  */
@@ -9324,117 +9021,6 @@ export declare namespace Models {
9324
9021
  */
9325
9022
  resources: UsageResources[];
9326
9023
  };
9327
- /**
9328
- * AnalyticsMetric
9329
- */
9330
- export type AnalyticsMetric = {
9331
- /**
9332
- * Dimension value this row covers. Null when no dimension was requested, empty when the dimension could not be derived for those events.
9333
- */
9334
- value?: string;
9335
- /**
9336
- * Start of the time bucket this row covers, in ISO 8601. Null when no interval was requested.
9337
- */
9338
- date?: string;
9339
- /**
9340
- * Unique visitors in the requested range.
9341
- */
9342
- visitors: number;
9343
- /**
9344
- * Unique sessions in the requested range.
9345
- */
9346
- sessions: number;
9347
- /**
9348
- * Total pageview events (events with name="pageview") in the requested range. Only the flat aggregate computes it; null on breakdown and time-series rows.
9349
- */
9350
- pageviews?: number;
9351
- /**
9352
- * Total events in the requested range.
9353
- */
9354
- events: number;
9355
- /**
9356
- * Total sessions with activity in the requested range. Only the flat aggregate computes it; null on breakdown and time-series rows.
9357
- */
9358
- visits?: number;
9359
- /**
9360
- * Share of single-event sessions, as a percentage. Only the flat aggregate computes it; null on breakdown and time-series rows.
9361
- */
9362
- bounceRate?: number;
9363
- /**
9364
- * 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.
9365
- */
9366
- visitDuration?: number;
9367
- /**
9368
- * Average pageviews per session (pageviews divided by visits). Only the flat aggregate computes it; null on breakdown and time-series rows.
9369
- */
9370
- viewsPerVisit?: number;
9371
- /**
9372
- * Average scroll depth across events, as a percentage. Only the flat aggregate computes it; null on breakdown and time-series rows.
9373
- */
9374
- scrollDepth?: number;
9375
- /**
9376
- * 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.
9377
- */
9378
- engagementTime?: number;
9379
- };
9380
- /**
9381
- * AnalyticsMetricList
9382
- */
9383
- export type AnalyticsMetricList = {
9384
- /**
9385
- * Total number of metric rows returned.
9386
- */
9387
- total: number;
9388
- /**
9389
- * Metric rows: one per time bucket, one per dimension value, or a single row for the flat aggregate.
9390
- */
9391
- metrics: AnalyticsMetric[];
9392
- };
9393
- /**
9394
- * AnalyticsProperty
9395
- */
9396
- export type AnalyticsProperty = {
9397
- /**
9398
- * Analytics property ID.
9399
- */
9400
- $id: string;
9401
- /**
9402
- * Property creation date in ISO 8601 format.
9403
- */
9404
- $createdAt: string;
9405
- /**
9406
- * Property update date in ISO 8601 format.
9407
- */
9408
- $updatedAt: string;
9409
- /**
9410
- * Human-readable name of the tracked website or application.
9411
- */
9412
- name: string;
9413
- /**
9414
- * Primary domain being tracked (e.g. example.com). May be empty for native apps.
9415
- */
9416
- domain: string;
9417
- /**
9418
- * IANA timezone used to define the daily boundary for stats.
9419
- */
9420
- timezone: string;
9421
- /**
9422
- * Whether tracking is currently active.
9423
- */
9424
- enabled: boolean;
9425
- /**
9426
- * Whether stats for this property are publicly viewable.
9427
- */
9428
- public: boolean;
9429
- /**
9430
- * List of origins allowed to send tracking events. Use ["*"] to allow all.
9431
- */
9432
- allowedOrigins: string[];
9433
- /**
9434
- * Unique identifier for the tracking script snippet.
9435
- */
9436
- snippetId: string;
9437
- };
9438
9024
  /**
9439
9025
  * Team
9440
9026
  */
@@ -9585,17 +9171,17 @@ export declare namespace Models {
9585
9171
  */
9586
9172
  policyId: string;
9587
9173
  /**
9588
- * Archive size in bytes. Null until the size is known.
9174
+ * Archive size in bytes.
9589
9175
  */
9590
- size?: number;
9176
+ size: number;
9591
9177
  /**
9592
9178
  * The status of the archive creation. Possible values: pending, processing, uploading, completed, failed, skipped.
9593
9179
  */
9594
9180
  status: string;
9595
9181
  /**
9596
- * The backup start time. Null until the backup starts.
9182
+ * The backup start time.
9597
9183
  */
9598
- startedAt?: string;
9184
+ startedAt: string;
9599
9185
  /**
9600
9186
  * Migration ID.
9601
9187
  */
@@ -9747,7 +9333,7 @@ export declare namespace Models {
9747
9333
  /**
9748
9334
  * Address line 2
9749
9335
  */
9750
- addressLine2?: string;
9336
+ addressLine2: string;
9751
9337
  /**
9752
9338
  * Address country
9753
9339
  */
@@ -9759,11 +9345,11 @@ export declare namespace Models {
9759
9345
  /**
9760
9346
  * state
9761
9347
  */
9762
- state?: string;
9348
+ state: string;
9763
9349
  /**
9764
9350
  * postal code
9765
9351
  */
9766
- postalCode?: string;
9352
+ postalCode: string;
9767
9353
  };
9768
9354
  /**
9769
9355
  * Limits
@@ -9967,9 +9553,9 @@ export declare namespace Models {
9967
9553
  */
9968
9554
  alertLimit: number;
9969
9555
  /**
9970
- * Additional resources. Null when the plan does not support usage billing.
9556
+ * Additional resources
9971
9557
  */
9972
- usage?: UsageBillingPlan;
9558
+ usage: UsageBillingPlan;
9973
9559
  /**
9974
9560
  * Addons
9975
9561
  */
@@ -10316,7 +9902,7 @@ export declare namespace Models {
10316
9902
  /**
10317
9903
  * Branch port. Null until the backing reports one.
10318
9904
  */
10319
- port?: number;
9905
+ port: number;
10320
9906
  /**
10321
9907
  * Advertised catalog the client connects to. MySQL/MariaDB use default; Postgres uses the routing label.
10322
9908
  */
@@ -10620,11 +10206,11 @@ export declare namespace Models {
10620
10206
  /**
10621
10207
  * Product API that owns this database: tablesdb, documentsdb, vectorsdb, mysql, postgresql, or mongodb.
10622
10208
  */
10623
- api?: string;
10209
+ api: string;
10624
10210
  /**
10625
10211
  * Database engine: postgresql, mysql, or mongodb. Null until the backing reports one.
10626
10212
  */
10627
- engine?: string;
10213
+ engine: string;
10628
10214
  /**
10629
10215
  * Database engine version.
10630
10216
  */
@@ -10644,7 +10230,7 @@ export declare namespace Models {
10644
10230
  /**
10645
10231
  * Database port for connections. Derived from the engine when the backing has not reported one yet.
10646
10232
  */
10647
- connectionPort?: number;
10233
+ connectionPort: number;
10648
10234
  /**
10649
10235
  * Database username for connections.
10650
10236
  */
@@ -10656,7 +10242,7 @@ export declare namespace Models {
10656
10242
  /**
10657
10243
  * Committed generation of the primary connection credentials. Null until the rotation contract has been initialized.
10658
10244
  */
10659
- credentialGeneration?: number;
10245
+ credentialGeneration: number;
10660
10246
  /**
10661
10247
  * Full database connection string (URI format).
10662
10248
  */
@@ -10867,7 +10453,7 @@ export declare namespace Models {
10867
10453
  /**
10868
10454
  * Source database ID when restoring a backup into another database.
10869
10455
  */
10870
- sourceDatabaseId?: string;
10456
+ sourceDatabaseId: string;
10871
10457
  /**
10872
10458
  * Project ID.
10873
10459
  */
@@ -10875,7 +10461,7 @@ export declare namespace Models {
10875
10461
  /**
10876
10462
  * Backup ID used for restoration (null for PITR).
10877
10463
  */
10878
- backupId?: string;
10464
+ backupId: string;
10879
10465
  /**
10880
10466
  * Restoration type. Possible values: backup (restore from a specific backup snapshot), pitr (point-in-time recovery to a specific timestamp).
10881
10467
  */
@@ -10887,15 +10473,15 @@ export declare namespace Models {
10887
10473
  /**
10888
10474
  * Target time for PITR restoration in ISO 8601 format.
10889
10475
  */
10890
- targetTime?: string;
10476
+ targetTime: string;
10891
10477
  /**
10892
10478
  * Restoration start time in ISO 8601 format.
10893
10479
  */
10894
- startedAt?: string;
10480
+ startedAt: string;
10895
10481
  /**
10896
10482
  * Restoration completion time in ISO 8601 format.
10897
10483
  */
10898
- completedAt?: string;
10484
+ completedAt: string;
10899
10485
  /**
10900
10486
  * Error message if restoration failed.
10901
10487
  */
@@ -10926,9 +10512,9 @@ export declare namespace Models {
10926
10512
  */
10927
10513
  uptime: number;
10928
10514
  /**
10929
- * Connection statistics. Null when the database has not been probed.
10515
+ * Connection statistics.
10930
10516
  */
10931
- connections?: DatabaseStatusConnections;
10517
+ connections: DatabaseStatusConnections;
10932
10518
  /**
10933
10519
  * Requested replication sync mode. Possible values: async, sync, quorum. Compare with effectiveSyncMode for what the primary is enforcing.
10934
10520
  */
@@ -11261,7 +10847,7 @@ export declare namespace Models {
11261
10847
  /**
11262
10848
  * Discount amount
11263
10849
  */
11264
- discount?: number;
10850
+ discount: number;
11265
10851
  /**
11266
10852
  * Credits amount
11267
10853
  */
@@ -11345,7 +10931,7 @@ export declare namespace Models {
11345
10931
  /**
11346
10932
  * Discount amount
11347
10933
  */
11348
- discount?: number;
10934
+ discount: number;
11349
10935
  /**
11350
10936
  * Credits amount
11351
10937
  */
@@ -11621,7 +11207,7 @@ export declare namespace Models {
11621
11207
  /**
11622
11208
  * Client secret for processing failed payments in front-end
11623
11209
  */
11624
- clientSecret?: string;
11210
+ clientSecret: string;
11625
11211
  /**
11626
11212
  * Invoice status
11627
11213
  */
@@ -11633,7 +11219,7 @@ export declare namespace Models {
11633
11219
  /**
11634
11220
  * Last payment error associated with the invoice
11635
11221
  */
11636
- lastError?: string;
11222
+ lastError: string;
11637
11223
  /**
11638
11224
  * Invoice due date.
11639
11225
  */
@@ -11764,15 +11350,15 @@ export declare namespace Models {
11764
11350
  /**
11765
11351
  * Billing cycle start date.
11766
11352
  */
11767
- billingStartDate?: string;
11353
+ billingStartDate: string;
11768
11354
  /**
11769
11355
  * Current invoice cycle start date.
11770
11356
  */
11771
- billingCurrentInvoiceDate?: string;
11357
+ billingCurrentInvoiceDate: string;
11772
11358
  /**
11773
11359
  * Next invoice cycle start date.
11774
11360
  */
11775
- billingNextInvoiceDate?: string;
11361
+ billingNextInvoiceDate: string;
11776
11362
  /**
11777
11363
  * Start date of trial.
11778
11364
  */
@@ -11780,19 +11366,19 @@ export declare namespace Models {
11780
11366
  /**
11781
11367
  * Number of trial days.
11782
11368
  */
11783
- billingTrialDays?: number;
11369
+ billingTrialDays: number;
11784
11370
  /**
11785
11371
  * Current active aggregation id.
11786
11372
  */
11787
- billingAggregationId?: string;
11373
+ billingAggregationId: string;
11788
11374
  /**
11789
11375
  * Current active aggregation id.
11790
11376
  */
11791
- billingInvoiceId?: string;
11377
+ billingInvoiceId: string;
11792
11378
  /**
11793
11379
  * Default payment method.
11794
11380
  */
11795
- paymentMethodId?: string;
11381
+ paymentMethodId: string;
11796
11382
  /**
11797
11383
  * Default payment method.
11798
11384
  */
@@ -11922,39 +11508,39 @@ export declare namespace Models {
11922
11508
  /**
11923
11509
  * Expiry month of the payment method.
11924
11510
  */
11925
- expiryMonth?: number;
11511
+ expiryMonth: number;
11926
11512
  /**
11927
11513
  * Expiry year of the payment method.
11928
11514
  */
11929
- expiryYear?: number;
11515
+ expiryYear: number;
11930
11516
  /**
11931
11517
  * Last 4 digit of the payment method
11932
11518
  */
11933
- last4?: string;
11519
+ last4: string;
11934
11520
  /**
11935
11521
  * Payment method brand
11936
11522
  */
11937
- brand?: string;
11523
+ brand: string;
11938
11524
  /**
11939
11525
  * Name of the owner
11940
11526
  */
11941
- name?: string;
11527
+ name: string;
11942
11528
  /**
11943
11529
  * Mandate ID of the payment method
11944
11530
  */
11945
- mandateId?: string;
11531
+ mandateId: string;
11946
11532
  /**
11947
11533
  * Country of the payment method
11948
11534
  */
11949
- country?: string;
11535
+ country: string;
11950
11536
  /**
11951
11537
  * State of the payment method
11952
11538
  */
11953
- state?: string;
11539
+ state: string;
11954
11540
  /**
11955
11541
  * Last payment error associated with the payment method.
11956
11542
  */
11957
- lastError?: string;
11543
+ lastError: string;
11958
11544
  /**
11959
11545
  * True when it's the default payment method.
11960
11546
  */
@@ -12327,9 +11913,9 @@ export declare namespace Models {
12327
11913
  */
12328
11914
  status: string;
12329
11915
  /**
12330
- * The restoration start time. Null until the restoration starts.
11916
+ * The backup start time.
12331
11917
  */
12332
- startedAt?: string;
11918
+ startedAt: string;
12333
11919
  /**
12334
11920
  * Migration ID.
12335
11921
  */
@@ -12343,9 +11929,9 @@ export declare namespace Models {
12343
11929
  */
12344
11930
  resources: string[];
12345
11931
  /**
12346
- * Restoration options as a key-value object.
11932
+ * Optional data in key-value object.
12347
11933
  */
12348
- options: object;
11934
+ options: string;
12349
11935
  };
12350
11936
  /**
12351
11937
  * Dedicated database restorations list
@@ -12530,11 +12116,11 @@ export declare namespace Models {
12530
12116
  /**
12531
12117
  * Bandwidth additional resources
12532
12118
  */
12533
- bandwidth?: AdditionalResource;
12119
+ bandwidth: AdditionalResource;
12534
12120
  /**
12535
12121
  * Executions additional resources
12536
12122
  */
12537
- executions?: AdditionalResource;
12123
+ executions: AdditionalResource;
12538
12124
  /**
12539
12125
  * Member additional resources
12540
12126
  */
@@ -12542,11 +12128,11 @@ export declare namespace Models {
12542
12128
  /**
12543
12129
  * Realtime additional resources
12544
12130
  */
12545
- realtime?: AdditionalResource;
12131
+ realtime: AdditionalResource;
12546
12132
  /**
12547
12133
  * Realtime messages additional resources
12548
12134
  */
12549
- realtimeMessages?: AdditionalResource;
12135
+ realtimeMessages: AdditionalResource;
12550
12136
  /**
12551
12137
  * Realtime bandwidth additional resources
12552
12138
  */
@@ -12554,19 +12140,19 @@ export declare namespace Models {
12554
12140
  /**
12555
12141
  * Storage additional resources
12556
12142
  */
12557
- storage?: AdditionalResource;
12143
+ storage: AdditionalResource;
12558
12144
  /**
12559
12145
  * User additional resources
12560
12146
  */
12561
- users?: AdditionalResource;
12147
+ users: AdditionalResource;
12562
12148
  /**
12563
12149
  * GBHour additional resources
12564
12150
  */
12565
- GBHours?: AdditionalResource;
12151
+ GBHours: AdditionalResource;
12566
12152
  /**
12567
12153
  * Image transformation additional resources
12568
12154
  */
12569
- imageTransformations?: AdditionalResource;
12155
+ imageTransformations: AdditionalResource;
12570
12156
  /**
12571
12157
  * Credits additional resources
12572
12158
  */
@@ -12656,10 +12242,6 @@ export declare namespace Models {
12656
12242
  * Aggregated stats for total backups storage.
12657
12243
  */
12658
12244
  backupsStorageTotal: number;
12659
- /**
12660
- * Aggregated stats for total custom user photos storage.
12661
- */
12662
- avatarsStorageTotal: number;
12663
12245
  /**
12664
12246
  * Aggregated stats for total storage.
12665
12247
  */
@@ -13901,19 +13483,6 @@ export declare namespace Models {
13901
13483
  */
13902
13484
  addons: Addon[];
13903
13485
  };
13904
- /**
13905
- * Analytics properties list
13906
- */
13907
- export type AnalyticsPropertyList = {
13908
- /**
13909
- * Total number of properties that matched your query.
13910
- */
13911
- total: number;
13912
- /**
13913
- * List of properties.
13914
- */
13915
- properties: AnalyticsProperty[];
13916
- };
13917
13486
  /**
13918
13487
  * Aggregation team list
13919
13488
  */