@appwrite.io/console 18.4.0-rc.2 → 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/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 | Models.PolicyPasskey)[];
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
  */
@@ -6997,10 +6924,6 @@ export declare namespace Models {
6997
6924
  * Android application ID.
6998
6925
  */
6999
6926
  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
6927
  };
7005
6928
  /**
7006
6929
  * Platform Windows
@@ -7529,7 +7452,7 @@ export declare namespace Models {
7529
7452
  */
7530
7453
  deploymentId: string;
7531
7454
  /**
7532
- * Type of deployment resource: function, site, or dedicatedDatabase.
7455
+ * Type of deployment. Possible values are "function", "site". Used if rule's type is "deployment".
7533
7456
  */
7534
7457
  deploymentResourceType?: ProxyRuleDeploymentResourceType;
7535
7458
  /**
@@ -7920,6 +7843,35 @@ export declare namespace Models {
7920
7843
  */
7921
7844
  code: string;
7922
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
+ };
7923
7875
  /**
7924
7876
  * Passkey
7925
7877
  */
@@ -7944,17 +7896,13 @@ export declare namespace Models {
7944
7896
  * Most recent sign-in with this passkey in ISO 8601 format. Empty until the passkey is used to sign in.
7945
7897
  */
7946
7898
  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
7899
  };
7952
7900
  /**
7953
7901
  * Passkey Challenge
7954
7902
  */
7955
7903
  export type PasskeyChallenge = {
7956
7904
  /**
7957
- * Challenge ID. Pass it back with the credential to complete the ceremony.
7905
+ * Challenge ID. When signing in, pass it back with the credential to receive a token.
7958
7906
  */
7959
7907
  $id: string;
7960
7908
  /**
@@ -8641,274 +8589,6 @@ export declare namespace Models {
8641
8589
  */
8642
8590
  analyzedAt?: string;
8643
8591
  };
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
8592
  /**
8913
8593
  * ActivityEvent
8914
8594
  */
@@ -9324,117 +9004,6 @@ export declare namespace Models {
9324
9004
  */
9325
9005
  resources: UsageResources[];
9326
9006
  };
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
9007
  /**
9439
9008
  * Team
9440
9009
  */
