@seamapi/types 1.152.0 → 1.153.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/dist/connect.cjs +24 -6
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +38 -6
- package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +3 -3
- package/lib/seam/connect/models/connect-webviews/connect-webview.js +10 -3
- package/lib/seam/connect/models/connect-webviews/connect-webview.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +2 -0
- package/lib/seam/connect/openapi.js +10 -3
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +33 -3
- package/package.json +1 -1
- package/src/lib/seam/connect/models/connect-webviews/connect-webview.ts +14 -3
- package/src/lib/seam/connect/openapi.ts +12 -3
- package/src/lib/seam/connect/route-types.ts +33 -3
|
@@ -1787,9 +1787,19 @@ export interface Routes {
|
|
|
1787
1787
|
url: string;
|
|
1788
1788
|
device_selection_mode: 'none' | 'single' | 'multiple';
|
|
1789
1789
|
accepted_providers: string[];
|
|
1790
|
+
/**
|
|
1791
|
+
---
|
|
1792
|
+
deprecated: Unused. Will be removed.
|
|
1793
|
+
---
|
|
1794
|
+
*/
|
|
1790
1795
|
accepted_devices: string[];
|
|
1791
|
-
|
|
1796
|
+
/**
|
|
1797
|
+
---
|
|
1798
|
+
deprecated: Unused. Will be removed.
|
|
1799
|
+
---
|
|
1800
|
+
*/
|
|
1792
1801
|
any_device_allowed: boolean;
|
|
1802
|
+
any_provider_allowed: boolean;
|
|
1793
1803
|
login_successful: boolean;
|
|
1794
1804
|
status: 'pending' | 'failed' | 'authorized';
|
|
1795
1805
|
custom_redirect_url: string | null;
|
|
@@ -1831,9 +1841,19 @@ export interface Routes {
|
|
|
1831
1841
|
url: string;
|
|
1832
1842
|
device_selection_mode: 'none' | 'single' | 'multiple';
|
|
1833
1843
|
accepted_providers: string[];
|
|
1844
|
+
/**
|
|
1845
|
+
---
|
|
1846
|
+
deprecated: Unused. Will be removed.
|
|
1847
|
+
---
|
|
1848
|
+
*/
|
|
1834
1849
|
accepted_devices: string[];
|
|
1835
|
-
|
|
1850
|
+
/**
|
|
1851
|
+
---
|
|
1852
|
+
deprecated: Unused. Will be removed.
|
|
1853
|
+
---
|
|
1854
|
+
*/
|
|
1836
1855
|
any_device_allowed: boolean;
|
|
1856
|
+
any_provider_allowed: boolean;
|
|
1837
1857
|
login_successful: boolean;
|
|
1838
1858
|
status: 'pending' | 'failed' | 'authorized';
|
|
1839
1859
|
custom_redirect_url: string | null;
|
|
@@ -1866,9 +1886,19 @@ export interface Routes {
|
|
|
1866
1886
|
url: string;
|
|
1867
1887
|
device_selection_mode: 'none' | 'single' | 'multiple';
|
|
1868
1888
|
accepted_providers: string[];
|
|
1889
|
+
/**
|
|
1890
|
+
---
|
|
1891
|
+
deprecated: Unused. Will be removed.
|
|
1892
|
+
---
|
|
1893
|
+
*/
|
|
1869
1894
|
accepted_devices: string[];
|
|
1870
|
-
|
|
1895
|
+
/**
|
|
1896
|
+
---
|
|
1897
|
+
deprecated: Unused. Will be removed.
|
|
1898
|
+
---
|
|
1899
|
+
*/
|
|
1871
1900
|
any_device_allowed: boolean;
|
|
1901
|
+
any_provider_allowed: boolean;
|
|
1872
1902
|
login_successful: boolean;
|
|
1873
1903
|
status: 'pending' | 'failed' | 'authorized';
|
|
1874
1904
|
custom_redirect_url: string | null;
|
package/package.json
CHANGED
|
@@ -19,11 +19,22 @@ export const connect_webview = z.object({
|
|
|
19
19
|
// TODO: Use enum value.
|
|
20
20
|
accepted_providers: z.array(z.string()),
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
accepted_devices: z.array(z.string()).describe(
|
|
23
|
+
`
|
|
24
|
+
---
|
|
25
|
+
deprecated: Unused. Will be removed.
|
|
26
|
+
---
|
|
27
|
+
`,
|
|
28
|
+
),
|
|
29
|
+
any_device_allowed: z.boolean().describe(
|
|
30
|
+
`
|
|
31
|
+
---
|
|
32
|
+
deprecated: Unused. Will be removed.
|
|
33
|
+
---
|
|
34
|
+
`,
|
|
35
|
+
),
|
|
24
36
|
|
|
25
37
|
any_provider_allowed: z.boolean(),
|
|
26
|
-
any_device_allowed: z.boolean(),
|
|
27
38
|
login_successful: z.boolean(),
|
|
28
39
|
status: z.enum(['pending', 'failed', 'authorized']),
|
|
29
40
|
custom_redirect_url: z.string().url().nullable(),
|
|
@@ -420,9 +420,18 @@ export default {
|
|
|
420
420
|
},
|
|
421
421
|
connect_webview: {
|
|
422
422
|
properties: {
|
|
423
|
-
accepted_devices: {
|
|
423
|
+
accepted_devices: {
|
|
424
|
+
description:
|
|
425
|
+
'\n ---\n deprecated: Unused. Will be removed.\n ---\n ',
|
|
426
|
+
items: { type: 'string' },
|
|
427
|
+
type: 'array',
|
|
428
|
+
},
|
|
424
429
|
accepted_providers: { items: { type: 'string' }, type: 'array' },
|
|
425
|
-
any_device_allowed: {
|
|
430
|
+
any_device_allowed: {
|
|
431
|
+
description:
|
|
432
|
+
'\n ---\n deprecated: Unused. Will be removed.\n ---\n ',
|
|
433
|
+
type: 'boolean',
|
|
434
|
+
},
|
|
426
435
|
any_provider_allowed: { type: 'boolean' },
|
|
427
436
|
authorized_at: {
|
|
428
437
|
format: 'date-time',
|
|
@@ -473,8 +482,8 @@ export default {
|
|
|
473
482
|
'device_selection_mode',
|
|
474
483
|
'accepted_providers',
|
|
475
484
|
'accepted_devices',
|
|
476
|
-
'any_provider_allowed',
|
|
477
485
|
'any_device_allowed',
|
|
486
|
+
'any_provider_allowed',
|
|
478
487
|
'login_successful',
|
|
479
488
|
'status',
|
|
480
489
|
'custom_redirect_url',
|
|
@@ -2055,9 +2055,19 @@ export interface Routes {
|
|
|
2055
2055
|
url: string
|
|
2056
2056
|
device_selection_mode: 'none' | 'single' | 'multiple'
|
|
2057
2057
|
accepted_providers: string[]
|
|
2058
|
+
/**
|
|
2059
|
+
---
|
|
2060
|
+
deprecated: Unused. Will be removed.
|
|
2061
|
+
---
|
|
2062
|
+
*/
|
|
2058
2063
|
accepted_devices: string[]
|
|
2059
|
-
|
|
2064
|
+
/**
|
|
2065
|
+
---
|
|
2066
|
+
deprecated: Unused. Will be removed.
|
|
2067
|
+
---
|
|
2068
|
+
*/
|
|
2060
2069
|
any_device_allowed: boolean
|
|
2070
|
+
any_provider_allowed: boolean
|
|
2061
2071
|
login_successful: boolean
|
|
2062
2072
|
status: 'pending' | 'failed' | 'authorized'
|
|
2063
2073
|
custom_redirect_url: string | null
|
|
@@ -2099,9 +2109,19 @@ export interface Routes {
|
|
|
2099
2109
|
url: string
|
|
2100
2110
|
device_selection_mode: 'none' | 'single' | 'multiple'
|
|
2101
2111
|
accepted_providers: string[]
|
|
2112
|
+
/**
|
|
2113
|
+
---
|
|
2114
|
+
deprecated: Unused. Will be removed.
|
|
2115
|
+
---
|
|
2116
|
+
*/
|
|
2102
2117
|
accepted_devices: string[]
|
|
2103
|
-
|
|
2118
|
+
/**
|
|
2119
|
+
---
|
|
2120
|
+
deprecated: Unused. Will be removed.
|
|
2121
|
+
---
|
|
2122
|
+
*/
|
|
2104
2123
|
any_device_allowed: boolean
|
|
2124
|
+
any_provider_allowed: boolean
|
|
2105
2125
|
login_successful: boolean
|
|
2106
2126
|
status: 'pending' | 'failed' | 'authorized'
|
|
2107
2127
|
custom_redirect_url: string | null
|
|
@@ -2134,9 +2154,19 @@ export interface Routes {
|
|
|
2134
2154
|
url: string
|
|
2135
2155
|
device_selection_mode: 'none' | 'single' | 'multiple'
|
|
2136
2156
|
accepted_providers: string[]
|
|
2157
|
+
/**
|
|
2158
|
+
---
|
|
2159
|
+
deprecated: Unused. Will be removed.
|
|
2160
|
+
---
|
|
2161
|
+
*/
|
|
2137
2162
|
accepted_devices: string[]
|
|
2138
|
-
|
|
2163
|
+
/**
|
|
2164
|
+
---
|
|
2165
|
+
deprecated: Unused. Will be removed.
|
|
2166
|
+
---
|
|
2167
|
+
*/
|
|
2139
2168
|
any_device_allowed: boolean
|
|
2169
|
+
any_provider_allowed: boolean
|
|
2140
2170
|
login_successful: boolean
|
|
2141
2171
|
status: 'pending' | 'failed' | 'authorized'
|
|
2142
2172
|
custom_redirect_url: string | null
|