@seamapi/types 1.410.2 → 1.411.1
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 +197 -819
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +459 -1036
- package/lib/seam/connect/internal/schemas.d.ts +1 -1
- package/lib/seam/connect/internal/schemas.js +1 -1
- package/lib/seam/connect/internal/schemas.js.map +1 -1
- package/lib/seam/connect/models/partner/magic-link.d.ts +4 -4
- package/lib/seam/connect/models/partner/magic-link.js +1 -0
- package/lib/seam/connect/models/partner/magic-link.js.map +1 -1
- package/lib/seam/connect/models/partner/resources.d.ts +17 -0
- package/lib/seam/connect/models/partner/resources.js +11 -0
- package/lib/seam/connect/models/partner/resources.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +178 -745
- package/lib/seam/connect/openapi.js +193 -816
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +12 -22
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +1 -0
- package/src/lib/seam/connect/models/partner/magic-link.ts +1 -0
- package/src/lib/seam/connect/models/partner/resources.ts +15 -0
- package/src/lib/seam/connect/openapi.ts +207 -904
- package/src/lib/seam/connect/route-types.ts +26 -31
|
@@ -56841,7 +56841,7 @@ export interface Routes {
|
|
|
56841
56841
|
/** */
|
|
56842
56842
|
magic_link: {
|
|
56843
56843
|
url: string;
|
|
56844
|
-
building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces';
|
|
56844
|
+
building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces' | 'console';
|
|
56845
56845
|
customer_key: string;
|
|
56846
56846
|
expires_at: string;
|
|
56847
56847
|
workspace_id: string;
|
|
@@ -56855,23 +56855,13 @@ export interface Routes {
|
|
|
56855
56855
|
queryParams: {};
|
|
56856
56856
|
jsonBody: {};
|
|
56857
56857
|
commonParams: {
|
|
56858
|
-
/**
|
|
56859
|
-
building_block_type: 'connect_accounts';
|
|
56858
|
+
/** Type of building block to create a magic link for. */
|
|
56859
|
+
building_block_type: 'connect_accounts' | 'organize_spaces' | 'console' | 'manage_devices';
|
|
56860
56860
|
/** Customer key for which you want to create a new building block magic link. */
|
|
56861
56861
|
customer_key: string;
|
|
56862
|
-
|
|
56863
|
-
|
|
56864
|
-
|
|
56865
|
-
/** Customer key for which you want to create a new building block magic link. */
|
|
56866
|
-
customer_key: string;
|
|
56867
|
-
} | {
|
|
56868
|
-
/** `organize_spaces` building block type. */
|
|
56869
|
-
building_block_type: 'organize_spaces';
|
|
56870
|
-
/** Customer key for which you want to create a new building block magic link. */
|
|
56871
|
-
customer_key: string;
|
|
56872
|
-
/** Optional list of partner resources that you want to include in the new building block magic link. */
|
|
56873
|
-
partner_resources?: Array<{
|
|
56874
|
-
partner_resource_key: string;
|
|
56862
|
+
/** Optional list of spaces that you want to include in the new building block magic link. */
|
|
56863
|
+
spaces?: Array<{
|
|
56864
|
+
space_key: string;
|
|
56875
56865
|
name: string;
|
|
56876
56866
|
description?: string | undefined;
|
|
56877
56867
|
custom_metadata?: Record<string, string> | undefined;
|
|
@@ -56882,7 +56872,7 @@ export interface Routes {
|
|
|
56882
56872
|
/** */
|
|
56883
56873
|
magic_link: {
|
|
56884
56874
|
url: string;
|
|
56885
|
-
building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces';
|
|
56875
|
+
building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces' | 'console';
|
|
56886
56876
|
customer_key: string;
|
|
56887
56877
|
expires_at: string;
|
|
56888
56878
|
workspace_id: string;
|
|
@@ -56904,7 +56894,7 @@ export interface Routes {
|
|
|
56904
56894
|
/** */
|
|
56905
56895
|
magic_link: {
|
|
56906
56896
|
url: string;
|
|
56907
|
-
building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces';
|
|
56897
|
+
building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces' | 'console';
|
|
56908
56898
|
customer_key: string;
|
|
56909
56899
|
expires_at: string;
|
|
56910
56900
|
workspace_id: string;
|
|
@@ -56920,9 +56910,9 @@ export interface Routes {
|
|
|
56920
56910
|
commonParams: {
|
|
56921
56911
|
/** Customer key for which you want to organize spaces. */
|
|
56922
56912
|
customer_key: string;
|
|
56923
|
-
/** Optional list of
|
|
56924
|
-
|
|
56925
|
-
|
|
56913
|
+
/** Optional list of spaces that you want to include in the new building block magic link. */
|
|
56914
|
+
spaces?: Array<{
|
|
56915
|
+
space_key: string;
|
|
56926
56916
|
name: string;
|
|
56927
56917
|
description?: string | undefined;
|
|
56928
56918
|
custom_metadata?: Record<string, string> | undefined;
|
|
@@ -56933,7 +56923,7 @@ export interface Routes {
|
|
|
56933
56923
|
/** */
|
|
56934
56924
|
magic_link: {
|
|
56935
56925
|
url: string;
|
|
56936
|
-
building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces';
|
|
56926
|
+
building_block_type: 'connect_accounts' | 'manage_devices' | 'organize_spaces' | 'console';
|
|
56937
56927
|
customer_key: string;
|
|
56938
56928
|
expires_at: string;
|
|
56939
56929
|
workspace_id: string;
|
package/package.json
CHANGED
|
@@ -42,3 +42,18 @@ export const typed_partner_resource = z.object({
|
|
|
42
42
|
`)
|
|
43
43
|
|
|
44
44
|
export type TypedPartnerResource = z.infer<typeof typed_partner_resource>
|
|
45
|
+
|
|
46
|
+
export const space_resource = z.object({
|
|
47
|
+
space_key: z.string(),
|
|
48
|
+
|
|
49
|
+
name: z.string(),
|
|
50
|
+
description: z.string().optional(),
|
|
51
|
+
custom_metadata: z.record(z.string(), z.string()).optional(),
|
|
52
|
+
}).describe(`
|
|
53
|
+
---
|
|
54
|
+
undocumented: Unreleased.
|
|
55
|
+
route_path: /unstable_partner/resources
|
|
56
|
+
---
|
|
57
|
+
`)
|
|
58
|
+
|
|
59
|
+
export type SpaceResource = z.infer<typeof space_resource>
|