@capgo/cli 4.10.0 → 4.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/index.js +2 -1
- package/package.json +1 -1
- package/src/channel/delete.ts +1 -0
- package/src/types/supabase.types.ts +11 -394
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [4.10.2](https://github.com/Cap-go/CLI/compare/v4.10.1...v4.10.2) (2024-05-14)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* cleanup db functions ([22e9f7d](https://github.com/Cap-go/CLI/commit/22e9f7db9724a7245b7547757b66a40644ce4348))
|
|
11
|
+
|
|
12
|
+
### [4.10.1](https://github.com/Cap-go/CLI/compare/v4.10.0...v4.10.1) (2024-05-14)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* add missing new userID in logsnag ([0dcf806](https://github.com/Cap-go/CLI/commit/0dcf8063e8819fc3cd0c623f7f761025216d7558))
|
|
18
|
+
|
|
5
19
|
## [4.10.0](https://github.com/Cap-go/CLI/compare/v4.9.3...v4.10.0) (2024-05-14)
|
|
6
20
|
|
|
7
21
|
|
package/dist/index.js
CHANGED
|
@@ -109783,7 +109783,7 @@ async function getUserId(options) {
|
|
|
109783
109783
|
// package.json
|
|
109784
109784
|
var package_default = {
|
|
109785
109785
|
name: "@capgo/cli",
|
|
109786
|
-
version: "4.10.
|
|
109786
|
+
version: "4.10.2",
|
|
109787
109787
|
description: "A CLI to upload to capgo servers",
|
|
109788
109788
|
author: "github.com/riderx",
|
|
109789
109789
|
license: "Apache 2.0",
|
|
@@ -112108,6 +112108,7 @@ async function deleteChannel(channelId, appId, options) {
|
|
|
112108
112108
|
channel: "channel",
|
|
112109
112109
|
event: "Delete channel",
|
|
112110
112110
|
icon: "\u2705",
|
|
112111
|
+
user_id: userId,
|
|
112111
112112
|
tags: {
|
|
112112
112113
|
"user-id": userId,
|
|
112113
112114
|
"app-id": appId,
|
package/package.json
CHANGED
package/src/channel/delete.ts
CHANGED
|
@@ -44,72 +44,6 @@ export interface Database {
|
|
|
44
44
|
},
|
|
45
45
|
]
|
|
46
46
|
}
|
|
47
|
-
app_stats: {
|
|
48
|
-
Row: {
|
|
49
|
-
app_id: string
|
|
50
|
-
bandwidth: number
|
|
51
|
-
channels: number
|
|
52
|
-
created_at: string | null
|
|
53
|
-
date_id: string
|
|
54
|
-
devices: number
|
|
55
|
-
devices_real: number
|
|
56
|
-
mlu: number
|
|
57
|
-
mlu_real: number
|
|
58
|
-
shared: number
|
|
59
|
-
updated_at: string | null
|
|
60
|
-
user_id: string
|
|
61
|
-
version_size: number
|
|
62
|
-
versions: number
|
|
63
|
-
}
|
|
64
|
-
Insert: {
|
|
65
|
-
app_id: string
|
|
66
|
-
bandwidth?: number
|
|
67
|
-
channels?: number
|
|
68
|
-
created_at?: string | null
|
|
69
|
-
date_id?: string
|
|
70
|
-
devices?: number
|
|
71
|
-
devices_real?: number
|
|
72
|
-
mlu?: number
|
|
73
|
-
mlu_real?: number
|
|
74
|
-
shared?: number
|
|
75
|
-
updated_at?: string | null
|
|
76
|
-
user_id: string
|
|
77
|
-
version_size?: number
|
|
78
|
-
versions?: number
|
|
79
|
-
}
|
|
80
|
-
Update: {
|
|
81
|
-
app_id?: string
|
|
82
|
-
bandwidth?: number
|
|
83
|
-
channels?: number
|
|
84
|
-
created_at?: string | null
|
|
85
|
-
date_id?: string
|
|
86
|
-
devices?: number
|
|
87
|
-
devices_real?: number
|
|
88
|
-
mlu?: number
|
|
89
|
-
mlu_real?: number
|
|
90
|
-
shared?: number
|
|
91
|
-
updated_at?: string | null
|
|
92
|
-
user_id?: string
|
|
93
|
-
version_size?: number
|
|
94
|
-
versions?: number
|
|
95
|
-
}
|
|
96
|
-
Relationships: [
|
|
97
|
-
{
|
|
98
|
-
foreignKeyName: 'app_stats_app_id_fkey'
|
|
99
|
-
columns: ['app_id']
|
|
100
|
-
isOneToOne: false
|
|
101
|
-
referencedRelation: 'apps'
|
|
102
|
-
referencedColumns: ['app_id']
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
foreignKeyName: 'app_stats_user_id_fkey'
|
|
106
|
-
columns: ['user_id']
|
|
107
|
-
isOneToOne: false
|
|
108
|
-
referencedRelation: 'users'
|
|
109
|
-
referencedColumns: ['id']
|
|
110
|
-
},
|
|
111
|
-
]
|
|
112
|
-
}
|
|
113
47
|
app_versions: {
|
|
114
48
|
Row: {
|
|
115
49
|
app_id: string
|
|
@@ -1377,10 +1311,6 @@ export interface Database {
|
|
|
1377
1311
|
}
|
|
1378
1312
|
Returns: string
|
|
1379
1313
|
}
|
|
1380
|
-
calculate_cycle_usage: {
|
|
1381
|
-
Args: Record<PropertyKey, never>
|
|
1382
|
-
Returns: undefined
|
|
1383
|
-
}
|
|
1384
1314
|
calculate_daily_app_usage: {
|
|
1385
1315
|
Args: Record<PropertyKey, never>
|
|
1386
1316
|
Returns: undefined
|
|
@@ -1454,13 +1384,6 @@ export interface Database {
|
|
|
1454
1384
|
Args: Record<PropertyKey, never>
|
|
1455
1385
|
Returns: number
|
|
1456
1386
|
}
|
|
1457
|
-
count_all_plans: {
|
|
1458
|
-
Args: Record<PropertyKey, never>
|
|
1459
|
-
Returns: {
|
|
1460
|
-
product_id: string
|
|
1461
|
-
count: number
|
|
1462
|
-
}[]
|
|
1463
|
-
}
|
|
1464
1387
|
count_all_plans_v2: {
|
|
1465
1388
|
Args: Record<PropertyKey, never>
|
|
1466
1389
|
Returns: {
|
|
@@ -1468,17 +1391,6 @@ export interface Database {
|
|
|
1468
1391
|
count: number
|
|
1469
1392
|
}[]
|
|
1470
1393
|
}
|
|
1471
|
-
count_all_trial: {
|
|
1472
|
-
Args: Record<PropertyKey, never>
|
|
1473
|
-
Returns: number
|
|
1474
|
-
}
|
|
1475
|
-
create_partitions: {
|
|
1476
|
-
Args: {
|
|
1477
|
-
start_date: string
|
|
1478
|
-
num_years: number
|
|
1479
|
-
}
|
|
1480
|
-
Returns: undefined
|
|
1481
|
-
}
|
|
1482
1394
|
delete_failed_jobs: {
|
|
1483
1395
|
Args: Record<PropertyKey, never>
|
|
1484
1396
|
Returns: undefined
|
|
@@ -1501,12 +1413,6 @@ export interface Database {
|
|
|
1501
1413
|
}
|
|
1502
1414
|
Returns: boolean
|
|
1503
1415
|
}
|
|
1504
|
-
exist_user: {
|
|
1505
|
-
Args: {
|
|
1506
|
-
e_mail: string
|
|
1507
|
-
}
|
|
1508
|
-
Returns: string
|
|
1509
|
-
}
|
|
1510
1416
|
find_best_plan_v3: {
|
|
1511
1417
|
Args: {
|
|
1512
1418
|
mau: number
|
|
@@ -1576,21 +1482,6 @@ export interface Database {
|
|
|
1576
1482
|
Args: Record<PropertyKey, never>
|
|
1577
1483
|
Returns: string
|
|
1578
1484
|
}
|
|
1579
|
-
get_current_plan_max:
|
|
1580
|
-
| {
|
|
1581
|
-
Args: Record<PropertyKey, never>
|
|
1582
|
-
Returns: string
|
|
1583
|
-
}
|
|
1584
|
-
| {
|
|
1585
|
-
Args: {
|
|
1586
|
-
userid: string
|
|
1587
|
-
}
|
|
1588
|
-
Returns: {
|
|
1589
|
-
mau: number
|
|
1590
|
-
bandwidth: number
|
|
1591
|
-
storage: number
|
|
1592
|
-
}[]
|
|
1593
|
-
}
|
|
1594
1485
|
get_current_plan_max_org: {
|
|
1595
1486
|
Args: {
|
|
1596
1487
|
orgid: string
|
|
@@ -1601,17 +1492,6 @@ export interface Database {
|
|
|
1601
1492
|
storage: number
|
|
1602
1493
|
}[]
|
|
1603
1494
|
}
|
|
1604
|
-
get_current_plan_name:
|
|
1605
|
-
| {
|
|
1606
|
-
Args: Record<PropertyKey, never>
|
|
1607
|
-
Returns: string
|
|
1608
|
-
}
|
|
1609
|
-
| {
|
|
1610
|
-
Args: {
|
|
1611
|
-
userid: string
|
|
1612
|
-
}
|
|
1613
|
-
Returns: string
|
|
1614
|
-
}
|
|
1615
1495
|
get_current_plan_name_org: {
|
|
1616
1496
|
Args: {
|
|
1617
1497
|
orgid: string
|
|
@@ -1626,15 +1506,6 @@ export interface Database {
|
|
|
1626
1506
|
total: number
|
|
1627
1507
|
}[]
|
|
1628
1508
|
}
|
|
1629
|
-
get_cycle_info: {
|
|
1630
|
-
Args: {
|
|
1631
|
-
userid: string
|
|
1632
|
-
}
|
|
1633
|
-
Returns: {
|
|
1634
|
-
subscription_anchor_start: string
|
|
1635
|
-
subscription_anchor_end: string
|
|
1636
|
-
}[]
|
|
1637
|
-
}
|
|
1638
1509
|
get_cycle_info_org: {
|
|
1639
1510
|
Args: {
|
|
1640
1511
|
orgid: string
|
|
@@ -1648,13 +1519,6 @@ export interface Database {
|
|
|
1648
1519
|
Args: Record<PropertyKey, never>
|
|
1649
1520
|
Returns: string
|
|
1650
1521
|
}
|
|
1651
|
-
get_devices_version: {
|
|
1652
|
-
Args: {
|
|
1653
|
-
app_id: string
|
|
1654
|
-
version_id: number
|
|
1655
|
-
}
|
|
1656
|
-
Returns: number
|
|
1657
|
-
}
|
|
1658
1522
|
get_global_metrics:
|
|
1659
1523
|
| {
|
|
1660
1524
|
Args: {
|
|
@@ -1717,25 +1581,6 @@ export interface Database {
|
|
|
1717
1581
|
channel: Json
|
|
1718
1582
|
}[]
|
|
1719
1583
|
}
|
|
1720
|
-
get_max_plan:
|
|
1721
|
-
| {
|
|
1722
|
-
Args: Record<PropertyKey, never>
|
|
1723
|
-
Returns: {
|
|
1724
|
-
mau: number
|
|
1725
|
-
bandwidth: number
|
|
1726
|
-
storage: number
|
|
1727
|
-
}[]
|
|
1728
|
-
}
|
|
1729
|
-
| {
|
|
1730
|
-
Args: {
|
|
1731
|
-
userid: string
|
|
1732
|
-
}
|
|
1733
|
-
Returns: {
|
|
1734
|
-
mau: number
|
|
1735
|
-
storage: number
|
|
1736
|
-
bandwidth: number
|
|
1737
|
-
}[]
|
|
1738
|
-
}
|
|
1739
1584
|
get_metered_usage:
|
|
1740
1585
|
| {
|
|
1741
1586
|
Args: Record<PropertyKey, never>
|
|
@@ -1770,59 +1615,6 @@ export interface Database {
|
|
|
1770
1615
|
}
|
|
1771
1616
|
Returns: string
|
|
1772
1617
|
}
|
|
1773
|
-
get_orgs_v3: {
|
|
1774
|
-
Args: {
|
|
1775
|
-
userid: string
|
|
1776
|
-
}
|
|
1777
|
-
Returns: {
|
|
1778
|
-
gid: string
|
|
1779
|
-
created_by: string
|
|
1780
|
-
logo: string
|
|
1781
|
-
name: string
|
|
1782
|
-
role: string
|
|
1783
|
-
paying: boolean
|
|
1784
|
-
trial_left: number
|
|
1785
|
-
can_use_more: boolean
|
|
1786
|
-
is_canceled: boolean
|
|
1787
|
-
}[]
|
|
1788
|
-
}
|
|
1789
|
-
get_orgs_v4:
|
|
1790
|
-
| {
|
|
1791
|
-
Args: Record<PropertyKey, never>
|
|
1792
|
-
Returns: {
|
|
1793
|
-
gid: string
|
|
1794
|
-
created_by: string
|
|
1795
|
-
logo: string
|
|
1796
|
-
name: string
|
|
1797
|
-
role: string
|
|
1798
|
-
paying: boolean
|
|
1799
|
-
trial_left: number
|
|
1800
|
-
can_use_more: boolean
|
|
1801
|
-
is_canceled: boolean
|
|
1802
|
-
app_count: number
|
|
1803
|
-
subscription_start: string
|
|
1804
|
-
subscription_end: string
|
|
1805
|
-
}[]
|
|
1806
|
-
}
|
|
1807
|
-
| {
|
|
1808
|
-
Args: {
|
|
1809
|
-
userid: string
|
|
1810
|
-
}
|
|
1811
|
-
Returns: {
|
|
1812
|
-
gid: string
|
|
1813
|
-
created_by: string
|
|
1814
|
-
logo: string
|
|
1815
|
-
name: string
|
|
1816
|
-
role: string
|
|
1817
|
-
paying: boolean
|
|
1818
|
-
trial_left: number
|
|
1819
|
-
can_use_more: boolean
|
|
1820
|
-
is_canceled: boolean
|
|
1821
|
-
app_count: number
|
|
1822
|
-
subscription_start: string
|
|
1823
|
-
subscription_end: string
|
|
1824
|
-
}[]
|
|
1825
|
-
}
|
|
1826
1618
|
get_orgs_v5:
|
|
1827
1619
|
| {
|
|
1828
1620
|
Args: Record<PropertyKey, never>
|
|
@@ -1862,12 +1654,6 @@ export interface Database {
|
|
|
1862
1654
|
management_email: string
|
|
1863
1655
|
}[]
|
|
1864
1656
|
}
|
|
1865
|
-
get_plan_usage_percent: {
|
|
1866
|
-
Args: {
|
|
1867
|
-
userid: string
|
|
1868
|
-
}
|
|
1869
|
-
Returns: number
|
|
1870
|
-
}
|
|
1871
1657
|
get_plan_usage_percent_detailed:
|
|
1872
1658
|
| {
|
|
1873
1659
|
Args: {
|
|
@@ -1893,26 +1679,6 @@ export interface Database {
|
|
|
1893
1679
|
storage_percent: number
|
|
1894
1680
|
}[]
|
|
1895
1681
|
}
|
|
1896
|
-
get_plan_usage_percent_org: {
|
|
1897
|
-
Args: {
|
|
1898
|
-
orgid: string
|
|
1899
|
-
}
|
|
1900
|
-
Returns: number
|
|
1901
|
-
}
|
|
1902
|
-
get_total_app_storage_size:
|
|
1903
|
-
| {
|
|
1904
|
-
Args: {
|
|
1905
|
-
appid: string
|
|
1906
|
-
}
|
|
1907
|
-
Returns: number
|
|
1908
|
-
}
|
|
1909
|
-
| {
|
|
1910
|
-
Args: {
|
|
1911
|
-
userid: string
|
|
1912
|
-
appid: string
|
|
1913
|
-
}
|
|
1914
|
-
Returns: number
|
|
1915
|
-
}
|
|
1916
1682
|
get_total_app_storage_size_orgs: {
|
|
1917
1683
|
Args: {
|
|
1918
1684
|
org_id: string
|
|
@@ -1951,16 +1717,6 @@ export interface Database {
|
|
|
1951
1717
|
uninstall: number
|
|
1952
1718
|
}[]
|
|
1953
1719
|
}
|
|
1954
|
-
get_total_stats_v5: {
|
|
1955
|
-
Args: {
|
|
1956
|
-
userid: string
|
|
1957
|
-
}
|
|
1958
|
-
Returns: {
|
|
1959
|
-
mau: number
|
|
1960
|
-
bandwidth: number
|
|
1961
|
-
storage: number
|
|
1962
|
-
}[]
|
|
1963
|
-
}
|
|
1964
1720
|
get_total_stats_v5_org: {
|
|
1965
1721
|
Args: {
|
|
1966
1722
|
orgid: string
|
|
@@ -1972,22 +1728,12 @@ export interface Database {
|
|
|
1972
1728
|
}[]
|
|
1973
1729
|
}
|
|
1974
1730
|
get_total_storage_size:
|
|
1975
|
-
| {
|
|
1976
|
-
Args: Record<PropertyKey, never>
|
|
1977
|
-
Returns: number
|
|
1978
|
-
}
|
|
1979
1731
|
| {
|
|
1980
1732
|
Args: {
|
|
1981
1733
|
appid: string
|
|
1982
1734
|
}
|
|
1983
1735
|
Returns: number
|
|
1984
1736
|
}
|
|
1985
|
-
| {
|
|
1986
|
-
Args: {
|
|
1987
|
-
userid: string
|
|
1988
|
-
}
|
|
1989
|
-
Returns: number
|
|
1990
|
-
}
|
|
1991
1737
|
| {
|
|
1992
1738
|
Args: {
|
|
1993
1739
|
userid: string
|
|
@@ -2001,13 +1747,6 @@ export interface Database {
|
|
|
2001
1747
|
}
|
|
2002
1748
|
Returns: number
|
|
2003
1749
|
}
|
|
2004
|
-
get_usage_mode_and_last_saved: {
|
|
2005
|
-
Args: Record<PropertyKey, never>
|
|
2006
|
-
Returns: {
|
|
2007
|
-
usage_mode: Database['public']['Enums']['usage_mode']
|
|
2008
|
-
last_saved: string
|
|
2009
|
-
}[]
|
|
2010
|
-
}
|
|
2011
1750
|
get_user_id:
|
|
2012
1751
|
| {
|
|
2013
1752
|
Args: {
|
|
@@ -2059,30 +1798,6 @@ export interface Database {
|
|
|
2059
1798
|
}
|
|
2060
1799
|
Returns: boolean
|
|
2061
1800
|
}
|
|
2062
|
-
has_min_right: {
|
|
2063
|
-
Args: {
|
|
2064
|
-
_userid: string
|
|
2065
|
-
_orgid: string
|
|
2066
|
-
_right: Database['public']['Enums']['user_min_right']
|
|
2067
|
-
_appid?: string
|
|
2068
|
-
_channelid?: number
|
|
2069
|
-
}
|
|
2070
|
-
Returns: boolean
|
|
2071
|
-
}
|
|
2072
|
-
has_read_rights: {
|
|
2073
|
-
Args: {
|
|
2074
|
-
appid: string
|
|
2075
|
-
}
|
|
2076
|
-
Returns: boolean
|
|
2077
|
-
}
|
|
2078
|
-
http_post_helper: {
|
|
2079
|
-
Args: {
|
|
2080
|
-
function_name: string
|
|
2081
|
-
function_type: string
|
|
2082
|
-
body: Json
|
|
2083
|
-
}
|
|
2084
|
-
Returns: number
|
|
2085
|
-
}
|
|
2086
1801
|
invite_user_to_org: {
|
|
2087
1802
|
Args: {
|
|
2088
1803
|
email: string
|
|
@@ -2102,37 +1817,19 @@ export interface Database {
|
|
|
2102
1817
|
}
|
|
2103
1818
|
Returns: boolean
|
|
2104
1819
|
}
|
|
2105
|
-
is_allowed_action:
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
}
|
|
2110
|
-
Returns: boolean
|
|
2111
|
-
}
|
|
2112
|
-
| {
|
|
2113
|
-
Args: {
|
|
2114
|
-
apikey: string
|
|
2115
|
-
appid: string
|
|
2116
|
-
}
|
|
2117
|
-
Returns: boolean
|
|
1820
|
+
is_allowed_action: {
|
|
1821
|
+
Args: {
|
|
1822
|
+
apikey: string
|
|
1823
|
+
appid: string
|
|
2118
1824
|
}
|
|
1825
|
+
Returns: boolean
|
|
1826
|
+
}
|
|
2119
1827
|
is_allowed_action_org: {
|
|
2120
1828
|
Args: {
|
|
2121
1829
|
orgid: string
|
|
2122
1830
|
}
|
|
2123
1831
|
Returns: boolean
|
|
2124
1832
|
}
|
|
2125
|
-
is_allowed_action_user:
|
|
2126
|
-
| {
|
|
2127
|
-
Args: Record<PropertyKey, never>
|
|
2128
|
-
Returns: boolean
|
|
2129
|
-
}
|
|
2130
|
-
| {
|
|
2131
|
-
Args: {
|
|
2132
|
-
userid: string
|
|
2133
|
-
}
|
|
2134
|
-
Returns: boolean
|
|
2135
|
-
}
|
|
2136
1833
|
is_allowed_capgkey:
|
|
2137
1834
|
| {
|
|
2138
1835
|
Args: {
|
|
@@ -2191,29 +1888,12 @@ export interface Database {
|
|
|
2191
1888
|
}
|
|
2192
1889
|
Returns: boolean
|
|
2193
1890
|
}
|
|
2194
|
-
is_canceled:
|
|
2195
|
-
| {
|
|
2196
|
-
Args: Record<PropertyKey, never>
|
|
2197
|
-
Returns: boolean
|
|
2198
|
-
}
|
|
2199
|
-
| {
|
|
2200
|
-
Args: {
|
|
2201
|
-
userid: string
|
|
2202
|
-
}
|
|
2203
|
-
Returns: boolean
|
|
2204
|
-
}
|
|
2205
1891
|
is_canceled_org: {
|
|
2206
1892
|
Args: {
|
|
2207
1893
|
orgid: string
|
|
2208
1894
|
}
|
|
2209
1895
|
Returns: boolean
|
|
2210
1896
|
}
|
|
2211
|
-
is_good_plan_v5: {
|
|
2212
|
-
Args: {
|
|
2213
|
-
userid: string
|
|
2214
|
-
}
|
|
2215
|
-
Returns: boolean
|
|
2216
|
-
}
|
|
2217
1897
|
is_good_plan_v5_org: {
|
|
2218
1898
|
Args: {
|
|
2219
1899
|
orgid: string
|
|
@@ -2233,34 +1913,18 @@ export interface Database {
|
|
|
2233
1913
|
}
|
|
2234
1914
|
Returns: boolean
|
|
2235
1915
|
}
|
|
2236
|
-
is_onboarded:
|
|
2237
|
-
| {
|
|
2238
|
-
Args: Record<PropertyKey, never>
|
|
2239
|
-
Returns: boolean
|
|
2240
|
-
}
|
|
2241
|
-
| {
|
|
2242
|
-
Args: {
|
|
2243
|
-
userid: string
|
|
2244
|
-
}
|
|
2245
|
-
Returns: boolean
|
|
2246
|
-
}
|
|
2247
1916
|
is_onboarded_org: {
|
|
2248
1917
|
Args: {
|
|
2249
1918
|
orgid: string
|
|
2250
1919
|
}
|
|
2251
1920
|
Returns: boolean
|
|
2252
1921
|
}
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
Returns: boolean
|
|
2257
|
-
}
|
|
2258
|
-
| {
|
|
2259
|
-
Args: {
|
|
2260
|
-
userid: string
|
|
2261
|
-
}
|
|
2262
|
-
Returns: boolean
|
|
1922
|
+
is_onboarding_needed_org: {
|
|
1923
|
+
Args: {
|
|
1924
|
+
orgid: string
|
|
2263
1925
|
}
|
|
1926
|
+
Returns: boolean
|
|
1927
|
+
}
|
|
2264
1928
|
is_owner_of_org: {
|
|
2265
1929
|
Args: {
|
|
2266
1930
|
user_id: string
|
|
@@ -2268,28 +1932,6 @@ export interface Database {
|
|
|
2268
1932
|
}
|
|
2269
1933
|
Returns: boolean
|
|
2270
1934
|
}
|
|
2271
|
-
is_paying:
|
|
2272
|
-
| {
|
|
2273
|
-
Args: Record<PropertyKey, never>
|
|
2274
|
-
Returns: boolean
|
|
2275
|
-
}
|
|
2276
|
-
| {
|
|
2277
|
-
Args: {
|
|
2278
|
-
userid: string
|
|
2279
|
-
}
|
|
2280
|
-
Returns: boolean
|
|
2281
|
-
}
|
|
2282
|
-
is_paying_and_good_plan:
|
|
2283
|
-
| {
|
|
2284
|
-
Args: Record<PropertyKey, never>
|
|
2285
|
-
Returns: boolean
|
|
2286
|
-
}
|
|
2287
|
-
| {
|
|
2288
|
-
Args: {
|
|
2289
|
-
userid: string
|
|
2290
|
-
}
|
|
2291
|
-
Returns: boolean
|
|
2292
|
-
}
|
|
2293
1935
|
is_paying_and_good_plan_org: {
|
|
2294
1936
|
Args: {
|
|
2295
1937
|
orgid: string
|
|
@@ -2302,17 +1944,6 @@ export interface Database {
|
|
|
2302
1944
|
}
|
|
2303
1945
|
Returns: boolean
|
|
2304
1946
|
}
|
|
2305
|
-
is_trial:
|
|
2306
|
-
| {
|
|
2307
|
-
Args: Record<PropertyKey, never>
|
|
2308
|
-
Returns: number
|
|
2309
|
-
}
|
|
2310
|
-
| {
|
|
2311
|
-
Args: {
|
|
2312
|
-
userid: string
|
|
2313
|
-
}
|
|
2314
|
-
Returns: number
|
|
2315
|
-
}
|
|
2316
1947
|
is_trial_org: {
|
|
2317
1948
|
Args: {
|
|
2318
1949
|
orgid: string
|
|
@@ -2323,20 +1954,6 @@ export interface Database {
|
|
|
2323
1954
|
Args: Record<PropertyKey, never>
|
|
2324
1955
|
Returns: string
|
|
2325
1956
|
}
|
|
2326
|
-
post_replication_sql:
|
|
2327
|
-
| {
|
|
2328
|
-
Args: {
|
|
2329
|
-
sql_query: string
|
|
2330
|
-
}
|
|
2331
|
-
Returns: undefined
|
|
2332
|
-
}
|
|
2333
|
-
| {
|
|
2334
|
-
Args: {
|
|
2335
|
-
sql_query: string
|
|
2336
|
-
params: string[]
|
|
2337
|
-
}
|
|
2338
|
-
Returns: undefined
|
|
2339
|
-
}
|
|
2340
1957
|
process_cron_stats_jobs: {
|
|
2341
1958
|
Args: Record<PropertyKey, never>
|
|
2342
1959
|
Returns: undefined
|