@appwrite.io/console 7.0.0-rc.1 → 8.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/.github/workflows/autoclose.yml +11 -0
- package/CHANGELOG.md +23 -0
- package/README.md +2 -2
- package/dist/cjs/sdk.js +10580 -13225
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +10709 -13348
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +10304 -12936
- package/docs/examples/domains/create-purchase.md +2 -1
- package/docs/examples/domains/create-transfer-in.md +2 -1
- package/docs/examples/domains/{confirm-purchase.md → update-auto-renewal.md} +2 -2
- package/docs/examples/project/create-variable.md +1 -0
- package/docs/examples/project/list-variables.md +4 -1
- package/docs/examples/project/update-variable.md +1 -1
- package/docs/examples/{documentsdb/delete.md → users/update-impersonator.md} +5 -4
- package/package.json +7 -7
- package/rollup.config.js +2 -1
- package/src/client.ts +50 -2
- package/src/enums/build-runtime.ts +0 -92
- package/src/enums/runtime.ts +0 -92
- package/src/enums/runtimes.ts +0 -92
- package/src/enums/scopes.ts +13 -2
- package/src/enums/template-reference-type.ts +1 -1
- package/src/enums/use-cases.ts +7 -2
- package/src/index.ts +0 -5
- package/src/models.ts +23 -435
- package/src/services/domains.ts +103 -26
- package/src/services/project.ts +76 -33
- package/src/services/users.ts +67 -2
- package/types/channel.d.ts +3 -3
- package/types/client.d.ts +37 -4
- package/types/enums/build-runtime.d.ts +1 -93
- package/types/enums/runtime.d.ts +1 -93
- package/types/enums/runtimes.d.ts +1 -93
- package/types/enums/scopes.d.ts +14 -3
- package/types/enums/template-reference-type.d.ts +1 -1
- package/types/enums/use-cases.d.ts +7 -2
- package/types/index.d.ts +0 -5
- package/types/models.d.ts +23 -423
- package/types/operator.d.ts +3 -3
- package/types/query.d.ts +4 -4
- package/types/services/domains.d.ts +42 -14
- package/types/services/project.d.ts +37 -19
- package/types/services/realtime.d.ts +6 -6
- package/types/services/users.d.ts +26 -2
- package/docs/examples/documentsdb/create-collection.md +0 -22
- package/docs/examples/documentsdb/create-document.md +0 -25
- package/docs/examples/documentsdb/create-documents.md +0 -17
- package/docs/examples/documentsdb/create-index.md +0 -21
- package/docs/examples/documentsdb/create-transaction.md +0 -15
- package/docs/examples/documentsdb/create.md +0 -17
- package/docs/examples/documentsdb/decrement-document-attribute.md +0 -21
- package/docs/examples/documentsdb/delete-collection.md +0 -16
- package/docs/examples/documentsdb/delete-document.md +0 -18
- package/docs/examples/documentsdb/delete-documents.md +0 -18
- package/docs/examples/documentsdb/delete-index.md +0 -17
- package/docs/examples/documentsdb/delete-transaction.md +0 -15
- package/docs/examples/documentsdb/get-collection-usage.md +0 -17
- package/docs/examples/documentsdb/get-collection.md +0 -16
- package/docs/examples/documentsdb/get-document.md +0 -19
- package/docs/examples/documentsdb/get-index.md +0 -17
- package/docs/examples/documentsdb/get-transaction.md +0 -15
- package/docs/examples/documentsdb/get-usage.md +0 -16
- package/docs/examples/documentsdb/get.md +0 -15
- package/docs/examples/documentsdb/increment-document-attribute.md +0 -21
- package/docs/examples/documentsdb/list-collection-logs.md +0 -17
- package/docs/examples/documentsdb/list-collections.md +0 -18
- package/docs/examples/documentsdb/list-document-logs.md +0 -18
- package/docs/examples/documentsdb/list-documents.md +0 -20
- package/docs/examples/documentsdb/list-indexes.md +0 -18
- package/docs/examples/documentsdb/list-transactions.md +0 -15
- package/docs/examples/documentsdb/list-usage.md +0 -15
- package/docs/examples/documentsdb/list.md +0 -17
- package/docs/examples/documentsdb/update-collection.md +0 -20
- package/docs/examples/documentsdb/update-document.md +0 -20
- package/docs/examples/documentsdb/update-documents.md +0 -19
- package/docs/examples/documentsdb/update-transaction.md +0 -17
- package/docs/examples/documentsdb/update.md +0 -17
- package/docs/examples/documentsdb/upsert-document.md +0 -20
- package/docs/examples/documentsdb/upsert-documents.md +0 -18
- package/docs/examples/domains/confirm-transfer-in.md +0 -16
- package/docs/examples/projects/create-webhook.md +0 -22
- package/docs/examples/projects/delete-webhook.md +0 -16
- package/docs/examples/projects/get-webhook.md +0 -16
- package/docs/examples/projects/list-webhooks.md +0 -16
- package/docs/examples/projects/update-webhook-signature.md +0 -16
- package/docs/examples/projects/update-webhook.md +0 -23
- package/docs/examples/vectorsdb/create-collection.md +0 -21
- package/docs/examples/vectorsdb/create-document.md +0 -29
- package/docs/examples/vectorsdb/create-documents.md +0 -17
- package/docs/examples/vectorsdb/create-index.md +0 -21
- package/docs/examples/vectorsdb/create-operations.md +0 -26
- package/docs/examples/vectorsdb/create-text-embeddings.md +0 -16
- package/docs/examples/vectorsdb/create-transaction.md +0 -15
- package/docs/examples/vectorsdb/create.md +0 -17
- package/docs/examples/vectorsdb/delete-collection.md +0 -16
- package/docs/examples/vectorsdb/delete-document.md +0 -18
- package/docs/examples/vectorsdb/delete-documents.md +0 -18
- package/docs/examples/vectorsdb/delete-index.md +0 -17
- package/docs/examples/vectorsdb/delete-transaction.md +0 -15
- package/docs/examples/vectorsdb/delete.md +0 -15
- package/docs/examples/vectorsdb/get-collection-usage.md +0 -17
- package/docs/examples/vectorsdb/get-collection.md +0 -16
- package/docs/examples/vectorsdb/get-document.md +0 -19
- package/docs/examples/vectorsdb/get-index.md +0 -17
- package/docs/examples/vectorsdb/get-transaction.md +0 -15
- package/docs/examples/vectorsdb/get-usage.md +0 -16
- package/docs/examples/vectorsdb/get.md +0 -15
- package/docs/examples/vectorsdb/list-collection-logs.md +0 -17
- package/docs/examples/vectorsdb/list-collections.md +0 -18
- package/docs/examples/vectorsdb/list-documents.md +0 -20
- package/docs/examples/vectorsdb/list-indexes.md +0 -18
- package/docs/examples/vectorsdb/list-transactions.md +0 -15
- package/docs/examples/vectorsdb/list-usage.md +0 -15
- package/docs/examples/vectorsdb/list.md +0 -17
- package/docs/examples/vectorsdb/update-collection.md +0 -21
- package/docs/examples/vectorsdb/update-document.md +0 -20
- package/docs/examples/vectorsdb/update-documents.md +0 -19
- package/docs/examples/vectorsdb/update-transaction.md +0 -17
- package/docs/examples/vectorsdb/update.md +0 -17
- package/docs/examples/vectorsdb/upsert-document.md +0 -20
- package/docs/examples/vectorsdb/upsert-documents.md +0 -18
- package/src/enums/documents-db-index-type.ts +0 -6
- package/src/enums/domain-purchase-payment-status.ts +0 -10
- package/src/enums/domain-transfer-status-status.ts +0 -10
- package/src/enums/model.ts +0 -3
- package/src/enums/vectors-db-index-type.ts +0 -8
- package/src/services/documents-db.ts +0 -2608
- package/src/services/vectors-db.ts +0 -2406
- package/types/enums/documents-db-index-type.d.ts +0 -6
- package/types/enums/domain-purchase-payment-status.d.ts +0 -10
- package/types/enums/domain-transfer-status-status.d.ts +0 -10
- package/types/enums/model.d.ts +0 -3
- package/types/enums/vectors-db-index-type.d.ts +0 -8
- package/types/services/documents-db.d.ts +0 -977
- package/types/services/vectors-db.d.ts +0 -854
package/types/models.d.ts
CHANGED
|
@@ -305,19 +305,6 @@ export declare namespace Models {
|
|
|
305
305
|
*/
|
|
306
306
|
frameworkProviderRepositories: ProviderRepositoryFramework[];
|
|
307
307
|
};
|
|
308
|
-
/**
|
|
309
|
-
* Runtime Provider Repositories List
|
|
310
|
-
*/
|
|
311
|
-
export type ProviderRepositoryRuntimeList = {
|
|
312
|
-
/**
|
|
313
|
-
* Total number of runtimeProviderRepositories that matched your query.
|
|
314
|
-
*/
|
|
315
|
-
total: number;
|
|
316
|
-
/**
|
|
317
|
-
* List of runtimeProviderRepositories.
|
|
318
|
-
*/
|
|
319
|
-
runtimeProviderRepositories: ProviderRepositoryRuntime[];
|
|
320
|
-
};
|
|
321
308
|
/**
|
|
322
309
|
* Branches List
|
|
323
310
|
*/
|
|
@@ -695,32 +682,6 @@ export declare namespace Models {
|
|
|
695
682
|
*/
|
|
696
683
|
contents: VcsContent[];
|
|
697
684
|
};
|
|
698
|
-
/**
|
|
699
|
-
* VectorsDB Collections List
|
|
700
|
-
*/
|
|
701
|
-
export type VectorsdbCollectionList = {
|
|
702
|
-
/**
|
|
703
|
-
* Total number of collections that matched your query.
|
|
704
|
-
*/
|
|
705
|
-
total: number;
|
|
706
|
-
/**
|
|
707
|
-
* List of collections.
|
|
708
|
-
*/
|
|
709
|
-
collections: VectorsdbCollection[];
|
|
710
|
-
};
|
|
711
|
-
/**
|
|
712
|
-
* Embedding list
|
|
713
|
-
*/
|
|
714
|
-
export type EmbeddingList = {
|
|
715
|
-
/**
|
|
716
|
-
* Total number of embeddings that matched your query.
|
|
717
|
-
*/
|
|
718
|
-
total: number;
|
|
719
|
-
/**
|
|
720
|
-
* List of embeddings.
|
|
721
|
-
*/
|
|
722
|
-
embeddings: Embedding[];
|
|
723
|
-
};
|
|
724
685
|
/**
|
|
725
686
|
* Database
|
|
726
687
|
*/
|
|
@@ -758,27 +719,6 @@ export declare namespace Models {
|
|
|
758
719
|
*/
|
|
759
720
|
archives: Collection[];
|
|
760
721
|
};
|
|
761
|
-
/**
|
|
762
|
-
* Embedding
|
|
763
|
-
*/
|
|
764
|
-
export type Embedding = {
|
|
765
|
-
/**
|
|
766
|
-
* Embedding model used to generate embeddings.
|
|
767
|
-
*/
|
|
768
|
-
model: string;
|
|
769
|
-
/**
|
|
770
|
-
* Number of dimensions for each embedding vector.
|
|
771
|
-
*/
|
|
772
|
-
dimension: number;
|
|
773
|
-
/**
|
|
774
|
-
* Embedding vector values. If an error occurs, this will be an empty array.
|
|
775
|
-
*/
|
|
776
|
-
embedding: number[];
|
|
777
|
-
/**
|
|
778
|
-
* Error message if embedding generation fails. Empty string if no error.
|
|
779
|
-
*/
|
|
780
|
-
error: string;
|
|
781
|
-
};
|
|
782
722
|
/**
|
|
783
723
|
* Collection
|
|
784
724
|
*/
|
|
@@ -1630,296 +1570,6 @@ export declare namespace Models {
|
|
|
1630
1570
|
*/
|
|
1631
1571
|
encrypt?: boolean;
|
|
1632
1572
|
};
|
|
1633
|
-
/**
|
|
1634
|
-
* UsageDocumentsDB
|
|
1635
|
-
*/
|
|
1636
|
-
export type UsageDocumentsDB = {
|
|
1637
|
-
/**
|
|
1638
|
-
* Time range of the usage stats.
|
|
1639
|
-
*/
|
|
1640
|
-
range: string;
|
|
1641
|
-
/**
|
|
1642
|
-
* Total aggregated number of collections.
|
|
1643
|
-
*/
|
|
1644
|
-
collectionsTotal: number;
|
|
1645
|
-
/**
|
|
1646
|
-
* Total aggregated number of documents.
|
|
1647
|
-
*/
|
|
1648
|
-
documentsTotal: number;
|
|
1649
|
-
/**
|
|
1650
|
-
* Total aggregated storage used in bytes.
|
|
1651
|
-
*/
|
|
1652
|
-
storageTotal: number;
|
|
1653
|
-
/**
|
|
1654
|
-
* Total number of database reads.
|
|
1655
|
-
*/
|
|
1656
|
-
databaseReadsTotal: number;
|
|
1657
|
-
/**
|
|
1658
|
-
* Total number of database writes.
|
|
1659
|
-
*/
|
|
1660
|
-
databaseWritesTotal: number;
|
|
1661
|
-
/**
|
|
1662
|
-
* Aggregated number of collections per period.
|
|
1663
|
-
*/
|
|
1664
|
-
collections: Metric[];
|
|
1665
|
-
/**
|
|
1666
|
-
* Aggregated number of documents per period.
|
|
1667
|
-
*/
|
|
1668
|
-
documents: Metric[];
|
|
1669
|
-
/**
|
|
1670
|
-
* Aggregated storage used in bytes per period.
|
|
1671
|
-
*/
|
|
1672
|
-
storage: Metric[];
|
|
1673
|
-
/**
|
|
1674
|
-
* An array of aggregated number of database reads.
|
|
1675
|
-
*/
|
|
1676
|
-
databaseReads: Metric[];
|
|
1677
|
-
/**
|
|
1678
|
-
* An array of aggregated number of database writes.
|
|
1679
|
-
*/
|
|
1680
|
-
databaseWrites: Metric[];
|
|
1681
|
-
};
|
|
1682
|
-
/**
|
|
1683
|
-
* VectorsDB Collection
|
|
1684
|
-
*/
|
|
1685
|
-
export type VectorsdbCollection = {
|
|
1686
|
-
/**
|
|
1687
|
-
* Collection ID.
|
|
1688
|
-
*/
|
|
1689
|
-
$id: string;
|
|
1690
|
-
/**
|
|
1691
|
-
* Collection creation date in ISO 8601 format.
|
|
1692
|
-
*/
|
|
1693
|
-
$createdAt: string;
|
|
1694
|
-
/**
|
|
1695
|
-
* Collection update date in ISO 8601 format.
|
|
1696
|
-
*/
|
|
1697
|
-
$updatedAt: string;
|
|
1698
|
-
/**
|
|
1699
|
-
* Collection permissions. [Learn more about permissions](https://appwrite.io/docs/permissions).
|
|
1700
|
-
*/
|
|
1701
|
-
$permissions: string[];
|
|
1702
|
-
/**
|
|
1703
|
-
* Database ID.
|
|
1704
|
-
*/
|
|
1705
|
-
databaseId: string;
|
|
1706
|
-
/**
|
|
1707
|
-
* Collection name.
|
|
1708
|
-
*/
|
|
1709
|
-
name: string;
|
|
1710
|
-
/**
|
|
1711
|
-
* Collection enabled. Can be 'enabled' or 'disabled'. When disabled, the collection is inaccessible to users, but remains accessible to Server SDKs using API keys.
|
|
1712
|
-
*/
|
|
1713
|
-
enabled: boolean;
|
|
1714
|
-
/**
|
|
1715
|
-
* Whether document-level permissions are enabled. [Learn more about permissions](https://appwrite.io/docs/permissions).
|
|
1716
|
-
*/
|
|
1717
|
-
documentSecurity: boolean;
|
|
1718
|
-
/**
|
|
1719
|
-
* Collection attributes.
|
|
1720
|
-
*/
|
|
1721
|
-
attributes: (Models.AttributeObject | Models.AttributeVector)[];
|
|
1722
|
-
/**
|
|
1723
|
-
* Collection indexes.
|
|
1724
|
-
*/
|
|
1725
|
-
indexes: Index[];
|
|
1726
|
-
/**
|
|
1727
|
-
* Maximum document size in bytes. Returns 0 when no limit applies.
|
|
1728
|
-
*/
|
|
1729
|
-
bytesMax: number;
|
|
1730
|
-
/**
|
|
1731
|
-
* Currently used document size in bytes based on defined attributes.
|
|
1732
|
-
*/
|
|
1733
|
-
bytesUsed: number;
|
|
1734
|
-
/**
|
|
1735
|
-
* Embedding dimension.
|
|
1736
|
-
*/
|
|
1737
|
-
dimension: number;
|
|
1738
|
-
};
|
|
1739
|
-
/**
|
|
1740
|
-
* AttributeObject
|
|
1741
|
-
*/
|
|
1742
|
-
export type AttributeObject = {
|
|
1743
|
-
/**
|
|
1744
|
-
* Attribute Key.
|
|
1745
|
-
*/
|
|
1746
|
-
key: string;
|
|
1747
|
-
/**
|
|
1748
|
-
* Attribute type.
|
|
1749
|
-
*/
|
|
1750
|
-
type: string;
|
|
1751
|
-
/**
|
|
1752
|
-
* Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1753
|
-
*/
|
|
1754
|
-
status: AttributeStatus;
|
|
1755
|
-
/**
|
|
1756
|
-
* Error message. Displays error generated on failure of creating or deleting an attribute.
|
|
1757
|
-
*/
|
|
1758
|
-
error: string;
|
|
1759
|
-
/**
|
|
1760
|
-
* Is attribute required?
|
|
1761
|
-
*/
|
|
1762
|
-
required: boolean;
|
|
1763
|
-
/**
|
|
1764
|
-
* Is attribute an array?
|
|
1765
|
-
*/
|
|
1766
|
-
array?: boolean;
|
|
1767
|
-
/**
|
|
1768
|
-
* Attribute creation date in ISO 8601 format.
|
|
1769
|
-
*/
|
|
1770
|
-
$createdAt: string;
|
|
1771
|
-
/**
|
|
1772
|
-
* Attribute update date in ISO 8601 format.
|
|
1773
|
-
*/
|
|
1774
|
-
$updatedAt: string;
|
|
1775
|
-
};
|
|
1776
|
-
/**
|
|
1777
|
-
* AttributeVector
|
|
1778
|
-
*/
|
|
1779
|
-
export type AttributeVector = {
|
|
1780
|
-
/**
|
|
1781
|
-
* Attribute Key.
|
|
1782
|
-
*/
|
|
1783
|
-
key: string;
|
|
1784
|
-
/**
|
|
1785
|
-
* Attribute type.
|
|
1786
|
-
*/
|
|
1787
|
-
type: string;
|
|
1788
|
-
/**
|
|
1789
|
-
* Attribute status. Possible values: `available`, `processing`, `deleting`, `stuck`, or `failed`
|
|
1790
|
-
*/
|
|
1791
|
-
status: AttributeStatus;
|
|
1792
|
-
/**
|
|
1793
|
-
* Error message. Displays error generated on failure of creating or deleting an attribute.
|
|
1794
|
-
*/
|
|
1795
|
-
error: string;
|
|
1796
|
-
/**
|
|
1797
|
-
* Is attribute required?
|
|
1798
|
-
*/
|
|
1799
|
-
required: boolean;
|
|
1800
|
-
/**
|
|
1801
|
-
* Is attribute an array?
|
|
1802
|
-
*/
|
|
1803
|
-
array?: boolean;
|
|
1804
|
-
/**
|
|
1805
|
-
* Attribute creation date in ISO 8601 format.
|
|
1806
|
-
*/
|
|
1807
|
-
$createdAt: string;
|
|
1808
|
-
/**
|
|
1809
|
-
* Attribute update date in ISO 8601 format.
|
|
1810
|
-
*/
|
|
1811
|
-
$updatedAt: string;
|
|
1812
|
-
/**
|
|
1813
|
-
* Vector dimensions.
|
|
1814
|
-
*/
|
|
1815
|
-
size: number;
|
|
1816
|
-
};
|
|
1817
|
-
/**
|
|
1818
|
-
* UsageVectorsDBs
|
|
1819
|
-
*/
|
|
1820
|
-
export type UsageVectorsDBs = {
|
|
1821
|
-
/**
|
|
1822
|
-
* Time range of the usage stats.
|
|
1823
|
-
*/
|
|
1824
|
-
range: string;
|
|
1825
|
-
/**
|
|
1826
|
-
* Total aggregated number of VectorsDB databases.
|
|
1827
|
-
*/
|
|
1828
|
-
databasesTotal: number;
|
|
1829
|
-
/**
|
|
1830
|
-
* Total aggregated number of collections.
|
|
1831
|
-
*/
|
|
1832
|
-
collectionsTotal: number;
|
|
1833
|
-
/**
|
|
1834
|
-
* Total aggregated number of documents.
|
|
1835
|
-
*/
|
|
1836
|
-
documentsTotal: number;
|
|
1837
|
-
/**
|
|
1838
|
-
* Total aggregated storage in bytes.
|
|
1839
|
-
*/
|
|
1840
|
-
storageTotal: number;
|
|
1841
|
-
/**
|
|
1842
|
-
* Total number of database reads.
|
|
1843
|
-
*/
|
|
1844
|
-
databasesReadsTotal: number;
|
|
1845
|
-
/**
|
|
1846
|
-
* Total number of database writes.
|
|
1847
|
-
*/
|
|
1848
|
-
databasesWritesTotal: number;
|
|
1849
|
-
/**
|
|
1850
|
-
* Aggregated number of databases per period.
|
|
1851
|
-
*/
|
|
1852
|
-
databases: Metric[];
|
|
1853
|
-
/**
|
|
1854
|
-
* Aggregated number of collections per period.
|
|
1855
|
-
*/
|
|
1856
|
-
collections: Metric[];
|
|
1857
|
-
/**
|
|
1858
|
-
* Aggregated number of documents per period.
|
|
1859
|
-
*/
|
|
1860
|
-
documents: Metric[];
|
|
1861
|
-
/**
|
|
1862
|
-
* Aggregated storage in bytes per period.
|
|
1863
|
-
*/
|
|
1864
|
-
storage: Metric[];
|
|
1865
|
-
/**
|
|
1866
|
-
* An array of aggregated number of database reads.
|
|
1867
|
-
*/
|
|
1868
|
-
databasesReads: Metric[];
|
|
1869
|
-
/**
|
|
1870
|
-
* An array of aggregated number of database writes.
|
|
1871
|
-
*/
|
|
1872
|
-
databasesWrites: Metric[];
|
|
1873
|
-
};
|
|
1874
|
-
/**
|
|
1875
|
-
* UsageVectorsDB
|
|
1876
|
-
*/
|
|
1877
|
-
export type UsageVectorsDB = {
|
|
1878
|
-
/**
|
|
1879
|
-
* Time range of the usage stats.
|
|
1880
|
-
*/
|
|
1881
|
-
range: string;
|
|
1882
|
-
/**
|
|
1883
|
-
* Total aggregated number of collections.
|
|
1884
|
-
*/
|
|
1885
|
-
collectionsTotal: number;
|
|
1886
|
-
/**
|
|
1887
|
-
* Total aggregated number of documents.
|
|
1888
|
-
*/
|
|
1889
|
-
documentsTotal: number;
|
|
1890
|
-
/**
|
|
1891
|
-
* Total aggregated storage used in bytes.
|
|
1892
|
-
*/
|
|
1893
|
-
storageTotal: number;
|
|
1894
|
-
/**
|
|
1895
|
-
* Total number of database reads.
|
|
1896
|
-
*/
|
|
1897
|
-
databaseReadsTotal: number;
|
|
1898
|
-
/**
|
|
1899
|
-
* Total number of database writes.
|
|
1900
|
-
*/
|
|
1901
|
-
databaseWritesTotal: number;
|
|
1902
|
-
/**
|
|
1903
|
-
* Aggregated number of collections per period.
|
|
1904
|
-
*/
|
|
1905
|
-
collections: Metric[];
|
|
1906
|
-
/**
|
|
1907
|
-
* Aggregated number of documents per period.
|
|
1908
|
-
*/
|
|
1909
|
-
documents: Metric[];
|
|
1910
|
-
/**
|
|
1911
|
-
* Aggregated storage used in bytes per period.
|
|
1912
|
-
*/
|
|
1913
|
-
storage: Metric[];
|
|
1914
|
-
/**
|
|
1915
|
-
* An array of aggregated number of database reads.
|
|
1916
|
-
*/
|
|
1917
|
-
databaseReads: Metric[];
|
|
1918
|
-
/**
|
|
1919
|
-
* An array of aggregated number of database writes.
|
|
1920
|
-
*/
|
|
1921
|
-
databaseWrites: Metric[];
|
|
1922
|
-
};
|
|
1923
1573
|
/**
|
|
1924
1574
|
* Table
|
|
1925
1575
|
*/
|
|
@@ -2944,15 +2594,15 @@ export declare namespace Models {
|
|
|
2944
2594
|
*/
|
|
2945
2595
|
event: string;
|
|
2946
2596
|
/**
|
|
2947
|
-
* User ID.
|
|
2597
|
+
* User ID of the actor recorded for this log. During impersonation, this is the original impersonator, not the impersonated target user.
|
|
2948
2598
|
*/
|
|
2949
2599
|
userId: string;
|
|
2950
2600
|
/**
|
|
2951
|
-
* User
|
|
2601
|
+
* User email of the actor recorded for this log. During impersonation, this is the original impersonator.
|
|
2952
2602
|
*/
|
|
2953
2603
|
userEmail: string;
|
|
2954
2604
|
/**
|
|
2955
|
-
* User
|
|
2605
|
+
* User name of the actor recorded for this log. During impersonation, this is the original impersonator.
|
|
2956
2606
|
*/
|
|
2957
2607
|
userName: string;
|
|
2958
2608
|
/**
|
|
@@ -3104,6 +2754,14 @@ export declare namespace Models {
|
|
|
3104
2754
|
* Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.
|
|
3105
2755
|
*/
|
|
3106
2756
|
accessedAt: string;
|
|
2757
|
+
/**
|
|
2758
|
+
* Whether the user can impersonate other users.
|
|
2759
|
+
*/
|
|
2760
|
+
impersonator?: boolean;
|
|
2761
|
+
/**
|
|
2762
|
+
* ID of the original actor performing the impersonation. Present only when the current request is impersonating another user. Internal audit logs attribute the action to this user, while the impersonated target is recorded only in internal audit payload data.
|
|
2763
|
+
*/
|
|
2764
|
+
impersonatorUserId?: string;
|
|
3107
2765
|
};
|
|
3108
2766
|
/**
|
|
3109
2767
|
* AlgoMD5
|
|
@@ -4309,55 +3967,6 @@ export declare namespace Models {
|
|
|
4309
3967
|
*/
|
|
4310
3968
|
framework: string;
|
|
4311
3969
|
};
|
|
4312
|
-
/**
|
|
4313
|
-
* ProviderRepositoryRuntime
|
|
4314
|
-
*/
|
|
4315
|
-
export type ProviderRepositoryRuntime = {
|
|
4316
|
-
/**
|
|
4317
|
-
* VCS (Version Control System) repository ID.
|
|
4318
|
-
*/
|
|
4319
|
-
id: string;
|
|
4320
|
-
/**
|
|
4321
|
-
* VCS (Version Control System) repository name.
|
|
4322
|
-
*/
|
|
4323
|
-
name: string;
|
|
4324
|
-
/**
|
|
4325
|
-
* VCS (Version Control System) organization name
|
|
4326
|
-
*/
|
|
4327
|
-
organization: string;
|
|
4328
|
-
/**
|
|
4329
|
-
* VCS (Version Control System) provider name.
|
|
4330
|
-
*/
|
|
4331
|
-
provider: string;
|
|
4332
|
-
/**
|
|
4333
|
-
* Is VCS (Version Control System) repository private?
|
|
4334
|
-
*/
|
|
4335
|
-
private: boolean;
|
|
4336
|
-
/**
|
|
4337
|
-
* VCS (Version Control System) repository's default branch name.
|
|
4338
|
-
*/
|
|
4339
|
-
defaultBranch: string;
|
|
4340
|
-
/**
|
|
4341
|
-
* VCS (Version Control System) installation ID.
|
|
4342
|
-
*/
|
|
4343
|
-
providerInstallationId: string;
|
|
4344
|
-
/**
|
|
4345
|
-
* Is VCS (Version Control System) repository authorized for the installation?
|
|
4346
|
-
*/
|
|
4347
|
-
authorized: boolean;
|
|
4348
|
-
/**
|
|
4349
|
-
* Last commit date in ISO 8601 format.
|
|
4350
|
-
*/
|
|
4351
|
-
pushedAt: string;
|
|
4352
|
-
/**
|
|
4353
|
-
* Environment variables found in .env files
|
|
4354
|
-
*/
|
|
4355
|
-
variables: string[];
|
|
4356
|
-
/**
|
|
4357
|
-
* Auto-detected runtime. Empty if type is not "runtime".
|
|
4358
|
-
*/
|
|
4359
|
-
runtime: string;
|
|
4360
|
-
};
|
|
4361
3970
|
/**
|
|
4362
3971
|
* DetectionFramework
|
|
4363
3972
|
*/
|
|
@@ -4383,27 +3992,6 @@ export declare namespace Models {
|
|
|
4383
3992
|
*/
|
|
4384
3993
|
outputDirectory: string;
|
|
4385
3994
|
};
|
|
4386
|
-
/**
|
|
4387
|
-
* DetectionRuntime
|
|
4388
|
-
*/
|
|
4389
|
-
export type DetectionRuntime = {
|
|
4390
|
-
/**
|
|
4391
|
-
* Environment variables found in .env files
|
|
4392
|
-
*/
|
|
4393
|
-
variables?: DetectionVariable[];
|
|
4394
|
-
/**
|
|
4395
|
-
* Runtime
|
|
4396
|
-
*/
|
|
4397
|
-
runtime: string;
|
|
4398
|
-
/**
|
|
4399
|
-
* Function Entrypoint
|
|
4400
|
-
*/
|
|
4401
|
-
entrypoint: string;
|
|
4402
|
-
/**
|
|
4403
|
-
* Function install and build commands
|
|
4404
|
-
*/
|
|
4405
|
-
commands: string;
|
|
4406
|
-
};
|
|
4407
3995
|
/**
|
|
4408
3996
|
* DetectionVariable
|
|
4409
3997
|
*/
|
|
@@ -7745,6 +7333,10 @@ export declare namespace Models {
|
|
|
7745
7333
|
* Realtime connections
|
|
7746
7334
|
*/
|
|
7747
7335
|
realtime: number;
|
|
7336
|
+
/**
|
|
7337
|
+
* Realtime messages
|
|
7338
|
+
*/
|
|
7339
|
+
realtimeMessages: number;
|
|
7748
7340
|
/**
|
|
7749
7341
|
* Messages per month
|
|
7750
7342
|
*/
|
|
@@ -9137,6 +8729,14 @@ export declare namespace Models {
|
|
|
9137
8729
|
* Realtime additional resources
|
|
9138
8730
|
*/
|
|
9139
8731
|
realtime: AdditionalResource;
|
|
8732
|
+
/**
|
|
8733
|
+
* Realtime messages additional resources
|
|
8734
|
+
*/
|
|
8735
|
+
realtimeMessages: AdditionalResource;
|
|
8736
|
+
/**
|
|
8737
|
+
* Realtime bandwidth additional resources
|
|
8738
|
+
*/
|
|
8739
|
+
realtimeBandwidth: AdditionalResource;
|
|
9140
8740
|
/**
|
|
9141
8741
|
* Storage additional resources
|
|
9142
8742
|
*/
|
package/types/operator.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
type OperatorValuesSingle = string | number | boolean;
|
|
2
|
+
export type OperatorValuesList = string[] | number[] | boolean[] | any[];
|
|
3
|
+
export type OperatorValues = OperatorValuesSingle | OperatorValuesList;
|
|
4
4
|
export declare enum Condition {
|
|
5
5
|
Equal = "equal",
|
|
6
6
|
NotEqual = "notEqual",
|
package/types/query.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
|
|
1
|
+
type QueryTypesSingle = string | number | bigint | boolean;
|
|
2
|
+
export type QueryTypesList = string[] | number[] | bigint[] | boolean[] | Query[] | any[];
|
|
3
|
+
export type QueryTypes = QueryTypesSingle | QueryTypesList;
|
|
4
|
+
type AttributesTypes = string | string[];
|
|
5
5
|
/**
|
|
6
6
|
* Helper class to generate query strings.
|
|
7
7
|
*/
|