@@ -9585,17 +9154,17 @@ export declare namespace Models {
9585
9154
  */
9586
9155
  policyId: string;
9587
9156
  /**
9588
- * Archive size in bytes. Null until the size is known.
9157
+ * Archive size in bytes.
9589
9158
  */
9590
- size?: number;
9159
+ size: number;
9591
9160
  /**
9592
9161
  * The status of the archive creation. Possible values: pending, processing, uploading, completed, failed, skipped.
9593
9162
  */
9594
9163
  status: string;
9595
9164
  /**
9596
- * The backup start time. Null until the backup starts.
9165
+ * The backup start time.
9597
9166
  */
9598
- startedAt?: string;
9167
+ startedAt: string;
9599
9168
  /**
9600
9169
  * Migration ID.
9601
9170
  */
@@ -9747,7 +9316,7 @@ export declare namespace Models {
9747
9316
  /**
9748
9317
  * Address line 2
9749
9318
  */
9750
- addressLine2?: string;
9319
+ addressLine2: string;
9751
9320
  /**
9752
9321
  * Address country
9753
9322
  */
@@ -9759,11 +9328,11 @@ export declare namespace Models {
9759
9328
  /**
9760
9329
  * state
9761
9330
  */
9762
- state?: string;
9331
+ state: string;
9763
9332
  /**
9764
9333
  * postal code
9765
9334
  */
9766
- postalCode?: string;
9335
+ postalCode: string;
9767
9336
  };
9768
9337
  /**
9769
9338
  * Limits
@@ -9967,9 +9536,9 @@ export declare namespace Models {
9967
9536
  */
9968
9537
  alertLimit: number;
9969
9538
  /**
9970
- * Additional resources. Null when the plan does not support usage billing.
9539
+ * Additional resources
9971
9540
  */
9972
- usage?: UsageBillingPlan;
9541
+ usage: UsageBillingPlan;
9973
9542
  /**
9974
9543
  * Addons
9975
9544
  */
@@ -10316,7 +9885,7 @@ export declare namespace Models {
10316
9885
  /**
10317
9886
  * Branch port. Null until the backing reports one.
10318
9887
  */
10319
- port?: number;
9888
+ port: number;
10320
9889
  /**
10321
9890
  * Advertised catalog the client connects to. MySQL/MariaDB use default; Postgres uses the routing label.
10322
9891
  */
@@ -10620,11 +10189,11 @@ export declare namespace Models {
10620
10189
  /**
10621
10190
  * Product API that owns this database: tablesdb, documentsdb, vectorsdb, mysql, postgresql, or mongodb.
10622
10191
  */
10623
- api?: string;
10192
+ api: string;
10624
10193
  /**
10625
10194
  * Database engine: postgresql, mysql, or mongodb. Null until the backing reports one.
10626
10195
  */
10627
- engine?: string;
10196
+ engine: string;
10628
10197
  /**
10629
10198
  * Database engine version.
10630
10199
  */
@@ -10644,7 +10213,7 @@ export declare namespace Models {
10644
10213
  /**
10645
10214
  * Database port for connections. Derived from the engine when the backing has not reported one yet.
10646
10215
  */
10647
- connectionPort?: number;
10216
+ connectionPort: number;
10648
10217
  /**
10649
10218
  * Database username for connections.
10650
10219
  */
@@ -10656,7 +10225,7 @@ export declare namespace Models {
10656
10225
  /**
10657
10226
  * Committed generation of the primary connection credentials. Null until the rotation contract has been initialized.
10658
10227
  */
10659
- credentialGeneration?: number;
10228
+ credentialGeneration: number;
10660
10229
  /**
10661
10230
  * Full database connection string (URI format).
10662
10231
  */
@@ -10867,7 +10436,7 @@ export declare namespace Models {
10867
10436
  /**
10868
10437
  * Source database ID when restoring a backup into another database.
10869
10438
  */
10870
- sourceDatabaseId?: string;
10439
+ sourceDatabaseId: string;
10871
10440
  /**
10872
10441
  * Project ID.
10873
10442
  */
@@ -10875,7 +10444,7 @@ export declare namespace Models {
10875
10444
  /**
10876
10445
  * Backup ID used for restoration (null for PITR).
10877
10446
  */
10878
- backupId?: string;
10447
+ backupId: string;
10879
10448
  /**
10880
10449
  * Restoration type. Possible values: backup (restore from a specific backup snapshot), pitr (point-in-time recovery to a specific timestamp).
10881
10450
  */
@@ -10887,15 +10456,15 @@ export declare namespace Models {
10887
10456
  /**
10888
10457
  * Target time for PITR restoration in ISO 8601 format.
10889
10458
  */
10890
- targetTime?: string;
10459
+ targetTime: string;
10891
10460
  /**
10892
10461
  * Restoration start time in ISO 8601 format.
10893
10462
  */
10894
- startedAt?: string;
10463
+ startedAt: string;
10895
10464
  /**
10896
10465
  * Restoration completion time in ISO 8601 format.
10897
10466
  */
10898
- completedAt?: string;
10467
+ completedAt: string;
10899
10468
  /**
10900
10469
  * Error message if restoration failed.
10901
10470
  */
@@ -10926,9 +10495,9 @@ export declare namespace Models {
10926
10495
  */
10927
10496
  uptime: number;
10928
10497
  /**
10929
- * Connection statistics. Null when the database has not been probed.
10498
+ * Connection statistics.
10930
10499
  */
10931
- connections?: DatabaseStatusConnections;
10500
+ connections: DatabaseStatusConnections;
10932
10501
  /**
10933
10502
  * Requested replication sync mode. Possible values: async, sync, quorum. Compare with effectiveSyncMode for what the primary is enforcing.
10934
10503
  */
@@ -11261,7 +10830,7 @@ export declare namespace Models {
11261
10830
  /**
11262
10831
  * Discount amount
11263
10832
  */
11264
- discount?: number;
10833
+ discount: number;
11265
10834
  /**
11266
10835
  * Credits amount
11267
10836
  */
@@ -11345,7 +10914,7 @@ export declare namespace Models {
11345
10914
  /**
11346
10915
  * Discount amount
11347
10916
  */
11348
- discount?: number;
10917
+ discount: number;
11349
10918
  /**
11350
10919
  * Credits amount
11351
10920
  */
@@ -11621,7 +11190,7 @@ export declare namespace Models {
11621
11190
  /**
11622
11191
  * Client secret for processing failed payments in front-end
11623
11192
  */
11624
- clientSecret?: string;
11193
+ clientSecret: string;
11625
11194
  /**
11626
11195
  * Invoice status
11627
11196
  */
@@ -11633,7 +11202,7 @@ export declare namespace Models {
11633
11202
  /**
11634
11203
  * Last payment error associated with the invoice
11635
11204
  */
11636
- lastError?: string;
11205
+ lastError: string;
11637
11206
  /**
11638
11207
  * Invoice due date.
11639
11208
  */
@@ -11764,15 +11333,15 @@ export declare namespace Models {
11764
11333
  /**
11765
11334
  * Billing cycle start date.
11766
11335
  */
11767
- billingStartDate?: string;
11336
+ billingStartDate: string;
11768
11337
  /**
11769
11338
  * Current invoice cycle start date.
11770
11339
  */
11771
- billingCurrentInvoiceDate?: string;
11340
+ billingCurrentInvoiceDate: string;
11772
11341
  /**
11773
11342
  * Next invoice cycle start date.
11774
11343
  */
11775
- billingNextInvoiceDate?: string;
11344
+ billingNextInvoiceDate: string;
11776
11345
  /**
11777
11346
  * Start date of trial.
11778
11347
  */
@@ -11780,19 +11349,19 @@ export declare namespace Models {
11780
11349
  /**
11781
11350
  * Number of trial days.
11782
11351
  */
11783
- billingTrialDays?: number;
11352
+ billingTrialDays: number;
11784
11353
  /**
11785
11354
  * Current active aggregation id.
11786
11355
  */
11787
- billingAggregationId?: string;
11356
+ billingAggregationId: string;
11788
11357
  /**
11789
11358
  * Current active aggregation id.
11790
11359
  */
11791
- billingInvoiceId?: string;
11360
+ billingInvoiceId: string;
11792
11361
  /**
11793
11362
  * Default payment method.
11794
11363
  */
11795
- paymentMethodId?: string;
11364
+ paymentMethodId: string;
11796
11365
  /**
11797
11366
  * Default payment method.
11798
11367
  */
@@ -11922,39 +11491,39 @@ export declare namespace Models {
11922
11491
  /**
11923
11492
  * Expiry month of the payment method.
11924
11493
  */
11925
- expiryMonth?: number;
11494
+ expiryMonth: number;
11926
11495
  /**
11927
11496
  * Expiry year of the payment method.
11928
11497
  */
11929
- expiryYear?: number;
11498
+ expiryYear: number;
11930
11499
  /**
11931
11500
  * Last 4 digit of the payment method
11932
11501
  */
11933
- last4?: string;
11502
+ last4: string;
11934
11503
  /**
11935
11504
  * Payment method brand
11936
11505
  */
11937
- brand?: string;
11506
+ brand: string;
11938
11507
  /**
11939
11508
  * Name of the owner
11940
11509
  */
11941
- name?: string;
11510
+ name: string;
11942
11511
  /**
11943
11512
  * Mandate ID of the payment method
11944
11513
  */
11945
- mandateId?: string;
11514
+ mandateId: string;
11946
11515
  /**
11947
11516
  * Country of the payment method
11948
11517
  */
11949
- country?: string;
11518
+ country: string;
11950
11519
  /**
11951
11520
  * State of the payment method
11952
11521
  */
11953
- state?: string;
11522
+ state: string;
11954
11523
  /**
11955
11524
  * Last payment error associated with the payment method.
11956
11525
  */
11957
- lastError?: string;
11526
+ lastError: string;
11958
11527
  /**
11959
11528
  * True when it's the default payment method.
11960
11529
  */
@@ -12327,9 +11896,9 @@ export declare namespace Models {
12327
11896
  */
12328
11897
  status: string;
12329
11898
  /**
12330
- * The restoration start time. Null until the restoration starts.
11899
+ * The backup start time.
12331
11900
  */
12332
- startedAt?: string;
11901
+ startedAt: string;
12333
11902
  /**
12334
11903
  * Migration ID.
12335
11904
  */
@@ -12343,9 +11912,9 @@ export declare namespace Models {
12343
11912
  */
12344
11913
  resources: string[];
12345
11914
  /**
12346
- * Restoration options as a key-value object.
11915
+ * Optional data in key-value object.
12347
11916
  */
12348
- options: object;
11917
+ options: string;
12349
11918
  };
12350
11919
  /**
12351
11920
  * Dedicated database restorations list
@@ -12530,11 +12099,11 @@ export declare namespace Models {
12530
12099
  /**
12531
12100
  * Bandwidth additional resources
12532
12101
  */
12533
- bandwidth?: AdditionalResource;
12102
+ bandwidth: AdditionalResource;
12534
12103
  /**
12535
12104
  * Executions additional resources
12536
12105
  */
12537
- executions?: AdditionalResource;
12106
+ executions: AdditionalResource;
12538
12107
  /**
12539
12108
  * Member additional resources
12540
12109
  */
@@ -12542,11 +12111,11 @@ export declare namespace Models {
12542
12111
  /**
12543
12112
  * Realtime additional resources
12544
12113
  */
12545
- realtime?: AdditionalResource;
12114
+ realtime: AdditionalResource;
12546
12115
  /**
12547
12116
  * Realtime messages additional resources
12548
12117
  */
12549
- realtimeMessages?: AdditionalResource;
12118
+ realtimeMessages: AdditionalResource;
12550
12119
  /**
12551
12120
  * Realtime bandwidth additional resources
12552
12121
  */
@@ -12554,19 +12123,19 @@ export declare namespace Models {
12554
12123
  /**
12555
12124
  * Storage additional resources
12556
12125
  */
12557
- storage?: AdditionalResource;
12126
+ storage: AdditionalResource;
12558
12127
  /**
12559
12128
  * User additional resources
12560
12129
  */
12561
- users?: AdditionalResource;
12130
+ users: AdditionalResource;
12562
12131
  /**
12563
12132
  * GBHour additional resources
12564
12133
  */
12565
- GBHours?: AdditionalResource;
12134
+ GBHours: AdditionalResource;
12566
12135
  /**
12567
12136
  * Image transformation additional resources
12568
12137
  */
12569
- imageTransformations?: AdditionalResource;
12138
+ imageTransformations: AdditionalResource;
12570
12139
  /**
12571
12140
  * Credits additional resources
12572
12141
  */
@@ -12656,10 +12225,6 @@ export declare namespace Models {
12656
12225
  * Aggregated stats for total backups storage.
12657
12226
  */
12658
12227
  backupsStorageTotal: number;
12659
- /**
12660
- * Aggregated stats for total custom user photos storage.
12661
- */
12662
- avatarsStorageTotal: number;
12663
12228
  /**
12664
12229
  * Aggregated stats for total storage.
12665
12230
  */
@@ -13901,19 +13466,6 @@ export declare namespace Models {
13901
13466
  */
13902
13467
  addons: Addon[];
13903
13468
  };
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
13469
  /**
13918
13470
  * Aggregation team list
13919
13471
  */