@seamapi/types 1.556.0 → 1.558.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 +27 -5
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +67 -13
- package/dist/index.cjs +27 -5
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +30 -10
- package/lib/seam/connect/models/events/connected-accounts.d.ts +6 -6
- package/lib/seam/connect/models/events/connected-accounts.js +1 -1
- package/lib/seam/connect/models/events/connected-accounts.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +3 -3
- package/lib/seam/connect/models/workspaces/workspace.d.ts +6 -0
- package/lib/seam/connect/models/workspaces/workspace.js +7 -0
- package/lib/seam/connect/models/workspaces/workspace.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +16 -0
- package/lib/seam/connect/openapi.js +17 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +27 -5
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/connected-accounts.ts +1 -1
- package/src/lib/seam/connect/models/workspaces/workspace.ts +11 -0
- package/src/lib/seam/connect/openapi.ts +21 -1
- package/src/lib/seam/connect/route-types.ts +27 -5
|
@@ -20209,6 +20209,8 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
20209
20209
|
}>;
|
|
20210
20210
|
is_suspended: z.ZodBoolean;
|
|
20211
20211
|
connect_partner_name: z.ZodNullable<z.ZodNullable<z.ZodString>>;
|
|
20212
|
+
publishable_key: z.ZodOptional<z.ZodString>;
|
|
20213
|
+
is_publishable_key_auth_enabled: z.ZodBoolean;
|
|
20212
20214
|
}, "strip", z.ZodTypeAny, {
|
|
20213
20215
|
name: string;
|
|
20214
20216
|
workspace_id: string;
|
|
@@ -20223,6 +20225,8 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
20223
20225
|
inviter_logo_url?: string | undefined;
|
|
20224
20226
|
};
|
|
20225
20227
|
connect_partner_name: string | null;
|
|
20228
|
+
is_publishable_key_auth_enabled: boolean;
|
|
20229
|
+
publishable_key?: string | undefined;
|
|
20226
20230
|
}, {
|
|
20227
20231
|
name: string;
|
|
20228
20232
|
workspace_id: string;
|
|
@@ -20237,6 +20241,8 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
20237
20241
|
inviter_logo_url?: string | undefined;
|
|
20238
20242
|
};
|
|
20239
20243
|
connect_partner_name: string | null;
|
|
20244
|
+
is_publishable_key_auth_enabled: boolean;
|
|
20245
|
+
publishable_key?: string | undefined;
|
|
20240
20246
|
}>, "many">>;
|
|
20241
20247
|
spaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
20242
20248
|
space_id: z.ZodString;
|
|
@@ -36334,27 +36340,27 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
36334
36340
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
36335
36341
|
} & {
|
|
36336
36342
|
event_type: z.ZodLiteral<"connected_account.connected">;
|
|
36337
|
-
connect_webview_id: z.ZodString
|
|
36343
|
+
connect_webview_id: z.ZodOptional<z.ZodString>;
|
|
36338
36344
|
customer_key: z.ZodOptional<z.ZodString>;
|
|
36339
36345
|
}, "strip", z.ZodTypeAny, {
|
|
36340
36346
|
workspace_id: string;
|
|
36341
36347
|
created_at: string;
|
|
36342
36348
|
connected_account_id: string;
|
|
36343
|
-
connect_webview_id: string;
|
|
36344
36349
|
event_id: string;
|
|
36345
36350
|
occurred_at: string;
|
|
36346
36351
|
event_type: "connected_account.connected";
|
|
36347
36352
|
customer_key?: string | undefined;
|
|
36353
|
+
connect_webview_id?: string | undefined;
|
|
36348
36354
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
36349
36355
|
}, {
|
|
36350
36356
|
workspace_id: string;
|
|
36351
36357
|
created_at: string;
|
|
36352
36358
|
connected_account_id: string;
|
|
36353
|
-
connect_webview_id: string;
|
|
36354
36359
|
event_id: string;
|
|
36355
36360
|
occurred_at: string;
|
|
36356
36361
|
event_type: "connected_account.connected";
|
|
36357
36362
|
customer_key?: string | undefined;
|
|
36363
|
+
connect_webview_id?: string | undefined;
|
|
36358
36364
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
36359
36365
|
}>, z.ZodObject<{
|
|
36360
36366
|
event_id: z.ZodString;
|
|
@@ -42184,6 +42190,8 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
42184
42190
|
inviter_logo_url?: string | undefined;
|
|
42185
42191
|
};
|
|
42186
42192
|
connect_partner_name: string | null;
|
|
42193
|
+
is_publishable_key_auth_enabled: boolean;
|
|
42194
|
+
publishable_key?: string | undefined;
|
|
42187
42195
|
}[] | undefined;
|
|
42188
42196
|
acs_users?: {
|
|
42189
42197
|
display_name: string;
|
|
@@ -44073,11 +44081,11 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
44073
44081
|
workspace_id: string;
|
|
44074
44082
|
created_at: string;
|
|
44075
44083
|
connected_account_id: string;
|
|
44076
|
-
connect_webview_id: string;
|
|
44077
44084
|
event_id: string;
|
|
44078
44085
|
occurred_at: string;
|
|
44079
44086
|
event_type: "connected_account.connected";
|
|
44080
44087
|
customer_key?: string | undefined;
|
|
44088
|
+
connect_webview_id?: string | undefined;
|
|
44081
44089
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
44082
44090
|
} | {
|
|
44083
44091
|
workspace_id: string;
|
|
@@ -46158,6 +46166,8 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
46158
46166
|
inviter_logo_url?: string | undefined;
|
|
46159
46167
|
};
|
|
46160
46168
|
connect_partner_name: string | null;
|
|
46169
|
+
is_publishable_key_auth_enabled: boolean;
|
|
46170
|
+
publishable_key?: string | undefined;
|
|
46161
46171
|
}[] | undefined;
|
|
46162
46172
|
acs_users?: {
|
|
46163
46173
|
display_name: string;
|
|
@@ -48047,11 +48057,11 @@ export declare const workspaces_batch: z.ZodObject<{
|
|
|
48047
48057
|
workspace_id: string;
|
|
48048
48058
|
created_at: string;
|
|
48049
48059
|
connected_account_id: string;
|
|
48050
|
-
connect_webview_id: string;
|
|
48051
48060
|
event_id: string;
|
|
48052
48061
|
occurred_at: string;
|
|
48053
48062
|
event_type: "connected_account.connected";
|
|
48054
48063
|
customer_key?: string | undefined;
|
|
48064
|
+
connect_webview_id?: string | undefined;
|
|
48055
48065
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
48056
48066
|
} | {
|
|
48057
48067
|
workspace_id: string;
|
|
@@ -49277,6 +49287,8 @@ export declare const batch: z.ZodObject<{
|
|
|
49277
49287
|
}>;
|
|
49278
49288
|
is_suspended: z.ZodBoolean;
|
|
49279
49289
|
connect_partner_name: z.ZodNullable<z.ZodNullable<z.ZodString>>;
|
|
49290
|
+
publishable_key: z.ZodOptional<z.ZodString>;
|
|
49291
|
+
is_publishable_key_auth_enabled: z.ZodBoolean;
|
|
49280
49292
|
}, "strip", z.ZodTypeAny, {
|
|
49281
49293
|
name: string;
|
|
49282
49294
|
workspace_id: string;
|
|
@@ -49291,6 +49303,8 @@ export declare const batch: z.ZodObject<{
|
|
|
49291
49303
|
inviter_logo_url?: string | undefined;
|
|
49292
49304
|
};
|
|
49293
49305
|
connect_partner_name: string | null;
|
|
49306
|
+
is_publishable_key_auth_enabled: boolean;
|
|
49307
|
+
publishable_key?: string | undefined;
|
|
49294
49308
|
}, {
|
|
49295
49309
|
name: string;
|
|
49296
49310
|
workspace_id: string;
|
|
@@ -49305,6 +49319,8 @@ export declare const batch: z.ZodObject<{
|
|
|
49305
49319
|
inviter_logo_url?: string | undefined;
|
|
49306
49320
|
};
|
|
49307
49321
|
connect_partner_name: string | null;
|
|
49322
|
+
is_publishable_key_auth_enabled: boolean;
|
|
49323
|
+
publishable_key?: string | undefined;
|
|
49308
49324
|
}>, "many">>;
|
|
49309
49325
|
spaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
49310
49326
|
space_id: z.ZodString;
|
|
@@ -65020,27 +65036,27 @@ export declare const batch: z.ZodObject<{
|
|
|
65020
65036
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
65021
65037
|
} & {
|
|
65022
65038
|
event_type: z.ZodLiteral<"connected_account.connected">;
|
|
65023
|
-
connect_webview_id: z.ZodString
|
|
65039
|
+
connect_webview_id: z.ZodOptional<z.ZodString>;
|
|
65024
65040
|
customer_key: z.ZodOptional<z.ZodString>;
|
|
65025
65041
|
}, "strip", z.ZodTypeAny, {
|
|
65026
65042
|
workspace_id: string;
|
|
65027
65043
|
created_at: string;
|
|
65028
65044
|
connected_account_id: string;
|
|
65029
|
-
connect_webview_id: string;
|
|
65030
65045
|
event_id: string;
|
|
65031
65046
|
occurred_at: string;
|
|
65032
65047
|
event_type: "connected_account.connected";
|
|
65033
65048
|
customer_key?: string | undefined;
|
|
65049
|
+
connect_webview_id?: string | undefined;
|
|
65034
65050
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
65035
65051
|
}, {
|
|
65036
65052
|
workspace_id: string;
|
|
65037
65053
|
created_at: string;
|
|
65038
65054
|
connected_account_id: string;
|
|
65039
|
-
connect_webview_id: string;
|
|
65040
65055
|
event_id: string;
|
|
65041
65056
|
occurred_at: string;
|
|
65042
65057
|
event_type: "connected_account.connected";
|
|
65043
65058
|
customer_key?: string | undefined;
|
|
65059
|
+
connect_webview_id?: string | undefined;
|
|
65044
65060
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
65045
65061
|
}>, z.ZodObject<{
|
|
65046
65062
|
event_id: z.ZodString;
|
|
@@ -70799,6 +70815,8 @@ export declare const batch: z.ZodObject<{
|
|
|
70799
70815
|
inviter_logo_url?: string | undefined;
|
|
70800
70816
|
};
|
|
70801
70817
|
connect_partner_name: string | null;
|
|
70818
|
+
is_publishable_key_auth_enabled: boolean;
|
|
70819
|
+
publishable_key?: string | undefined;
|
|
70802
70820
|
}[] | undefined;
|
|
70803
70821
|
acs_users?: {
|
|
70804
70822
|
display_name: string;
|
|
@@ -72688,11 +72706,11 @@ export declare const batch: z.ZodObject<{
|
|
|
72688
72706
|
workspace_id: string;
|
|
72689
72707
|
created_at: string;
|
|
72690
72708
|
connected_account_id: string;
|
|
72691
|
-
connect_webview_id: string;
|
|
72692
72709
|
event_id: string;
|
|
72693
72710
|
occurred_at: string;
|
|
72694
72711
|
event_type: "connected_account.connected";
|
|
72695
72712
|
customer_key?: string | undefined;
|
|
72713
|
+
connect_webview_id?: string | undefined;
|
|
72696
72714
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
72697
72715
|
} | {
|
|
72698
72716
|
workspace_id: string;
|
|
@@ -74702,6 +74720,8 @@ export declare const batch: z.ZodObject<{
|
|
|
74702
74720
|
inviter_logo_url?: string | undefined;
|
|
74703
74721
|
};
|
|
74704
74722
|
connect_partner_name: string | null;
|
|
74723
|
+
is_publishable_key_auth_enabled: boolean;
|
|
74724
|
+
publishable_key?: string | undefined;
|
|
74705
74725
|
}[] | undefined;
|
|
74706
74726
|
acs_users?: {
|
|
74707
74727
|
display_name: string;
|
|
@@ -76591,11 +76611,11 @@ export declare const batch: z.ZodObject<{
|
|
|
76591
76611
|
workspace_id: string;
|
|
76592
76612
|
created_at: string;
|
|
76593
76613
|
connected_account_id: string;
|
|
76594
|
-
connect_webview_id: string;
|
|
76595
76614
|
event_id: string;
|
|
76596
76615
|
occurred_at: string;
|
|
76597
76616
|
event_type: "connected_account.connected";
|
|
76598
76617
|
customer_key?: string | undefined;
|
|
76618
|
+
connect_webview_id?: string | undefined;
|
|
76599
76619
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
76600
76620
|
} | {
|
|
76601
76621
|
workspace_id: string;
|
|
@@ -9,27 +9,27 @@ export declare const connected_account_connected_event: z.ZodObject<{
|
|
|
9
9
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
10
10
|
} & {
|
|
11
11
|
event_type: z.ZodLiteral<"connected_account.connected">;
|
|
12
|
-
connect_webview_id: z.ZodString
|
|
12
|
+
connect_webview_id: z.ZodOptional<z.ZodString>;
|
|
13
13
|
customer_key: z.ZodOptional<z.ZodString>;
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
15
|
workspace_id: string;
|
|
16
16
|
created_at: string;
|
|
17
17
|
connected_account_id: string;
|
|
18
|
-
connect_webview_id: string;
|
|
19
18
|
event_id: string;
|
|
20
19
|
occurred_at: string;
|
|
21
20
|
event_type: "connected_account.connected";
|
|
22
21
|
customer_key?: string | undefined;
|
|
22
|
+
connect_webview_id?: string | undefined;
|
|
23
23
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
24
24
|
}, {
|
|
25
25
|
workspace_id: string;
|
|
26
26
|
created_at: string;
|
|
27
27
|
connected_account_id: string;
|
|
28
|
-
connect_webview_id: string;
|
|
29
28
|
event_id: string;
|
|
30
29
|
occurred_at: string;
|
|
31
30
|
event_type: "connected_account.connected";
|
|
32
31
|
customer_key?: string | undefined;
|
|
32
|
+
connect_webview_id?: string | undefined;
|
|
33
33
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
34
34
|
}>;
|
|
35
35
|
export type ConnectedAccountConnectedEvent = z.infer<typeof connected_account_connected_event>;
|
|
@@ -219,27 +219,27 @@ export declare const connected_account_events: readonly [z.ZodObject<{
|
|
|
219
219
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
220
220
|
} & {
|
|
221
221
|
event_type: z.ZodLiteral<"connected_account.connected">;
|
|
222
|
-
connect_webview_id: z.ZodString
|
|
222
|
+
connect_webview_id: z.ZodOptional<z.ZodString>;
|
|
223
223
|
customer_key: z.ZodOptional<z.ZodString>;
|
|
224
224
|
}, "strip", z.ZodTypeAny, {
|
|
225
225
|
workspace_id: string;
|
|
226
226
|
created_at: string;
|
|
227
227
|
connected_account_id: string;
|
|
228
|
-
connect_webview_id: string;
|
|
229
228
|
event_id: string;
|
|
230
229
|
occurred_at: string;
|
|
231
230
|
event_type: "connected_account.connected";
|
|
232
231
|
customer_key?: string | undefined;
|
|
232
|
+
connect_webview_id?: string | undefined;
|
|
233
233
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
234
234
|
}, {
|
|
235
235
|
workspace_id: string;
|
|
236
236
|
created_at: string;
|
|
237
237
|
connected_account_id: string;
|
|
238
|
-
connect_webview_id: string;
|
|
239
238
|
event_id: string;
|
|
240
239
|
occurred_at: string;
|
|
241
240
|
event_type: "connected_account.connected";
|
|
242
241
|
customer_key?: string | undefined;
|
|
242
|
+
connect_webview_id?: string | undefined;
|
|
243
243
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
244
244
|
}>, z.ZodObject<{
|
|
245
245
|
event_id: z.ZodString;
|
|
@@ -16,7 +16,7 @@ const connect_webview_id = z
|
|
|
16
16
|
.describe('ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event.');
|
|
17
17
|
export const connected_account_connected_event = connected_account_event.extend({
|
|
18
18
|
event_type: z.literal('connected_account.connected'),
|
|
19
|
-
connect_webview_id,
|
|
19
|
+
connect_webview_id: connect_webview_id.optional(),
|
|
20
20
|
customer_key: z
|
|
21
21
|
.string()
|
|
22
22
|
.optional()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connected-accounts.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/connected-accounts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,uBAAuB,GAAG,YAAY,CAAC,MAAM,CAAC;IAClD,oBAAoB,EAAE,CAAC;SACpB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,uGAAuG,CACxG;IACH,iCAAiC,EAAE,eAAe;SAC/C,QAAQ,EAAE;SACV,QAAQ,CACP,0FAA0F,CAC3F;CACJ,CAAC,CAAA;AAEF,MAAM,kBAAkB,GAAG,CAAC;KACzB,MAAM,EAAE;KACR,IAAI,EAAE;KACN,QAAQ,CACP,oHAAoH,CACrH,CAAA;AAEH,MAAM,CAAC,MAAM,iCAAiC,GAAG,uBAAuB,CAAC,MAAM,CAC7E;IACE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,6BAA6B,CAAC;IACpD,kBAAkB;
|
|
1
|
+
{"version":3,"file":"connected-accounts.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/connected-accounts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,uBAAuB,GAAG,YAAY,CAAC,MAAM,CAAC;IAClD,oBAAoB,EAAE,CAAC;SACpB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,uGAAuG,CACxG;IACH,iCAAiC,EAAE,eAAe;SAC/C,QAAQ,EAAE;SACV,QAAQ,CACP,0FAA0F,CAC3F;CACJ,CAAC,CAAA;AAEF,MAAM,kBAAkB,GAAG,CAAC;KACzB,MAAM,EAAE;KACR,IAAI,EAAE;KACN,QAAQ,CACP,oHAAoH,CACrH,CAAA;AAEH,MAAM,CAAC,MAAM,iCAAiC,GAAG,uBAAuB,CAAC,MAAM,CAC7E;IACE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,6BAA6B,CAAC;IACpD,kBAAkB,EAAE,kBAAkB,CAAC,QAAQ,EAAE;IACjD,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,kEAAkE,CACnE;CACJ,CACF,CAAC,QAAQ,CAAC;;;;;CAKV,CAAC,CAAA;AAMF,MAAM,CAAC,MAAM,+BAA+B,GAAG,uBAAuB,CAAC,MAAM,CAAC;IAC5E,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,2BAA2B,CAAC;IAClD,kBAAkB;CACnB,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA;AAKF,kBAAkB;AAClB,MAAM,CAAC,MAAM,wCAAwC,GACnD,uBAAuB,CAAC,MAAM,CAAC;IAC7B,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,oCAAoC,CAAC;IAC3D,kBAAkB;CACnB,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMX,CAAC,CAAA;AAOJ,MAAM,CAAC,MAAM,oCAAoC,GAC/C,uBAAuB,CAAC,MAAM,CAAC;IAC7B,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,gCAAgC,CAAC;CACxD,CAAC,CAAC,QAAQ,CAAC;;;;;GAKX,CAAC,CAAA;AAMJ,MAAM,CAAC,MAAM,4CAA4C,GACvD,uBAAuB,CAAC,MAAM,CAAC;IAC7B,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,wCAAwC,CAAC;CAChE,CAAC,CAAC,QAAQ,CAAC;;;;;GAKX,CAAC,CAAA;AAMJ,MAAM,CAAC,MAAM,+BAA+B,GAAG,uBAAuB,CAAC,MAAM,CAAC;IAC5E,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,2BAA2B,CAAC;CACnD,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA;AAMF,MAAM,CAAC,MAAM,+DAA+D,GAC1E,uBAAuB,CAAC,MAAM,CAAC;IAC7B,UAAU,EAAE,CAAC,CAAC,OAAO,CACnB,2DAA2D,CAC5D;CACF,CAAC,CAAC,QAAQ,CAAC;;;;;GAKX,CAAC,CAAA;AAMJ,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,iCAAiC;IACjC,+BAA+B;IAC/B,wCAAwC;IACxC,oCAAoC;IACpC,4CAA4C;IAC5C,+BAA+B;IAC/B,+DAA+D;CACvD,CAAA"}
|
|
@@ -1356,27 +1356,27 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1356
1356
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1357
1357
|
} & {
|
|
1358
1358
|
event_type: z.ZodLiteral<"connected_account.connected">;
|
|
1359
|
-
connect_webview_id: z.ZodString
|
|
1359
|
+
connect_webview_id: z.ZodOptional<z.ZodString>;
|
|
1360
1360
|
customer_key: z.ZodOptional<z.ZodString>;
|
|
1361
1361
|
}, "strip", z.ZodTypeAny, {
|
|
1362
1362
|
workspace_id: string;
|
|
1363
1363
|
created_at: string;
|
|
1364
1364
|
connected_account_id: string;
|
|
1365
|
-
connect_webview_id: string;
|
|
1366
1365
|
event_id: string;
|
|
1367
1366
|
occurred_at: string;
|
|
1368
1367
|
event_type: "connected_account.connected";
|
|
1369
1368
|
customer_key?: string | undefined;
|
|
1369
|
+
connect_webview_id?: string | undefined;
|
|
1370
1370
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1371
1371
|
}, {
|
|
1372
1372
|
workspace_id: string;
|
|
1373
1373
|
created_at: string;
|
|
1374
1374
|
connected_account_id: string;
|
|
1375
|
-
connect_webview_id: string;
|
|
1376
1375
|
event_id: string;
|
|
1377
1376
|
occurred_at: string;
|
|
1378
1377
|
event_type: "connected_account.connected";
|
|
1379
1378
|
customer_key?: string | undefined;
|
|
1379
|
+
connect_webview_id?: string | undefined;
|
|
1380
1380
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1381
1381
|
}>, z.ZodObject<{
|
|
1382
1382
|
event_id: z.ZodString;
|
|
@@ -25,6 +25,8 @@ export declare const workspace: z.ZodObject<{
|
|
|
25
25
|
}>;
|
|
26
26
|
is_suspended: z.ZodBoolean;
|
|
27
27
|
connect_partner_name: z.ZodNullable<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
publishable_key: z.ZodOptional<z.ZodString>;
|
|
29
|
+
is_publishable_key_auth_enabled: z.ZodBoolean;
|
|
28
30
|
}, "strip", z.ZodTypeAny, {
|
|
29
31
|
name: string;
|
|
30
32
|
workspace_id: string;
|
|
@@ -39,6 +41,8 @@ export declare const workspace: z.ZodObject<{
|
|
|
39
41
|
inviter_logo_url?: string | undefined;
|
|
40
42
|
};
|
|
41
43
|
connect_partner_name: string | null;
|
|
44
|
+
is_publishable_key_auth_enabled: boolean;
|
|
45
|
+
publishable_key?: string | undefined;
|
|
42
46
|
}, {
|
|
43
47
|
name: string;
|
|
44
48
|
workspace_id: string;
|
|
@@ -53,5 +57,7 @@ export declare const workspace: z.ZodObject<{
|
|
|
53
57
|
inviter_logo_url?: string | undefined;
|
|
54
58
|
};
|
|
55
59
|
connect_partner_name: string | null;
|
|
60
|
+
is_publishable_key_auth_enabled: boolean;
|
|
61
|
+
publishable_key?: string | undefined;
|
|
56
62
|
}>;
|
|
57
63
|
export type Workspace = z.infer<typeof workspace>;
|
|
@@ -46,6 +46,13 @@ export const workspace = z.object({
|
|
|
46
46
|
---
|
|
47
47
|
`)
|
|
48
48
|
.nullable(),
|
|
49
|
+
publishable_key: z
|
|
50
|
+
.string()
|
|
51
|
+
.optional()
|
|
52
|
+
.describe('Publishable key for the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). This key is used to identify the workspace in client-side applications.'),
|
|
53
|
+
is_publishable_key_auth_enabled: z
|
|
54
|
+
.boolean()
|
|
55
|
+
.describe('Indicates whether publishable key authentication is enabled for this workspace.'),
|
|
49
56
|
}).describe(`
|
|
50
57
|
---
|
|
51
58
|
route_path: /workspaces
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/workspaces/workspace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,CAAC,MAAM,CAAC;IAChC,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,8EAA8E,CAC/E;IACH,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,CACP,gFAAgF,CACjF;IACH,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,QAAQ,CACP,qGAAqG,CACtG;IACH,UAAU,EAAE,CAAC;SACV,OAAO,EAAE;SACT,QAAQ,CACP,oIAAoI,CACrI;IACH,6BAA6B,EAAE,CAAC,CAAC,MAAM,CAAC;QACtC,oBAAoB,EAAE,cAAc;aACjC,QAAQ,EAAE;aACV,QAAQ,CACP,0UAA0U,CAC3U;QACH,yBAAyB,EAAE,cAAc;aACtC,QAAQ,EAAE;aACV,QAAQ,CACP,+UAA+U,CAChV;QACH,eAAe,EAAE,CAAC;aACf,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CACP,qUAAqU,CACtU;QACH,UAAU,EAAE,CAAC;aACV,IAAI,CAAC,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;aAC1B,QAAQ,EAAE;aACV,QAAQ,CACP,gUAAgU,CACjU;QACH,gBAAgB,EAAE,CAAC;aAChB,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CACP,6UAA6U,CAC9U;KACJ,CAAC;IACF,YAAY,EAAE,CAAC;SACZ,OAAO,EAAE;SACT,QAAQ,CACP,2MAA2M,CAC5M;IACH,oBAAoB,EAAE,CAAC;SACpB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP;;;;GAIH,CACE;SACA,QAAQ,EAAE;
|
|
1
|
+
{"version":3,"file":"workspace.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/workspaces/workspace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,CAAC,MAAM,CAAC;IAChC,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,8EAA8E,CAC/E;IACH,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,CACP,gFAAgF,CACjF;IACH,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,QAAQ,CACP,qGAAqG,CACtG;IACH,UAAU,EAAE,CAAC;SACV,OAAO,EAAE;SACT,QAAQ,CACP,oIAAoI,CACrI;IACH,6BAA6B,EAAE,CAAC,CAAC,MAAM,CAAC;QACtC,oBAAoB,EAAE,cAAc;aACjC,QAAQ,EAAE;aACV,QAAQ,CACP,0UAA0U,CAC3U;QACH,yBAAyB,EAAE,cAAc;aACtC,QAAQ,EAAE;aACV,QAAQ,CACP,+UAA+U,CAChV;QACH,eAAe,EAAE,CAAC;aACf,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CACP,qUAAqU,CACtU;QACH,UAAU,EAAE,CAAC;aACV,IAAI,CAAC,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;aAC1B,QAAQ,EAAE;aACV,QAAQ,CACP,gUAAgU,CACjU;QACH,gBAAgB,EAAE,CAAC;aAChB,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CACP,6UAA6U,CAC9U;KACJ,CAAC;IACF,YAAY,EAAE,CAAC;SACZ,OAAO,EAAE;SACT,QAAQ,CACP,2MAA2M,CAC5M;IACH,oBAAoB,EAAE,CAAC;SACpB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP;;;;GAIH,CACE;SACA,QAAQ,EAAE;IACb,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,oKAAoK,CACrK;IACH,+BAA+B,EAAE,CAAC;SAC/B,OAAO,EAAE;SACT,QAAQ,CACP,iFAAiF,CAClF;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA"}
|
|
@@ -14185,6 +14185,10 @@ declare const _default: {
|
|
|
14185
14185
|
};
|
|
14186
14186
|
type: string;
|
|
14187
14187
|
};
|
|
14188
|
+
is_publishable_key_auth_enabled: {
|
|
14189
|
+
description: string;
|
|
14190
|
+
type: string;
|
|
14191
|
+
};
|
|
14188
14192
|
is_sandbox: {
|
|
14189
14193
|
description: string;
|
|
14190
14194
|
type: string;
|
|
@@ -14197,6 +14201,10 @@ declare const _default: {
|
|
|
14197
14201
|
description: string;
|
|
14198
14202
|
type: string;
|
|
14199
14203
|
};
|
|
14204
|
+
publishable_key: {
|
|
14205
|
+
description: string;
|
|
14206
|
+
type: string;
|
|
14207
|
+
};
|
|
14200
14208
|
workspace_id: {
|
|
14201
14209
|
description: string;
|
|
14202
14210
|
format: string;
|
|
@@ -52000,6 +52008,10 @@ declare const _default: {
|
|
|
52000
52008
|
};
|
|
52001
52009
|
type: string;
|
|
52002
52010
|
};
|
|
52011
|
+
is_publishable_key_auth_enabled: {
|
|
52012
|
+
description: string;
|
|
52013
|
+
type: string;
|
|
52014
|
+
};
|
|
52003
52015
|
is_suspended: {
|
|
52004
52016
|
description: string;
|
|
52005
52017
|
type: string;
|
|
@@ -52084,6 +52096,10 @@ declare const _default: {
|
|
|
52084
52096
|
};
|
|
52085
52097
|
type: string;
|
|
52086
52098
|
};
|
|
52099
|
+
is_publishable_key_auth_enabled: {
|
|
52100
|
+
description: string;
|
|
52101
|
+
type: string;
|
|
52102
|
+
};
|
|
52087
52103
|
is_suspended: {
|
|
52088
52104
|
description: string;
|
|
52089
52105
|
type: string;
|
|
@@ -14318,7 +14318,6 @@ export default {
|
|
|
14318
14318
|
'occurred_at',
|
|
14319
14319
|
'connected_account_id',
|
|
14320
14320
|
'event_type',
|
|
14321
|
-
'connect_webview_id',
|
|
14322
14321
|
],
|
|
14323
14322
|
type: 'object',
|
|
14324
14323
|
'x-route-path': '/connected_accounts',
|
|
@@ -22934,6 +22933,10 @@ export default {
|
|
|
22934
22933
|
},
|
|
22935
22934
|
type: 'object',
|
|
22936
22935
|
},
|
|
22936
|
+
is_publishable_key_auth_enabled: {
|
|
22937
|
+
description: 'Indicates whether publishable key authentication is enabled for this workspace.',
|
|
22938
|
+
type: 'boolean',
|
|
22939
|
+
},
|
|
22937
22940
|
is_sandbox: {
|
|
22938
22941
|
description: 'Indicates whether the workspace is a [sandbox workspace](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces).',
|
|
22939
22942
|
type: 'boolean',
|
|
@@ -22946,6 +22949,10 @@ export default {
|
|
|
22946
22949
|
description: 'Name of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces).',
|
|
22947
22950
|
type: 'string',
|
|
22948
22951
|
},
|
|
22952
|
+
publishable_key: {
|
|
22953
|
+
description: 'Publishable key for the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). This key is used to identify the workspace in client-side applications.',
|
|
22954
|
+
type: 'string',
|
|
22955
|
+
},
|
|
22949
22956
|
workspace_id: {
|
|
22950
22957
|
description: 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces).',
|
|
22951
22958
|
format: 'uuid',
|
|
@@ -22960,6 +22967,7 @@ export default {
|
|
|
22960
22967
|
'connect_webview_customization',
|
|
22961
22968
|
'is_suspended',
|
|
22962
22969
|
'connect_partner_name',
|
|
22970
|
+
'is_publishable_key_auth_enabled',
|
|
22963
22971
|
],
|
|
22964
22972
|
type: 'object',
|
|
22965
22973
|
'x-route-path': '/workspaces',
|
|
@@ -54976,6 +54984,10 @@ export default {
|
|
|
54976
54984
|
},
|
|
54977
54985
|
type: 'object',
|
|
54978
54986
|
},
|
|
54987
|
+
is_publishable_key_auth_enabled: {
|
|
54988
|
+
description: 'Indicates whether publishable key authentication is enabled for this workspace.',
|
|
54989
|
+
type: 'boolean',
|
|
54990
|
+
},
|
|
54979
54991
|
is_suspended: {
|
|
54980
54992
|
description: 'Indicates whether the workspace is suspended.',
|
|
54981
54993
|
type: 'boolean',
|
|
@@ -55046,6 +55058,10 @@ export default {
|
|
|
55046
55058
|
},
|
|
55047
55059
|
type: 'object',
|
|
55048
55060
|
},
|
|
55061
|
+
is_publishable_key_auth_enabled: {
|
|
55062
|
+
description: 'Indicates whether publishable key authentication is enabled for this workspace.',
|
|
55063
|
+
type: 'boolean',
|
|
55064
|
+
},
|
|
55049
55065
|
is_suspended: {
|
|
55050
55066
|
description: 'Indicates whether the workspace is suspended.',
|
|
55051
55067
|
type: 'boolean',
|