@appwrite.io/console 9.1.0 → 11.0.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 +13139 -11261
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +13138 -11262
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +9115 -7237
- package/package.json +1 -1
- package/types/client.d.ts +7 -0
- package/types/enums/detection-framework-type.d.ts +3 -0
- package/types/enums/detection-runtime-type.d.ts +3 -0
- package/types/enums/documents-db-index-type.d.ts +5 -0
- package/types/enums/model.d.ts +3 -0
- package/types/enums/scopes.d.ts +2 -0
- package/types/enums/{smtp-secure.d.ts → secure.d.ts} +1 -1
- package/types/enums/vectors-db-index-type.d.ts +8 -0
- package/types/index.d.ts +10 -5
- package/types/models.d.ts +379 -21
- package/types/services/documents-db.d.ts +937 -0
- package/types/services/project.d.ts +325 -8
- package/types/services/projects.d.ts +0 -644
- package/types/services/realtime.d.ts +31 -10
- package/types/services/vectors-db.d.ts +905 -0
- package/types/enums/sms-template-locale.d.ts +0 -133
- package/types/enums/sms-template-type.d.ts +0 -6
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@appwrite.io/console",
|
|
3
3
|
"homepage": "https://appwrite.io/support",
|
|
4
4
|
"description": "Appwrite is an open-source self-hosted backend server that abstracts and simplifies complex and repetitive development tasks behind a very simple REST API",
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "11.0.0",
|
|
6
6
|
"license": "BSD-3-Clause",
|
|
7
7
|
"main": "dist/cjs/sdk.js",
|
|
8
8
|
"exports": {
|
package/types/client.d.ts
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import { Models } from './models';
|
|
2
2
|
import { Channel, ActionableChannel, ResolvedChannel } from './channel';
|
|
3
3
|
import { Query } from './query';
|
|
4
|
+
export declare const JSONbig: {
|
|
5
|
+
parse: (text: string) => any;
|
|
6
|
+
stringify: {
|
|
7
|
+
(value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
|
|
8
|
+
(value: any, replacer?: (number | string)[] | null, space?: string | number): string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
4
11
|
/**
|
|
5
12
|
* Payload type representing a key-value pair with string keys and any values.
|
|
6
13
|
*/
|
package/types/enums/scopes.d.ts
CHANGED
|
@@ -66,6 +66,8 @@ export declare enum Scopes {
|
|
|
66
66
|
PlatformsRead = "platforms.read",
|
|
67
67
|
PlatformsWrite = "platforms.write",
|
|
68
68
|
PoliciesWrite = "policies.write",
|
|
69
|
+
TemplatesRead = "templates.read",
|
|
70
|
+
TemplatesWrite = "templates.write",
|
|
69
71
|
PoliciesRead = "policies.read",
|
|
70
72
|
ArchivesRead = "archives.read",
|
|
71
73
|
ArchivesWrite = "archives.write",
|
package/types/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export { Backups } from './services/backups';
|
|
|
13
13
|
export { Assistant } from './services/assistant';
|
|
14
14
|
export { Console } from './services/console';
|
|
15
15
|
export { Databases } from './services/databases';
|
|
16
|
+
export { DocumentsDB } from './services/documents-db';
|
|
16
17
|
export { Domains } from './services/domains';
|
|
17
18
|
export { Functions } from './services/functions';
|
|
18
19
|
export { Graphql } from './services/graphql';
|
|
@@ -31,6 +32,7 @@ export { Teams } from './services/teams';
|
|
|
31
32
|
export { Tokens } from './services/tokens';
|
|
32
33
|
export { Users } from './services/users';
|
|
33
34
|
export { Vcs } from './services/vcs';
|
|
35
|
+
export { VectorsDB } from './services/vectors-db';
|
|
34
36
|
export { Webhooks } from './services/webhooks';
|
|
35
37
|
export { Realtime } from './services/realtime';
|
|
36
38
|
export type { Models, Payload, RealtimeResponseEvent, UploadProgress } from './client';
|
|
@@ -60,6 +62,7 @@ export { RelationshipType } from './enums/relationship-type';
|
|
|
60
62
|
export { RelationMutate } from './enums/relation-mutate';
|
|
61
63
|
export { DatabasesIndexType } from './enums/databases-index-type';
|
|
62
64
|
export { OrderBy } from './enums/order-by';
|
|
65
|
+
export { DocumentsDBIndexType } from './enums/documents-db-index-type';
|
|
63
66
|
export { RegistrationType } from './enums/registration-type';
|
|
64
67
|
export { FilterType } from './enums/filter-type';
|
|
65
68
|
export { Runtime } from './enums/runtime';
|
|
@@ -79,16 +82,14 @@ export { SupabaseMigrationResource } from './enums/supabase-migration-resource';
|
|
|
79
82
|
export { Addon } from './enums/addon';
|
|
80
83
|
export { ProtocolId } from './enums/protocol-id';
|
|
81
84
|
export { ServiceId } from './enums/service-id';
|
|
85
|
+
export { Secure } from './enums/secure';
|
|
86
|
+
export { EmailTemplateType } from './enums/email-template-type';
|
|
87
|
+
export { EmailTemplateLocale } from './enums/email-template-locale';
|
|
82
88
|
export { ProjectUsageRange } from './enums/project-usage-range';
|
|
83
89
|
export { Region } from './enums/region';
|
|
84
90
|
export { AuthMethod } from './enums/auth-method';
|
|
85
91
|
export { ResourceType } from './enums/resource-type';
|
|
86
|
-
export { SMTPSecure } from './enums/smtp-secure';
|
|
87
92
|
export { Status } from './enums/status';
|
|
88
|
-
export { EmailTemplateType } from './enums/email-template-type';
|
|
89
|
-
export { EmailTemplateLocale } from './enums/email-template-locale';
|
|
90
|
-
export { SmsTemplateType } from './enums/sms-template-type';
|
|
91
|
-
export { SmsTemplateLocale } from './enums/sms-template-locale';
|
|
92
93
|
export { StatusCode } from './enums/status-code';
|
|
93
94
|
export { ProxyResourceType } from './enums/proxy-resource-type';
|
|
94
95
|
export { Framework } from './enums/framework';
|
|
@@ -101,10 +102,14 @@ export { TablesDBIndexType } from './enums/tables-db-index-type';
|
|
|
101
102
|
export { PasswordHash } from './enums/password-hash';
|
|
102
103
|
export { MessagingProviderType } from './enums/messaging-provider-type';
|
|
103
104
|
export { VCSDetectionType } from './enums/vcs-detection-type';
|
|
105
|
+
export { Model } from './enums/model';
|
|
106
|
+
export { VectorsDBIndexType } from './enums/vectors-db-index-type';
|
|
104
107
|
export { DatabaseType } from './enums/database-type';
|
|
105
108
|
export { AttributeStatus } from './enums/attribute-status';
|
|
106
109
|
export { ColumnStatus } from './enums/column-status';
|
|
107
110
|
export { IndexStatus } from './enums/index-status';
|
|
111
|
+
export { DetectionFrameworkType } from './enums/detection-framework-type';
|
|
112
|
+
export { DetectionRuntimeType } from './enums/detection-runtime-type';
|
|
108
113
|
export { DeploymentStatus } from './enums/deployment-status';
|
|
109
114
|
export { ExecutionTrigger } from './enums/execution-trigger';
|
|
110
115
|
export { ExecutionStatus } from './enums/execution-status';
|
package/types/models.d.ts
CHANGED
|
@@ -2,6 +2,8 @@ import { DatabaseType } from "./enums/database-type";
|
|
|
2
2
|
import { AttributeStatus } from "./enums/attribute-status";
|
|
3
3
|
import { ColumnStatus } from "./enums/column-status";
|
|
4
4
|
import { IndexStatus } from "./enums/index-status";
|
|
5
|
+
import { DetectionFrameworkType } from "./enums/detection-framework-type";
|
|
6
|
+
import { DetectionRuntimeType } from "./enums/detection-runtime-type";
|
|
5
7
|
import { DeploymentStatus } from "./enums/deployment-status";
|
|
6
8
|
import { ExecutionTrigger } from "./enums/execution-trigger";
|
|
7
9
|
import { ExecutionStatus } from "./enums/execution-status";
|
|
@@ -304,6 +306,10 @@ export declare namespace Models {
|
|
|
304
306
|
* List of frameworkProviderRepositories.
|
|
305
307
|
*/
|
|
306
308
|
frameworkProviderRepositories: ProviderRepositoryFramework[];
|
|
309
|
+
/**
|
|
310
|
+
* Provider repository list type.
|
|
311
|
+
*/
|
|
312
|
+
type: string;
|
|
307
313
|
};
|
|
308
314
|
/**
|
|
309
315
|
* Runtime Provider Repositories List
|
|
@@ -317,6 +323,10 @@ export declare namespace Models {
|
|
|
317
323
|
* List of runtimeProviderRepositories.
|
|
318
324
|
*/
|
|
319
325
|
runtimeProviderRepositories: ProviderRepositoryRuntime[];
|
|
326
|
+
/**
|
|
327
|
+
* Provider repository list type.
|
|
328
|
+
*/
|
|
329
|
+
type: string;
|
|
320
330
|
};
|
|
321
331
|
/**
|
|
322
332
|
* Branches List
|
|
@@ -682,6 +692,32 @@ export declare namespace Models {
|
|
|
682
692
|
*/
|
|
683
693
|
contents: VcsContent[];
|
|
684
694
|
};
|
|
695
|
+
/**
|
|
696
|
+
* VectorsDB Collections List
|
|
697
|
+
*/
|
|
698
|
+
export type VectorsdbCollectionList = {
|
|
699
|
+
/**
|
|
700
|
+
* Total number of collections that matched your query.
|
|
701
|
+
*/
|
|
702
|
+
total: number;
|
|
703
|
+
/**
|
|
704
|
+
* List of collections.
|
|
705
|
+
*/
|
|
706
|
+
collections: VectorsdbCollection[];
|
|
707
|
+
};
|
|
708
|
+
/**
|
|
709
|
+
* Embedding list
|
|
710
|
+
*/
|
|
711
|
+
export type EmbeddingList = {
|
|
712
|
+
/**
|
|
713
|
+
* Total number of embeddings that matched your query.
|
|
714
|
+
*/
|
|
715
|
+
total: number;
|
|
716
|
+
/**
|
|
717
|
+
* List of embeddings.
|
|
718
|
+
*/
|
|
719
|
+
embeddings: Embedding[];
|
|
720
|
+
};
|
|
685
721
|
/**
|
|
686
722
|
* Database
|
|
687
723
|
*/
|
|
@@ -719,6 +755,27 @@ export declare namespace Models {
|
|
|
719
755
|
*/
|
|
720
756
|
archives: Collection[];
|
|
721
757
|
};
|
|
758
|
+
/**
|
|
759
|
+
* Embedding
|
|
760
|
+
*/
|
|
761
|
+
export type Embedding = {
|
|
762
|
+
/**
|
|
763
|
+
* Embedding model used to generate embeddings.
|
|
764
|
+
*/
|
|
765
|
+
model: string;
|
|
766
|
+
/**
|
|
767
|
+
* Number of dimensions for each embedding vector.
|
|
768
|
+
*/
|
|
769
|
+
dimension: number;
|
|
770
|
+
/**
|
|
771
|
+
* Embedding vector values. If an error occurs, this will be an empty array.
|
|
772
|
+
*/
|
|
773
|
+
embedding: number[];
|
|
774
|
+
/**
|
|
775
|
+
* Error message if embedding generation fails. Empty string if no error.
|
|
776
|
+
*/
|
|
777
|
+
error: string;
|
|
778
|
+
};
|
|
722
779
|
/**
|
|
723
780
|
* Collection
|
|
724
781
|
*/
|
|
@@ -1570,6 +1627,296 @@ export declare namespace Models {
|
|
|
1570
1627
|
*/
|
|
1571
1628
|
encrypt?: boolean;
|
|
1572
1629
|
};
|
|
1630
|
+
/**
|
|
1631
|
+
* UsageDocumentsDB
|
|
1632
|
+
*/
|
|
1633
|
+
export type UsageDocumentsDB = {
|
|
1634
|
+
/**
|
|
1635
|
+
* Time range of the usage stats.
|
|
1636
|
+
*/
|
|
1637
|
+
range: string;
|
|
1638
|
+
/**
|
|
1639
|
+
* Total aggregated number of collections.
|
|
1640
|
+
*/
|
|
1641
|
+
collectionsTotal: number;
|
|
1642
|
+
/**
|
|
1643
|
+
* Total aggregated number of documents.
|
|
1644
|
+
*/
|
|
1645
|
+
documentsTotal: number;
|
|
1646
|
+
/**
|
|
1647
|
+
* Total aggregated storage used in bytes.
|
|
1648
|
+
*/
|
|
1649
|
+
storageTotal: number;
|
|
1650
|
+
/**
|
|
1651
|
+
* Total number of database reads.
|
|
1652
|
+
*/
|
|
1653
|
+
databaseReadsTotal: number;
|
|
1654
|
+
/**
|
|
1655
|
+
* Total number of database writes.
|
|
1656
|
+
*/
|
|
1657
|
+
databaseWritesTotal: number;
|
|
1658
|
+
/**
|
|
1659
|
+
* Aggregated number of collections per period.
|
|
1660
|
+
*/
|
|
1661
|
+
collections: Metric[];
|
|
1662
|
+
/**
|
|
1663
|
+
* Aggregated number of documents per period.
|
|
1664
|
+
*/
|
|
1665
|
+
documents: Metric[];
|
|
1666
|
+
/**
|
|
1667
|
+
* Aggregated storage used in bytes per period.
|
|
1668
|
+
*/
|
|
1669
|
+
storage: Metric[];
|
|
1670
|
+
/**
|
|
1671
|
+
* An array of aggregated number of database reads.
|
|
1672
|
+
*/
|
|
1673
|
+
databaseReads: Metric[];
|
|
1674
|
+
/**
|
|
1675
|
+
* An array of aggregated number of database writes.
|
|
1676
|
+
*/
|
|
1677
|
+
databaseWrites: Metric[];
|
|
1678
|
+
};
|
|
1679
|
+
/**
|
|
1680
|
+
* VectorsDB Collection
|
|
1681
|
+
*/
|
|
1682
|
+
export type VectorsdbCollection = {
|
|
1683
|
+
/**
|
|
1684
|
+
* Collection ID.
|
|
1685
|
+
*/
|
|
1686
|
+
$id: string;
|
|
1687
|
+
/**
|
|
1688
|
+
* Collection creation date in ISO 8601 format.
|
|
1689
|
+
*/
|
|
1690
|
+
$createdAt: string;
|
|
1691
|
+
/**
|
|
1692
|
+
* Collection update date in ISO 8601 format.
|
|
1693
|
+
*/
|
|
1694
|
+
$updatedAt: string;
|
|
1695
|
+
/**
|
|
1696
|
+
* Collection permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).
|
|
1697
|
+
*/
|
|
1698
|
+
$permissions: string[];
|
|
1699
|
+
/**
|
|
1700
|
+
* Database ID.
|
|
1701
|
+
*/
|
|
1702
|
+
databaseId: string;
|
|
1703
|
+
/**
|
|
1704
|
+
* Collection name.
|
|
1705
|
+
*/
|
|
1706
|
+
name: string;
|
|
1707
|
+
/**
|
|
1708
|
+
* Collection enabled. Can be 'enabled' or 'disabled'. When disabled, the collection is inaccessible to users, but remains accessible to Server SDKs using API keys.
|
|
1709
|
+
*/
|
|
1710
|
+
enabled: boolean;
|
|
1711
|
+
/**
|
|
1712
|
+
* Whether document-level permissions are enabled. [Learn more about permissions](https://appwrite.io/docs/permissions).
|
|
1713
|
+
*/
|
|
1714
|
+
documentSecurity: boolean;
|
|
1715
|
+
/**
|
|
1716
|
+
* Collection attributes.
|
|
1717
|
+
*/
|
|
1718
|
+
attributes: (Models.AttributeObject | Models.AttributeVector)[];
|
|
1719
|
+
/**
|
|
1720
|
+
* Collection indexes.
|
|
1721
|
+
*/
|
|
1722
|
+
indexes: Index[];
|
|
1723
|
+
/**
|
|
1724
|
+
* Maximum document size in bytes. Returns 0 when no limit applies.
|
|
1725
|
+
*/
|
|
1726
|
+
bytesMax: number;
|
|
1727
|
+
/**
|
|
1728
|
+
* Currently used document size in bytes based on defined attributes.
|
|
1729
|
+
*/
|
|
1730
|
+
bytesUsed: number;
|
|
1731
|
+
/**
|
|
1732
|
+
* Embedding dimension.
|
|
1733
|
+
*/
|
|
1734
|
+
dimension: number;
|
|
1735
|
+
};
|
|
1736
|
+
/**
|
|
1737
|
+
* AttributeObject
|
|
1738
|
+
*/
|
|
1739
|
+
export type AttributeObject = {
|
|
1740
|
+
/**
|
|
1741
|
+
* Attribute Key.
|
|
1742
|
+
*/
|
|
1743
|
+
key: string;
|
|
1744
|
+
/**
|
|
1745
|
+
* Attribute type.
|
|
1746
|
+
*/
|
|
1747
|
+
type: string;
|
|
1748
|
+
/**
|
|
1749
|
+
* Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1750
|
+
*/
|
|
1751
|
+
status: AttributeStatus;
|
|
1752
|
+
/**
|
|
1753
|
+
* Error message. Displays error generated on failure of creating or deleting an attribute.
|
|
1754
|
+
*/
|
|
1755
|
+
error: string;
|
|
1756
|
+
/**
|
|
1757
|
+
* Is attribute required?
|
|
1758
|
+
*/
|
|
1759
|
+
required: boolean;
|
|
1760
|
+
/**
|
|
1761
|
+
* Is attribute an array?
|
|
1762
|
+
*/
|
|
1763
|
+
array?: boolean;
|
|
1764
|
+
/**
|
|
1765
|
+
* Attribute creation date in ISO 8601 format.
|
|
1766
|
+
*/
|
|
1767
|
+
$createdAt: string;
|
|
1768
|
+
/**
|
|
1769
|
+
* Attribute update date in ISO 8601 format.
|
|
1770
|
+
*/
|
|
1771
|
+
$updatedAt: string;
|
|
1772
|
+
};
|
|
1773
|
+
/**
|
|
1774
|
+
* AttributeVector
|
|
1775
|
+
*/
|
|
1776
|
+
export type AttributeVector = {
|
|
1777
|
+
/**
|
|
1778
|
+
* Attribute Key.
|
|
1779
|
+
*/
|
|
1780
|
+
key: string;
|
|
1781
|
+
/**
|
|
1782
|
+
* Attribute type.
|
|
1783
|
+
*/
|
|
1784
|
+
type: string;
|
|
1785
|
+
/**
|
|
1786
|
+
* Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1787
|
+
*/
|
|
1788
|
+
status: AttributeStatus;
|
|
1789
|
+
/**
|
|
1790
|
+
* Error message. Displays error generated on failure of creating or deleting an attribute.
|
|
1791
|
+
*/
|
|
1792
|
+
error: string;
|
|
1793
|
+
/**
|
|
1794
|
+
* Is attribute required?
|
|
1795
|
+
*/
|
|
1796
|
+
required: boolean;
|
|
1797
|
+
/**
|
|
1798
|
+
* Is attribute an array?
|
|
1799
|
+
*/
|
|
1800
|
+
array?: boolean;
|
|
1801
|
+
/**
|
|
1802
|
+
* Attribute creation date in ISO 8601 format.
|
|
1803
|
+
*/
|
|
1804
|
+
$createdAt: string;
|
|
1805
|
+
/**
|
|
1806
|
+
* Attribute update date in ISO 8601 format.
|
|
1807
|
+
*/
|
|
1808
|
+
$updatedAt: string;
|
|
1809
|
+
/**
|
|
1810
|
+
* Vector dimensions.
|
|
1811
|
+
*/
|
|
1812
|
+
size: number;
|
|
1813
|
+
};
|
|
1814
|
+
/**
|
|
1815
|
+
* UsageVectorsDBs
|
|
1816
|
+
*/
|
|
1817
|
+
export type UsageVectorsDBs = {
|
|
1818
|
+
/**
|
|
1819
|
+
* Time range of the usage stats.
|
|
1820
|
+
*/
|
|
1821
|
+
range: string;
|
|
1822
|
+
/**
|
|
1823
|
+
* Total aggregated number of VectorsDB databases.
|
|
1824
|
+
*/
|
|
1825
|
+
databasesTotal: number;
|
|
1826
|
+
/**
|
|
1827
|
+
* Total aggregated number of collections.
|
|
1828
|
+
*/
|
|
1829
|
+
collectionsTotal: number;
|
|
1830
|
+
/**
|
|
1831
|
+
* Total aggregated number of documents.
|
|
1832
|
+
*/
|
|
1833
|
+
documentsTotal: number;
|
|
1834
|
+
/**
|
|
1835
|
+
* Total aggregated storage in bytes.
|
|
1836
|
+
*/
|
|
1837
|
+
storageTotal: number;
|
|
1838
|
+
/**
|
|
1839
|
+
* Total number of database reads.
|
|
1840
|
+
*/
|
|
1841
|
+
databasesReadsTotal: number;
|
|
1842
|
+
/**
|
|
1843
|
+
* Total number of database writes.
|
|
1844
|
+
*/
|
|
1845
|
+
databasesWritesTotal: number;
|
|
1846
|
+
/**
|
|
1847
|
+
* Aggregated number of databases per period.
|
|
1848
|
+
*/
|
|
1849
|
+
databases: Metric[];
|
|
1850
|
+
/**
|
|
1851
|
+
* Aggregated number of collections per period.
|
|
1852
|
+
*/
|
|
1853
|
+
collections: Metric[];
|
|
1854
|
+
/**
|
|
1855
|
+
* Aggregated number of documents per period.
|
|
1856
|
+
*/
|
|
1857
|
+
documents: Metric[];
|
|
1858
|
+
/**
|
|
1859
|
+
* Aggregated storage in bytes per period.
|
|
1860
|
+
*/
|
|
1861
|
+
storage: Metric[];
|
|
1862
|
+
/**
|
|
1863
|
+
* An array of aggregated number of database reads.
|
|
1864
|
+
*/
|
|
1865
|
+
databasesReads: Metric[];
|
|
1866
|
+
/**
|
|
1867
|
+
* An array of aggregated number of database writes.
|
|
1868
|
+
*/
|
|
1869
|
+
databasesWrites: Metric[];
|
|
1870
|
+
};
|
|
1871
|
+
/**
|
|
1872
|
+
* UsageVectorsDB
|
|
1873
|
+
*/
|
|
1874
|
+
export type UsageVectorsDB = {
|
|
1875
|
+
/**
|
|
1876
|
+
* Time range of the usage stats.
|
|
1877
|
+
*/
|
|
1878
|
+
range: string;
|
|
1879
|
+
/**
|
|
1880
|
+
* Total aggregated number of collections.
|
|
1881
|
+
*/
|
|
1882
|
+
collectionsTotal: number;
|
|
1883
|
+
/**
|
|
1884
|
+
* Total aggregated number of documents.
|
|
1885
|
+
*/
|
|
1886
|
+
documentsTotal: number;
|
|
1887
|
+
/**
|
|
1888
|
+
* Total aggregated storage used in bytes.
|
|
1889
|
+
*/
|
|
1890
|
+
storageTotal: number;
|
|
1891
|
+
/**
|
|
1892
|
+
* Total number of database reads.
|
|
1893
|
+
*/
|
|
1894
|
+
databaseReadsTotal: number;
|
|
1895
|
+
/**
|
|
1896
|
+
* Total number of database writes.
|
|
1897
|
+
*/
|
|
1898
|
+
databaseWritesTotal: number;
|
|
1899
|
+
/**
|
|
1900
|
+
* Aggregated number of collections per period.
|
|
1901
|
+
*/
|
|
1902
|
+
collections: Metric[];
|
|
1903
|
+
/**
|
|
1904
|
+
* Aggregated number of documents per period.
|
|
1905
|
+
*/
|
|
1906
|
+
documents: Metric[];
|
|
1907
|
+
/**
|
|
1908
|
+
* Aggregated storage used in bytes per period.
|
|
1909
|
+
*/
|
|
1910
|
+
storage: Metric[];
|
|
1911
|
+
/**
|
|
1912
|
+
* An array of aggregated number of database reads.
|
|
1913
|
+
*/
|
|
1914
|
+
databaseReads: Metric[];
|
|
1915
|
+
/**
|
|
1916
|
+
* An array of aggregated number of database writes.
|
|
1917
|
+
*/
|
|
1918
|
+
databaseWrites: Metric[];
|
|
1919
|
+
};
|
|
1573
1920
|
/**
|
|
1574
1921
|
* Table
|
|
1575
1922
|
*/
|
|
@@ -3336,6 +3683,10 @@ export declare namespace Models {
|
|
|
3336
3683
|
* User email address. Hide this attribute by toggling membership privacy in the Console.
|
|
3337
3684
|
*/
|
|
3338
3685
|
userEmail: string;
|
|
3686
|
+
/**
|
|
3687
|
+
* User phone number. Hide this attribute by toggling membership privacy in the Console.
|
|
3688
|
+
*/
|
|
3689
|
+
userPhone: string;
|
|
3339
3690
|
/**
|
|
3340
3691
|
* Team ID.
|
|
3341
3692
|
*/
|
|
@@ -4024,6 +4375,10 @@ export declare namespace Models {
|
|
|
4024
4375
|
* DetectionFramework
|
|
4025
4376
|
*/
|
|
4026
4377
|
export type DetectionFramework = {
|
|
4378
|
+
/**
|
|
4379
|
+
* Repository detection type.
|
|
4380
|
+
*/
|
|
4381
|
+
type: DetectionFrameworkType;
|
|
4027
4382
|
/**
|
|
4028
4383
|
* Environment variables found in .env files
|
|
4029
4384
|
*/
|
|
@@ -4049,6 +4404,10 @@ export declare namespace Models {
|
|
|
4049
4404
|
* DetectionRuntime
|
|
4050
4405
|
*/
|
|
4051
4406
|
export type DetectionRuntime = {
|
|
4407
|
+
/**
|
|
4408
|
+
* Repository detection type.
|
|
4409
|
+
*/
|
|
4410
|
+
type: DetectionRuntimeType;
|
|
4052
4411
|
/**
|
|
4053
4412
|
* Environment variables found in .env files
|
|
4054
4413
|
*/
|
|
@@ -4498,6 +4857,14 @@ export declare namespace Models {
|
|
|
4498
4857
|
* Whether or not to show user MFA status in the teams membership response.
|
|
4499
4858
|
*/
|
|
4500
4859
|
authMembershipsMfa: boolean;
|
|
4860
|
+
/**
|
|
4861
|
+
* Whether or not to show user IDs in the teams membership response.
|
|
4862
|
+
*/
|
|
4863
|
+
authMembershipsUserId: boolean;
|
|
4864
|
+
/**
|
|
4865
|
+
* Whether or not to show user phone numbers in the teams membership response.
|
|
4866
|
+
*/
|
|
4867
|
+
authMembershipsUserPhone: boolean;
|
|
4501
4868
|
/**
|
|
4502
4869
|
* Whether or not all existing sessions should be invalidated on password change
|
|
4503
4870
|
*/
|
|
@@ -4534,10 +4901,14 @@ export declare namespace Models {
|
|
|
4534
4901
|
* SMTP sender email
|
|
4535
4902
|
*/
|
|
4536
4903
|
smtpSenderEmail: string;
|
|
4904
|
+
/**
|
|
4905
|
+
* SMTP reply to name
|
|
4906
|
+
*/
|
|
4907
|
+
smtpReplyToName: string;
|
|
4537
4908
|
/**
|
|
4538
4909
|
* SMTP reply to email
|
|
4539
4910
|
*/
|
|
4540
|
-
|
|
4911
|
+
smtpReplyToEmail: string;
|
|
4541
4912
|
/**
|
|
4542
4913
|
* SMTP server host name
|
|
4543
4914
|
*/
|
|
@@ -4551,7 +4922,7 @@ export declare namespace Models {
|
|
|
4551
4922
|
*/
|
|
4552
4923
|
smtpUsername: string;
|
|
4553
4924
|
/**
|
|
4554
|
-
* SMTP server password
|
|
4925
|
+
* SMTP server password. This property is write-only and always returned empty.
|
|
4555
4926
|
*/
|
|
4556
4927
|
smtpPassword: string;
|
|
4557
4928
|
/**
|
|
@@ -6459,23 +6830,6 @@ export declare namespace Models {
|
|
|
6459
6830
|
*/
|
|
6460
6831
|
region: string;
|
|
6461
6832
|
};
|
|
6462
|
-
/**
|
|
6463
|
-
* SmsTemplate
|
|
6464
|
-
*/
|
|
6465
|
-
export type SmsTemplate = {
|
|
6466
|
-
/**
|
|
6467
|
-
* Template type
|
|
6468
|
-
*/
|
|
6469
|
-
type: string;
|
|
6470
|
-
/**
|
|
6471
|
-
* Template locale
|
|
6472
|
-
*/
|
|
6473
|
-
locale: string;
|
|
6474
|
-
/**
|
|
6475
|
-
* Template message
|
|
6476
|
-
*/
|
|
6477
|
-
message: string;
|
|
6478
|
-
};
|
|
6479
6833
|
/**
|
|
6480
6834
|
* EmailTemplate
|
|
6481
6835
|
*/
|
|
@@ -6483,7 +6837,7 @@ export declare namespace Models {
|
|
|
6483
6837
|
/**
|
|
6484
6838
|
* Template type
|
|
6485
6839
|
*/
|
|
6486
|
-
|
|
6840
|
+
templateId: string;
|
|
6487
6841
|
/**
|
|
6488
6842
|
* Template locale
|
|
6489
6843
|
*/
|
|
@@ -6503,7 +6857,11 @@ export declare namespace Models {
|
|
|
6503
6857
|
/**
|
|
6504
6858
|
* Reply to email address
|
|
6505
6859
|
*/
|
|
6506
|
-
|
|
6860
|
+
replyToEmail: string;
|
|
6861
|
+
/**
|
|
6862
|
+
* Reply to name
|
|
6863
|
+
*/
|
|
6864
|
+
replyToName: string;
|
|
6507
6865
|
/**
|
|
6508
6866
|
* Email subject
|
|
6509
6867
|
*/
|