@seamapi/types 1.557.0 → 1.559.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.
@@ -19,26 +19,6 @@ export declare const account_disconnected: z.ZodObject<{
19
19
  is_connected_account_error?: boolean | undefined;
20
20
  is_bridge_error?: boolean | undefined;
21
21
  }>;
22
- export declare const invalid_credentials: z.ZodObject<{
23
- created_at: z.ZodString;
24
- message: z.ZodString;
25
- is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
26
- is_bridge_error: z.ZodOptional<z.ZodBoolean>;
27
- } & {
28
- error_code: z.ZodLiteral<"invalid_credentials">;
29
- }, "strip", z.ZodTypeAny, {
30
- message: string;
31
- created_at: string;
32
- error_code: "invalid_credentials";
33
- is_connected_account_error?: boolean | undefined;
34
- is_bridge_error?: boolean | undefined;
35
- }, {
36
- message: string;
37
- created_at: string;
38
- error_code: "invalid_credentials";
39
- is_connected_account_error?: boolean | undefined;
40
- is_bridge_error?: boolean | undefined;
41
- }>;
42
22
  export declare const bridge_disconnected: z.ZodObject<{
43
23
  created_at: z.ZodString;
44
24
  message: z.ZodString;
@@ -151,25 +131,6 @@ export declare const connected_account_error: z.ZodDiscriminatedUnion<"error_cod
151
131
  message: z.ZodString;
152
132
  is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
153
133
  is_bridge_error: z.ZodOptional<z.ZodBoolean>;
154
- } & {
155
- error_code: z.ZodLiteral<"invalid_credentials">;
156
- }, "strip", z.ZodTypeAny, {
157
- message: string;
158
- created_at: string;
159
- error_code: "invalid_credentials";
160
- is_connected_account_error?: boolean | undefined;
161
- is_bridge_error?: boolean | undefined;
162
- }, {
163
- message: string;
164
- created_at: string;
165
- error_code: "invalid_credentials";
166
- is_connected_account_error?: boolean | undefined;
167
- is_bridge_error?: boolean | undefined;
168
- }>, z.ZodObject<{
169
- created_at: z.ZodString;
170
- message: z.ZodString;
171
- is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
172
- is_bridge_error: z.ZodOptional<z.ZodBoolean>;
173
134
  } & {
174
135
  error_code: z.ZodLiteral<"bridge_disconnected">;
175
136
  }, "strip", z.ZodTypeAny, {
@@ -275,26 +236,6 @@ declare const _connected_account_error_map: z.ZodObject<{
275
236
  is_connected_account_error?: boolean | undefined;
276
237
  is_bridge_error?: boolean | undefined;
277
238
  }>>>;
278
- invalid_credentials: z.ZodOptional<z.ZodNullable<z.ZodObject<{
279
- created_at: z.ZodString;
280
- message: z.ZodString;
281
- is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
282
- is_bridge_error: z.ZodOptional<z.ZodBoolean>;
283
- } & {
284
- error_code: z.ZodLiteral<"invalid_credentials">;
285
- }, "strip", z.ZodTypeAny, {
286
- message: string;
287
- created_at: string;
288
- error_code: "invalid_credentials";
289
- is_connected_account_error?: boolean | undefined;
290
- is_bridge_error?: boolean | undefined;
291
- }, {
292
- message: string;
293
- created_at: string;
294
- error_code: "invalid_credentials";
295
- is_connected_account_error?: boolean | undefined;
296
- is_bridge_error?: boolean | undefined;
297
- }>>>;
298
239
  bridge_disconnected: z.ZodOptional<z.ZodNullable<z.ZodObject<{
299
240
  created_at: z.ZodString;
300
241
  message: z.ZodString;
@@ -391,13 +332,6 @@ declare const _connected_account_error_map: z.ZodObject<{
391
332
  is_connected_account_error?: boolean | undefined;
392
333
  is_bridge_error?: boolean | undefined;
393
334
  } | null | undefined;
394
- invalid_credentials?: {
395
- message: string;
396
- created_at: string;
397
- error_code: "invalid_credentials";
398
- is_connected_account_error?: boolean | undefined;
399
- is_bridge_error?: boolean | undefined;
400
- } | null | undefined;
401
335
  bridge_disconnected?: {
402
336
  message: string;
403
337
  created_at: string;
@@ -428,13 +362,6 @@ declare const _connected_account_error_map: z.ZodObject<{
428
362
  is_connected_account_error?: boolean | undefined;
429
363
  is_bridge_error?: boolean | undefined;
430
364
  } | null | undefined;
431
- invalid_credentials?: {
432
- message: string;
433
- created_at: string;
434
- error_code: "invalid_credentials";
435
- is_connected_account_error?: boolean | undefined;
436
- is_bridge_error?: boolean | undefined;
437
- } | null | undefined;
438
365
  bridge_disconnected?: {
439
366
  message: string;
440
367
  created_at: string;
@@ -750,25 +677,6 @@ export declare const connected_account: z.ZodObject<{
750
677
  message: z.ZodString;
751
678
  is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
752
679
  is_bridge_error: z.ZodOptional<z.ZodBoolean>;
753
- } & {
754
- error_code: z.ZodLiteral<"invalid_credentials">;
755
- }, "strip", z.ZodTypeAny, {
756
- message: string;
757
- created_at: string;
758
- error_code: "invalid_credentials";
759
- is_connected_account_error?: boolean | undefined;
760
- is_bridge_error?: boolean | undefined;
761
- }, {
762
- message: string;
763
- created_at: string;
764
- error_code: "invalid_credentials";
765
- is_connected_account_error?: boolean | undefined;
766
- is_bridge_error?: boolean | undefined;
767
- }>, z.ZodObject<{
768
- created_at: z.ZodString;
769
- message: z.ZodString;
770
- is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
771
- is_bridge_error: z.ZodOptional<z.ZodBoolean>;
772
680
  } & {
773
681
  error_code: z.ZodLiteral<"bridge_disconnected">;
774
682
  }, "strip", z.ZodTypeAny, {
@@ -950,12 +858,6 @@ export declare const connected_account: z.ZodObject<{
950
858
  error_code: "account_disconnected";
951
859
  is_connected_account_error?: boolean | undefined;
952
860
  is_bridge_error?: boolean | undefined;
953
- } | {
954
- message: string;
955
- created_at: string;
956
- error_code: "invalid_credentials";
957
- is_connected_account_error?: boolean | undefined;
958
- is_bridge_error?: boolean | undefined;
959
861
  } | {
960
862
  message: string;
961
863
  created_at: string;
@@ -1020,12 +922,6 @@ export declare const connected_account: z.ZodObject<{
1020
922
  error_code: "account_disconnected";
1021
923
  is_connected_account_error?: boolean | undefined;
1022
924
  is_bridge_error?: boolean | undefined;
1023
- } | {
1024
- message: string;
1025
- created_at: string;
1026
- error_code: "invalid_credentials";
1027
- is_connected_account_error?: boolean | undefined;
1028
- is_bridge_error?: boolean | undefined;
1029
925
  } | {
1030
926
  message: string;
1031
927
  created_at: string;
@@ -36,13 +36,6 @@ export const account_disconnected = common_connected_account_error
36
36
  .describe(error_code_description),
37
37
  })
38
38
  .describe('Indicates that the account is disconnected.');
39
- export const invalid_credentials = common_connected_account_error
40
- .extend({
41
- error_code: z
42
- .literal('invalid_credentials')
43
- .describe(error_code_description),
44
- })
45
- .describe('Indicates that the credentials provided were invalid.');
46
39
  export const bridge_disconnected = common_connected_account_error
47
40
  .extend({
48
41
  error_code: z
@@ -85,13 +78,11 @@ export const salto_ks_subscription_limit_exceeded = common_connected_account_err
85
78
  .describe('Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit.');
86
79
  export const connected_account_error = z.discriminatedUnion('error_code', [
87
80
  account_disconnected,
88
- invalid_credentials,
89
81
  bridge_disconnected,
90
82
  salto_ks_subscription_limit_exceeded,
91
83
  ]);
92
84
  const _connected_account_error_map = z.object({
93
85
  account_disconnected: account_disconnected.nullable().optional(),
94
- invalid_credentials: invalid_credentials.nullable().optional(),
95
86
  bridge_disconnected: bridge_disconnected.nullable().optional(),
96
87
  salto_ks_subscription_limit_exceeded: salto_ks_subscription_limit_exceeded
97
88
  .nullable()
@@ -1 +1 @@
1
- {"version":3,"file":"connected-account.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/connected-accounts/connected-account.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAA;AAE/D,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,gDAAgD,CAAC;IAC7D,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;IACH,0BAA0B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AAwD,CAAC;IACrE,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,4BAA4B,CAAC;IAC1E,yBAAyB,EAAE,CAAC;SACzB,MAAM,EAAE;SACR,QAAQ,CAAC,8CAA8C,CAAC;IAC3D,MAAM,EAAE,CAAC;SACN,KAAK,CAAC,uBAAuB,CAAC;SAC9B,QAAQ,CAAC,+CAA+C,CAAC;IAC5D,QAAQ,EAAE,CAAC;SACR,KAAK,CAAC,yBAAyB,CAAC;SAChC,QAAQ,CAAC,iDAAiD,CAAC;IAC9D,eAAe;IACf,gCAAgC,EAAE,CAAC;SAChC,OAAO,EAAE;SACT,QAAQ,CACP,4QAA4Q,CAC7Q;IACH,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,0EAA0E,CAC3E;IACH,qBAAqB,EAAE,CAAC;SACrB,KAAK,CAAC,mBAAmB,CAAC;SAC1B,QAAQ,CACP,gFAAgF,CACjF;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA"}
1
+ {"version":3,"file":"connected-account.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/connected-accounts/connected-account.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAA;AAE/D,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,gDAAgD,CAAC;IAC7D,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;IACH,0BAA0B,EAAE,CAAC;SAC1B,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,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,CAAC,iDAAiD,CAAC;IAC9D,eAAe;IACf,gCAAgC,EAAE,CAAC;SAChC,OAAO,EAAE;SACT,QAAQ,CACP,4QAA4Q,CAC7Q;IACH,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,0EAA0E,CAC3E;IACH,qBAAqB,EAAE,CAAC;SACrB,KAAK,CAAC,mBAAmB,CAAC;SAC1B,QAAQ,CACP,gFAAgF,CACjF;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA"}
@@ -1543,25 +1543,6 @@ export declare const device_and_connected_account_error_options: (z.ZodObject<{
1543
1543
  message: z.ZodString;
1544
1544
  is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
1545
1545
  is_bridge_error: z.ZodOptional<z.ZodBoolean>;
1546
- } & {
1547
- error_code: z.ZodLiteral<"invalid_credentials">;
1548
- }, "strip", z.ZodTypeAny, {
1549
- message: string;
1550
- created_at: string;
1551
- error_code: "invalid_credentials";
1552
- is_connected_account_error?: boolean | undefined;
1553
- is_bridge_error?: boolean | undefined;
1554
- }, {
1555
- message: string;
1556
- created_at: string;
1557
- error_code: "invalid_credentials";
1558
- is_connected_account_error?: boolean | undefined;
1559
- is_bridge_error?: boolean | undefined;
1560
- }> | z.ZodObject<{
1561
- created_at: z.ZodString;
1562
- message: z.ZodString;
1563
- is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
1564
- is_bridge_error: z.ZodOptional<z.ZodBoolean>;
1565
1546
  } & {
1566
1547
  error_code: z.ZodLiteral<"bridge_disconnected">;
1567
1548
  }, "strip", z.ZodTypeAny, {
@@ -4380,25 +4361,6 @@ export declare const device: z.ZodObject<{
4380
4361
  message: z.ZodString;
4381
4362
  is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
4382
4363
  is_bridge_error: z.ZodOptional<z.ZodBoolean>;
4383
- } & {
4384
- error_code: z.ZodLiteral<"invalid_credentials">;
4385
- }, "strip", z.ZodTypeAny, {
4386
- message: string;
4387
- created_at: string;
4388
- error_code: "invalid_credentials";
4389
- is_connected_account_error?: boolean | undefined;
4390
- is_bridge_error?: boolean | undefined;
4391
- }, {
4392
- message: string;
4393
- created_at: string;
4394
- error_code: "invalid_credentials";
4395
- is_connected_account_error?: boolean | undefined;
4396
- is_bridge_error?: boolean | undefined;
4397
- }> | z.ZodObject<{
4398
- created_at: z.ZodString;
4399
- message: z.ZodString;
4400
- is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
4401
- is_bridge_error: z.ZodOptional<z.ZodBoolean>;
4402
4364
  } & {
4403
4365
  error_code: z.ZodLiteral<"bridge_disconnected">;
4404
4366
  }, "strip", z.ZodTypeAny, {
@@ -4734,12 +4696,6 @@ export declare const device: z.ZodObject<{
4734
4696
  error_code: "account_disconnected";
4735
4697
  is_connected_account_error?: boolean | undefined;
4736
4698
  is_bridge_error?: boolean | undefined;
4737
- } | {
4738
- message: string;
4739
- created_at: string;
4740
- error_code: "invalid_credentials";
4741
- is_connected_account_error?: boolean | undefined;
4742
- is_bridge_error?: boolean | undefined;
4743
4699
  } | {
4744
4700
  message: string;
4745
4701
  created_at: string;
@@ -5394,12 +5350,6 @@ export declare const device: z.ZodObject<{
5394
5350
  error_code: "account_disconnected";
5395
5351
  is_connected_account_error?: boolean | undefined;
5396
5352
  is_bridge_error?: boolean | undefined;
5397
- } | {
5398
- message: string;
5399
- created_at: string;
5400
- error_code: "invalid_credentials";
5401
- is_connected_account_error?: boolean | undefined;
5402
- is_bridge_error?: boolean | undefined;
5403
5353
  } | {
5404
5354
  message: string;
5405
5355
  created_at: string;
@@ -2505,25 +2505,6 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
2505
2505
  message: z.ZodString;
2506
2506
  is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
2507
2507
  is_bridge_error: z.ZodOptional<z.ZodBoolean>;
2508
- } & {
2509
- error_code: z.ZodLiteral<"invalid_credentials">;
2510
- }, "strip", z.ZodTypeAny, {
2511
- message: string;
2512
- created_at: string;
2513
- error_code: "invalid_credentials";
2514
- is_connected_account_error?: boolean | undefined;
2515
- is_bridge_error?: boolean | undefined;
2516
- }, {
2517
- message: string;
2518
- created_at: string;
2519
- error_code: "invalid_credentials";
2520
- is_connected_account_error?: boolean | undefined;
2521
- is_bridge_error?: boolean | undefined;
2522
- }> | z.ZodObject<{
2523
- created_at: z.ZodString;
2524
- message: z.ZodString;
2525
- is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
2526
- is_bridge_error: z.ZodOptional<z.ZodBoolean>;
2527
2508
  } & {
2528
2509
  error_code: z.ZodLiteral<"bridge_disconnected">;
2529
2510
  }, "strip", z.ZodTypeAny, {
@@ -3011,12 +2992,6 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
3011
2992
  error_code: "account_disconnected";
3012
2993
  is_connected_account_error?: boolean | undefined;
3013
2994
  is_bridge_error?: boolean | undefined;
3014
- } | {
3015
- message: string;
3016
- created_at: string;
3017
- error_code: "invalid_credentials";
3018
- is_connected_account_error?: boolean | undefined;
3019
- is_bridge_error?: boolean | undefined;
3020
2995
  } | {
3021
2996
  message: string;
3022
2997
  created_at: string;
@@ -3243,12 +3218,6 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
3243
3218
  error_code: "account_disconnected";
3244
3219
  is_connected_account_error?: boolean | undefined;
3245
3220
  is_bridge_error?: boolean | undefined;
3246
- } | {
3247
- message: string;
3248
- created_at: string;
3249
- error_code: "invalid_credentials";
3250
- is_connected_account_error?: boolean | undefined;
3251
- is_bridge_error?: boolean | undefined;
3252
3221
  } | {
3253
3222
  message: string;
3254
3223
  created_at: 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;IAClB,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,kEAAkE,CACnE;CACJ,CACF,CAAC,QAAQ,CAAC;;;;;C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C,4CAA4C;IAC5C,+BAA+B;IAC/B,+DAA+D;CACvD,CAAA"}
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;
@@ -1145,35 +1145,6 @@ export default {
1145
1145
  ],
1146
1146
  type: 'object',
1147
1147
  },
1148
- {
1149
- description: 'Indicates that the credentials provided were invalid.',
1150
- properties: {
1151
- created_at: {
1152
- description: 'Date and time at which Seam created the error.',
1153
- format: 'date-time',
1154
- type: 'string',
1155
- },
1156
- error_code: {
1157
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
1158
- enum: ['invalid_credentials'],
1159
- type: 'string',
1160
- },
1161
- is_bridge_error: {
1162
- description: 'Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge).',
1163
- type: 'boolean',
1164
- },
1165
- is_connected_account_error: {
1166
- description: 'Indicates whether the error is related specifically to the connected account.',
1167
- type: 'boolean',
1168
- },
1169
- message: {
1170
- description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
1171
- type: 'string',
1172
- },
1173
- },
1174
- required: ['created_at', 'message', 'error_code'],
1175
- type: 'object',
1176
- },
1177
1148
  {
1178
1149
  description: 'Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge), for example, if the Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline. See also [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).',
1179
1150
  properties: {
@@ -7952,35 +7923,6 @@ export default {
7952
7923
  required: ['created_at', 'message', 'error_code'],
7953
7924
  type: 'object',
7954
7925
  },
7955
- {
7956
- description: 'Indicates that the credentials provided were invalid.',
7957
- properties: {
7958
- created_at: {
7959
- description: 'Date and time at which Seam created the error.',
7960
- format: 'date-time',
7961
- type: 'string',
7962
- },
7963
- error_code: {
7964
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
7965
- enum: ['invalid_credentials'],
7966
- type: 'string',
7967
- },
7968
- is_bridge_error: {
7969
- description: 'Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge).',
7970
- type: 'boolean',
7971
- },
7972
- is_connected_account_error: {
7973
- description: 'Indicates whether the error is related specifically to the connected account.',
7974
- type: 'boolean',
7975
- },
7976
- message: {
7977
- description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
7978
- type: 'string',
7979
- },
7980
- },
7981
- required: ['created_at', 'message', 'error_code'],
7982
- type: 'object',
7983
- },
7984
7926
  {
7985
7927
  description: 'Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge), for example, if the Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline. See also [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).',
7986
7928
  properties: {
@@ -8851,35 +8793,6 @@ export default {
8851
8793
  ],
8852
8794
  type: 'object',
8853
8795
  },
8854
- {
8855
- description: 'Indicates that the credentials provided were invalid.',
8856
- properties: {
8857
- created_at: {
8858
- description: 'Date and time at which Seam created the error.',
8859
- format: 'date-time',
8860
- type: 'string',
8861
- },
8862
- error_code: {
8863
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
8864
- enum: ['invalid_credentials'],
8865
- type: 'string',
8866
- },
8867
- is_bridge_error: {
8868
- description: 'Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge).',
8869
- type: 'boolean',
8870
- },
8871
- is_connected_account_error: {
8872
- description: 'Indicates whether the error is related specifically to the connected account.',
8873
- type: 'boolean',
8874
- },
8875
- message: {
8876
- description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8877
- type: 'string',
8878
- },
8879
- },
8880
- required: ['created_at', 'message', 'error_code'],
8881
- type: 'object',
8882
- },
8883
8796
  {
8884
8797
  description: 'Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge), for example, if the Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline. See also [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).',
8885
8798
  properties: {
@@ -14318,7 +14231,6 @@ export default {
14318
14231
  'occurred_at',
14319
14232
  'connected_account_id',
14320
14233
  'event_type',
14321
- 'connect_webview_id',
14322
14234
  ],
14323
14235
  type: 'object',
14324
14236
  'x-route-path': '/connected_accounts',
@@ -19990,35 +19902,6 @@ export default {
19990
19902
  ],
19991
19903
  type: 'object',
19992
19904
  },
19993
- {
19994
- description: 'Indicates that the credentials provided were invalid.',
19995
- properties: {
19996
- created_at: {
19997
- description: 'Date and time at which Seam created the error.',
19998
- format: 'date-time',
19999
- type: 'string',
20000
- },
20001
- error_code: {
20002
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
20003
- enum: ['invalid_credentials'],
20004
- type: 'string',
20005
- },
20006
- is_bridge_error: {
20007
- description: 'Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge).',
20008
- type: 'boolean',
20009
- },
20010
- is_connected_account_error: {
20011
- description: 'Indicates whether the error is related specifically to the connected account.',
20012
- type: 'boolean',
20013
- },
20014
- message: {
20015
- description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
20016
- type: 'string',
20017
- },
20018
- },
20019
- required: ['created_at', 'message', 'error_code'],
20020
- type: 'object',
20021
- },
20022
19905
  {
20023
19906
  description: 'Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge), for example, if the Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline. See also [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).',
20024
19907
  properties: {
@@ -22062,35 +21945,6 @@ export default {
22062
21945
  ],
22063
21946
  type: 'object',
22064
21947
  },
22065
- {
22066
- description: 'Indicates that the credentials provided were invalid.',
22067
- properties: {
22068
- created_at: {
22069
- description: 'Date and time at which Seam created the error.',
22070
- format: 'date-time',
22071
- type: 'string',
22072
- },
22073
- error_code: {
22074
- description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
22075
- enum: ['invalid_credentials'],
22076
- type: 'string',
22077
- },
22078
- is_bridge_error: {
22079
- description: 'Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge).',
22080
- type: 'boolean',
22081
- },
22082
- is_connected_account_error: {
22083
- description: 'Indicates whether the error is related specifically to the connected account.',
22084
- type: 'boolean',
22085
- },
22086
- message: {
22087
- description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
22088
- type: 'string',
22089
- },
22090
- },
22091
- required: ['created_at', 'message', 'error_code'],
22092
- type: 'object',
22093
- },
22094
21948
  {
22095
21949
  description: 'Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge), for example, if the Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline. See also [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).',
22096
21950
  properties: {