@seamapi/types 1.540.0 → 1.541.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.
@@ -25746,6 +25746,7 @@ declare const batch: z.ZodObject<{
25746
25746
  } & {
25747
25747
  event_type: z.ZodLiteral<"connected_account.connected">;
25748
25748
  connect_webview_id: z.ZodString;
25749
+ customer_key: z.ZodOptional<z.ZodString>;
25749
25750
  }, "strip", z.ZodTypeAny, {
25750
25751
  workspace_id: string;
25751
25752
  created_at: string;
@@ -25754,6 +25755,7 @@ declare const batch: z.ZodObject<{
25754
25755
  event_id: string;
25755
25756
  occurred_at: string;
25756
25757
  event_type: "connected_account.connected";
25758
+ customer_key?: string | undefined;
25757
25759
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
25758
25760
  }, {
25759
25761
  workspace_id: string;
@@ -25763,6 +25765,7 @@ declare const batch: z.ZodObject<{
25763
25765
  event_id: string;
25764
25766
  occurred_at: string;
25765
25767
  event_type: "connected_account.connected";
25768
+ customer_key?: string | undefined;
25766
25769
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
25767
25770
  }>, z.ZodObject<{
25768
25771
  event_id: z.ZodString;
@@ -26053,6 +26056,7 @@ declare const batch: z.ZodObject<{
26053
26056
  event_type: z.ZodLiteral<"connect_webview.login_succeeded">;
26054
26057
  connected_account_id: z.ZodString;
26055
26058
  connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
26059
+ customer_key: z.ZodOptional<z.ZodString>;
26056
26060
  }, "strip", z.ZodTypeAny, {
26057
26061
  workspace_id: string;
26058
26062
  created_at: string;
@@ -26061,6 +26065,7 @@ declare const batch: z.ZodObject<{
26061
26065
  event_id: string;
26062
26066
  occurred_at: string;
26063
26067
  event_type: "connect_webview.login_succeeded";
26068
+ customer_key?: string | undefined;
26064
26069
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
26065
26070
  }, {
26066
26071
  workspace_id: string;
@@ -26070,6 +26075,7 @@ declare const batch: z.ZodObject<{
26070
26075
  event_id: string;
26071
26076
  occurred_at: string;
26072
26077
  event_type: "connect_webview.login_succeeded";
26078
+ customer_key?: string | undefined;
26073
26079
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
26074
26080
  }>, z.ZodObject<{
26075
26081
  event_id: z.ZodString;
@@ -33350,6 +33356,7 @@ declare const batch: z.ZodObject<{
33350
33356
  event_id: string;
33351
33357
  occurred_at: string;
33352
33358
  event_type: "connect_webview.login_succeeded";
33359
+ customer_key?: string | undefined;
33353
33360
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
33354
33361
  } | {
33355
33362
  workspace_id: string;
@@ -33366,6 +33373,7 @@ declare const batch: z.ZodObject<{
33366
33373
  event_id: string;
33367
33374
  occurred_at: string;
33368
33375
  event_type: "connected_account.connected";
33376
+ customer_key?: string | undefined;
33369
33377
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
33370
33378
  } | {
33371
33379
  workspace_id: string;
@@ -37207,6 +37215,7 @@ declare const batch: z.ZodObject<{
37207
37215
  event_id: string;
37208
37216
  occurred_at: string;
37209
37217
  event_type: "connect_webview.login_succeeded";
37218
+ customer_key?: string | undefined;
37210
37219
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
37211
37220
  } | {
37212
37221
  workspace_id: string;
@@ -37223,6 +37232,7 @@ declare const batch: z.ZodObject<{
37223
37232
  event_id: string;
37224
37233
  occurred_at: string;
37225
37234
  event_type: "connected_account.connected";
37235
+ customer_key?: string | undefined;
37226
37236
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
37227
37237
  } | {
37228
37238
  workspace_id: string;
@@ -48489,6 +48499,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
48489
48499
  } & {
48490
48500
  event_type: z.ZodLiteral<"connected_account.connected">;
48491
48501
  connect_webview_id: z.ZodString;
48502
+ customer_key: z.ZodOptional<z.ZodString>;
48492
48503
  }, "strip", z.ZodTypeAny, {
48493
48504
  workspace_id: string;
48494
48505
  created_at: string;
@@ -48497,6 +48508,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
48497
48508
  event_id: string;
48498
48509
  occurred_at: string;
48499
48510
  event_type: "connected_account.connected";
48511
+ customer_key?: string | undefined;
48500
48512
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
48501
48513
  }, {
48502
48514
  workspace_id: string;
@@ -48506,6 +48518,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
48506
48518
  event_id: string;
48507
48519
  occurred_at: string;
48508
48520
  event_type: "connected_account.connected";
48521
+ customer_key?: string | undefined;
48509
48522
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
48510
48523
  }>, z.ZodObject<{
48511
48524
  event_id: z.ZodString;
@@ -48796,6 +48809,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
48796
48809
  event_type: z.ZodLiteral<"connect_webview.login_succeeded">;
48797
48810
  connected_account_id: z.ZodString;
48798
48811
  connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
48812
+ customer_key: z.ZodOptional<z.ZodString>;
48799
48813
  }, "strip", z.ZodTypeAny, {
48800
48814
  workspace_id: string;
48801
48815
  created_at: string;
@@ -48804,6 +48818,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
48804
48818
  event_id: string;
48805
48819
  occurred_at: string;
48806
48820
  event_type: "connect_webview.login_succeeded";
48821
+ customer_key?: string | undefined;
48807
48822
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
48808
48823
  }, {
48809
48824
  workspace_id: string;
@@ -48813,6 +48828,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
48813
48828
  event_id: string;
48814
48829
  occurred_at: string;
48815
48830
  event_type: "connect_webview.login_succeeded";
48831
+ customer_key?: string | undefined;
48816
48832
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
48817
48833
  }>, z.ZodObject<{
48818
48834
  event_id: z.ZodString;
@@ -57672,6 +57688,7 @@ declare const _default: {
57672
57688
  acs_access_group_id?: never;
57673
57689
  client_session_id?: never;
57674
57690
  connect_webview_id?: never;
57691
+ customer_key?: never;
57675
57692
  action_attempt_id?: never;
57676
57693
  action_type?: never;
57677
57694
  status?: never;
@@ -57788,6 +57805,7 @@ declare const _default: {
57788
57805
  acs_access_group_id?: never;
57789
57806
  client_session_id?: never;
57790
57807
  connect_webview_id?: never;
57808
+ customer_key?: never;
57791
57809
  action_attempt_id?: never;
57792
57810
  action_type?: never;
57793
57811
  status?: never;
@@ -57904,6 +57922,7 @@ declare const _default: {
57904
57922
  acs_access_group_id?: never;
57905
57923
  client_session_id?: never;
57906
57924
  connect_webview_id?: never;
57925
+ customer_key?: never;
57907
57926
  action_attempt_id?: never;
57908
57927
  action_type?: never;
57909
57928
  status?: never;
@@ -58018,6 +58037,7 @@ declare const _default: {
58018
58037
  acs_access_group_id?: never;
58019
58038
  client_session_id?: never;
58020
58039
  connect_webview_id?: never;
58040
+ customer_key?: never;
58021
58041
  action_attempt_id?: never;
58022
58042
  action_type?: never;
58023
58043
  status?: never;
@@ -58106,6 +58126,7 @@ declare const _default: {
58106
58126
  acs_access_group_id?: never;
58107
58127
  client_session_id?: never;
58108
58128
  connect_webview_id?: never;
58129
+ customer_key?: never;
58109
58130
  action_attempt_id?: never;
58110
58131
  action_type?: never;
58111
58132
  status?: never;
@@ -58198,6 +58219,7 @@ declare const _default: {
58198
58219
  acs_access_group_id?: never;
58199
58220
  client_session_id?: never;
58200
58221
  connect_webview_id?: never;
58222
+ customer_key?: never;
58201
58223
  action_attempt_id?: never;
58202
58224
  action_type?: never;
58203
58225
  status?: never;
@@ -58303,6 +58325,7 @@ declare const _default: {
58303
58325
  acs_access_group_id?: never;
58304
58326
  client_session_id?: never;
58305
58327
  connect_webview_id?: never;
58328
+ customer_key?: never;
58306
58329
  action_attempt_id?: never;
58307
58330
  action_type?: never;
58308
58331
  status?: never;
@@ -58404,6 +58427,7 @@ declare const _default: {
58404
58427
  acs_access_group_id?: never;
58405
58428
  client_session_id?: never;
58406
58429
  connect_webview_id?: never;
58430
+ customer_key?: never;
58407
58431
  action_attempt_id?: never;
58408
58432
  action_type?: never;
58409
58433
  status?: never;
@@ -58496,6 +58520,7 @@ declare const _default: {
58496
58520
  acs_access_group_id?: never;
58497
58521
  client_session_id?: never;
58498
58522
  connect_webview_id?: never;
58523
+ customer_key?: never;
58499
58524
  action_attempt_id?: never;
58500
58525
  action_type?: never;
58501
58526
  status?: never;
@@ -58592,6 +58617,7 @@ declare const _default: {
58592
58617
  acs_access_group_id?: never;
58593
58618
  client_session_id?: never;
58594
58619
  connect_webview_id?: never;
58620
+ customer_key?: never;
58595
58621
  action_attempt_id?: never;
58596
58622
  action_type?: never;
58597
58623
  status?: never;
@@ -58687,6 +58713,7 @@ declare const _default: {
58687
58713
  acs_access_group_id?: never;
58688
58714
  client_session_id?: never;
58689
58715
  connect_webview_id?: never;
58716
+ customer_key?: never;
58690
58717
  action_attempt_id?: never;
58691
58718
  action_type?: never;
58692
58719
  status?: never;
@@ -58783,6 +58810,7 @@ declare const _default: {
58783
58810
  acs_access_group_id?: never;
58784
58811
  client_session_id?: never;
58785
58812
  connect_webview_id?: never;
58813
+ customer_key?: never;
58786
58814
  action_attempt_id?: never;
58787
58815
  action_type?: never;
58788
58816
  status?: never;
@@ -58879,6 +58907,7 @@ declare const _default: {
58879
58907
  acs_encoder_id?: never;
58880
58908
  client_session_id?: never;
58881
58909
  connect_webview_id?: never;
58910
+ customer_key?: never;
58882
58911
  action_attempt_id?: never;
58883
58912
  action_type?: never;
58884
58913
  status?: never;
@@ -58975,6 +59004,7 @@ declare const _default: {
58975
59004
  acs_access_group_id?: never;
58976
59005
  client_session_id?: never;
58977
59006
  connect_webview_id?: never;
59007
+ customer_key?: never;
58978
59008
  action_attempt_id?: never;
58979
59009
  action_type?: never;
58980
59010
  status?: never;
@@ -59063,6 +59093,7 @@ declare const _default: {
59063
59093
  acs_encoder_id?: never;
59064
59094
  acs_access_group_id?: never;
59065
59095
  connect_webview_id?: never;
59096
+ customer_key?: never;
59066
59097
  action_attempt_id?: never;
59067
59098
  action_type?: never;
59068
59099
  status?: never;
@@ -59128,6 +59159,10 @@ declare const _default: {
59128
59159
  format: string;
59129
59160
  type: string;
59130
59161
  };
59162
+ customer_key: {
59163
+ description: string;
59164
+ type: string;
59165
+ };
59131
59166
  event_id: {
59132
59167
  description: string;
59133
59168
  format: string;
@@ -59201,6 +59236,107 @@ declare const _default: {
59201
59236
  'x-route-path': string;
59202
59237
  deprecated?: never;
59203
59238
  'x-deprecated'?: never;
59239
+ } | {
59240
+ description: string;
59241
+ properties: {
59242
+ connect_webview_id: {
59243
+ description: string;
59244
+ format: string;
59245
+ type: string;
59246
+ };
59247
+ connected_account_custom_metadata: {
59248
+ additionalProperties: {
59249
+ oneOf: {
59250
+ type: string;
59251
+ }[];
59252
+ };
59253
+ description: string;
59254
+ type: string;
59255
+ };
59256
+ connected_account_id: {
59257
+ description: string;
59258
+ format: string;
59259
+ type: string;
59260
+ };
59261
+ created_at: {
59262
+ description: string;
59263
+ format: string;
59264
+ type: string;
59265
+ };
59266
+ event_id: {
59267
+ description: string;
59268
+ format: string;
59269
+ type: string;
59270
+ };
59271
+ event_type: {
59272
+ enum: string[];
59273
+ type: string;
59274
+ };
59275
+ occurred_at: {
59276
+ description: string;
59277
+ format: string;
59278
+ type: string;
59279
+ };
59280
+ workspace_id: {
59281
+ description: string;
59282
+ format: string;
59283
+ type: string;
59284
+ };
59285
+ access_code_id?: never;
59286
+ device_custom_metadata?: never;
59287
+ device_id?: never;
59288
+ code?: never;
59289
+ backup_access_code_id?: never;
59290
+ access_grant_id?: never;
59291
+ acs_entrance_id?: never;
59292
+ access_grant_ids?: never;
59293
+ access_grant_keys?: never;
59294
+ access_method_id?: never;
59295
+ acs_system_id?: never;
59296
+ acs_credential_id?: never;
59297
+ acs_user_id?: never;
59298
+ acs_encoder_id?: never;
59299
+ acs_access_group_id?: never;
59300
+ client_session_id?: never;
59301
+ customer_key?: never;
59302
+ action_attempt_id?: never;
59303
+ action_type?: never;
59304
+ status?: never;
59305
+ error_code?: never;
59306
+ battery_level?: never;
59307
+ battery_status?: never;
59308
+ minut_metadata?: never;
59309
+ noise_level_decibels?: never;
59310
+ noise_level_nrs?: never;
59311
+ noise_threshold_id?: never;
59312
+ noise_threshold_name?: never;
59313
+ noiseaware_metadata?: never;
59314
+ method?: never;
59315
+ climate_preset_key?: never;
59316
+ is_fallback_climate_preset?: never;
59317
+ thermostat_schedule_id?: never;
59318
+ cooling_set_point_celsius?: never;
59319
+ cooling_set_point_fahrenheit?: never;
59320
+ fan_mode_setting?: never;
59321
+ heating_set_point_celsius?: never;
59322
+ heating_set_point_fahrenheit?: never;
59323
+ hvac_mode_setting?: never;
59324
+ lower_limit_celsius?: never;
59325
+ lower_limit_fahrenheit?: never;
59326
+ temperature_celsius?: never;
59327
+ temperature_fahrenheit?: never;
59328
+ upper_limit_celsius?: never;
59329
+ upper_limit_fahrenheit?: never;
59330
+ desired_temperature_celsius?: never;
59331
+ desired_temperature_fahrenheit?: never;
59332
+ device_name?: never;
59333
+ enrollment_automation_id?: never;
59334
+ };
59335
+ required: string[];
59336
+ type: string;
59337
+ 'x-route-path': string;
59338
+ deprecated?: never;
59339
+ 'x-deprecated'?: never;
59204
59340
  } | {
59205
59341
  deprecated: boolean;
59206
59342
  description: string;
@@ -59264,6 +59400,7 @@ declare const _default: {
59264
59400
  acs_encoder_id?: never;
59265
59401
  acs_access_group_id?: never;
59266
59402
  client_session_id?: never;
59403
+ customer_key?: never;
59267
59404
  action_attempt_id?: never;
59268
59405
  action_type?: never;
59269
59406
  status?: never;
@@ -59359,6 +59496,7 @@ declare const _default: {
59359
59496
  acs_access_group_id?: never;
59360
59497
  client_session_id?: never;
59361
59498
  connect_webview_id?: never;
59499
+ customer_key?: never;
59362
59500
  action_attempt_id?: never;
59363
59501
  action_type?: never;
59364
59502
  status?: never;
@@ -59456,6 +59594,7 @@ declare const _default: {
59456
59594
  acs_access_group_id?: never;
59457
59595
  client_session_id?: never;
59458
59596
  connect_webview_id?: never;
59597
+ customer_key?: never;
59459
59598
  error_code?: never;
59460
59599
  battery_level?: never;
59461
59600
  battery_status?: never;
@@ -59541,6 +59680,7 @@ declare const _default: {
59541
59680
  acs_encoder_id?: never;
59542
59681
  acs_access_group_id?: never;
59543
59682
  client_session_id?: never;
59683
+ customer_key?: never;
59544
59684
  action_attempt_id?: never;
59545
59685
  action_type?: never;
59546
59686
  status?: never;
@@ -59649,6 +59789,7 @@ declare const _default: {
59649
59789
  acs_access_group_id?: never;
59650
59790
  client_session_id?: never;
59651
59791
  connect_webview_id?: never;
59792
+ customer_key?: never;
59652
59793
  action_attempt_id?: never;
59653
59794
  action_type?: never;
59654
59795
  status?: never;
@@ -59762,6 +59903,7 @@ declare const _default: {
59762
59903
  acs_access_group_id?: never;
59763
59904
  client_session_id?: never;
59764
59905
  connect_webview_id?: never;
59906
+ customer_key?: never;
59765
59907
  action_attempt_id?: never;
59766
59908
  action_type?: never;
59767
59909
  status?: never;
@@ -59876,6 +60018,7 @@ declare const _default: {
59876
60018
  acs_access_group_id?: never;
59877
60019
  client_session_id?: never;
59878
60020
  connect_webview_id?: never;
60021
+ customer_key?: never;
59879
60022
  action_attempt_id?: never;
59880
60023
  action_type?: never;
59881
60024
  status?: never;
@@ -59995,6 +60138,7 @@ declare const _default: {
59995
60138
  acs_access_group_id?: never;
59996
60139
  client_session_id?: never;
59997
60140
  connect_webview_id?: never;
60141
+ customer_key?: never;
59998
60142
  action_attempt_id?: never;
59999
60143
  action_type?: never;
60000
60144
  status?: never;
@@ -60130,6 +60274,7 @@ declare const _default: {
60130
60274
  acs_access_group_id?: never;
60131
60275
  client_session_id?: never;
60132
60276
  connect_webview_id?: never;
60277
+ customer_key?: never;
60133
60278
  action_attempt_id?: never;
60134
60279
  action_type?: never;
60135
60280
  status?: never;
@@ -60246,6 +60391,7 @@ declare const _default: {
60246
60391
  acs_access_group_id?: never;
60247
60392
  client_session_id?: never;
60248
60393
  connect_webview_id?: never;
60394
+ customer_key?: never;
60249
60395
  action_type?: never;
60250
60396
  status?: never;
60251
60397
  error_code?: never;
@@ -60366,6 +60512,7 @@ declare const _default: {
60366
60512
  acs_access_group_id?: never;
60367
60513
  client_session_id?: never;
60368
60514
  connect_webview_id?: never;
60515
+ customer_key?: never;
60369
60516
  action_attempt_id?: never;
60370
60517
  action_type?: never;
60371
60518
  status?: never;
@@ -60506,6 +60653,7 @@ declare const _default: {
60506
60653
  acs_access_group_id?: never;
60507
60654
  client_session_id?: never;
60508
60655
  connect_webview_id?: never;
60656
+ customer_key?: never;
60509
60657
  action_attempt_id?: never;
60510
60658
  action_type?: never;
60511
60659
  status?: never;
@@ -60641,6 +60789,7 @@ declare const _default: {
60641
60789
  acs_access_group_id?: never;
60642
60790
  client_session_id?: never;
60643
60791
  connect_webview_id?: never;
60792
+ customer_key?: never;
60644
60793
  action_attempt_id?: never;
60645
60794
  action_type?: never;
60646
60795
  status?: never;
@@ -60763,6 +60912,7 @@ declare const _default: {
60763
60912
  acs_access_group_id?: never;
60764
60913
  client_session_id?: never;
60765
60914
  connect_webview_id?: never;
60915
+ customer_key?: never;
60766
60916
  action_attempt_id?: never;
60767
60917
  action_type?: never;
60768
60918
  status?: never;
@@ -60877,6 +61027,7 @@ declare const _default: {
60877
61027
  acs_access_group_id?: never;
60878
61028
  client_session_id?: never;
60879
61029
  connect_webview_id?: never;
61030
+ customer_key?: never;
60880
61031
  action_attempt_id?: never;
60881
61032
  action_type?: never;
60882
61033
  status?: never;
@@ -60987,6 +61138,7 @@ declare const _default: {
60987
61138
  acs_access_group_id?: never;
60988
61139
  client_session_id?: never;
60989
61140
  connect_webview_id?: never;
61141
+ customer_key?: never;
60990
61142
  action_attempt_id?: never;
60991
61143
  action_type?: never;
60992
61144
  status?: never;
@@ -61075,6 +61227,7 @@ declare const _default: {
61075
61227
  acs_access_group_id?: never;
61076
61228
  client_session_id?: never;
61077
61229
  connect_webview_id?: never;
61230
+ customer_key?: never;
61078
61231
  action_attempt_id?: never;
61079
61232
  action_type?: never;
61080
61233
  status?: never;
@@ -61170,6 +61323,7 @@ declare const _default: {
61170
61323
  acs_access_group_id?: never;
61171
61324
  client_session_id?: never;
61172
61325
  connect_webview_id?: never;
61326
+ customer_key?: never;
61173
61327
  action_attempt_id?: never;
61174
61328
  action_type?: never;
61175
61329
  status?: never;
@@ -120247,6 +120401,8 @@ type Routes = {
120247
120401
  event_type: 'connected_account.connected';
120248
120402
  /** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
120249
120403
  connect_webview_id: string;
120404
+ /** The customer key associated with this connected account, if any. */
120405
+ customer_key?: string | undefined;
120250
120406
  } | {
120251
120407
  /** ID of the event. */
120252
120408
  event_id: string;
@@ -120429,6 +120585,8 @@ type Routes = {
120429
120585
  connected_account_custom_metadata?: {
120430
120586
  [x: string]: string | boolean;
120431
120587
  } | undefined;
120588
+ /** The customer key associated with this connect webview, if any. */
120589
+ customer_key?: string | undefined;
120432
120590
  } | {
120433
120591
  /** ID of the event. */
120434
120592
  event_id: string;
@@ -138088,6 +138246,8 @@ type Routes = {
138088
138246
  event_type: 'connected_account.connected';
138089
138247
  /** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
138090
138248
  connect_webview_id: string;
138249
+ /** The customer key associated with this connected account, if any. */
138250
+ customer_key?: string | undefined;
138091
138251
  } | {
138092
138252
  /** ID of the event. */
138093
138253
  event_id: string;
@@ -138270,6 +138430,8 @@ type Routes = {
138270
138430
  connected_account_custom_metadata?: {
138271
138431
  [x: string]: string | boolean;
138272
138432
  } | undefined;
138433
+ /** The customer key associated with this connect webview, if any. */
138434
+ customer_key?: string | undefined;
138273
138435
  } | {
138274
138436
  /** ID of the event. */
138275
138437
  event_id: string;
@@ -139986,6 +140148,8 @@ type Routes = {
139986
140148
  event_type: 'connected_account.connected';
139987
140149
  /** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
139988
140150
  connect_webview_id: string;
140151
+ /** The customer key associated with this connected account, if any. */
140152
+ customer_key?: string | undefined;
139989
140153
  } | {
139990
140154
  /** ID of the event. */
139991
140155
  event_id: string;
@@ -140168,6 +140332,8 @@ type Routes = {
140168
140332
  connected_account_custom_metadata?: {
140169
140333
  [x: string]: string | boolean;
140170
140334
  } | undefined;
140335
+ /** The customer key associated with this connect webview, if any. */
140336
+ customer_key?: string | undefined;
140171
140337
  } | {
140172
140338
  /** ID of the event. */
140173
140339
  event_id: string;
@@ -158812,6 +158978,8 @@ type Routes = {
158812
158978
  event_type: 'connected_account.connected';
158813
158979
  /** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
158814
158980
  connect_webview_id: string;
158981
+ /** The customer key associated with this connected account, if any. */
158982
+ customer_key?: string | undefined;
158815
158983
  } | {
158816
158984
  /** ID of the event. */
158817
158985
  event_id: string;
@@ -158994,6 +159162,8 @@ type Routes = {
158994
159162
  connected_account_custom_metadata?: {
158995
159163
  [x: string]: string | boolean;
158996
159164
  } | undefined;
159165
+ /** The customer key associated with this connect webview, if any. */
159166
+ customer_key?: string | undefined;
158997
159167
  } | {
158998
159168
  /** ID of the event. */
158999
159169
  event_id: string;
@@ -186157,6 +186327,8 @@ type Routes = {
186157
186327
  event_type: 'connected_account.connected';
186158
186328
  /** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
186159
186329
  connect_webview_id: string;
186330
+ /** The customer key associated with this connected account, if any. */
186331
+ customer_key?: string | undefined;
186160
186332
  } | {
186161
186333
  /** ID of the event. */
186162
186334
  event_id: string;
@@ -186339,6 +186511,8 @@ type Routes = {
186339
186511
  connected_account_custom_metadata?: {
186340
186512
  [x: string]: string | boolean;
186341
186513
  } | undefined;
186514
+ /** The customer key associated with this connect webview, if any. */
186515
+ customer_key?: string | undefined;
186342
186516
  } | {
186343
186517
  /** ID of the event. */
186344
186518
  event_id: string;
package/dist/index.cjs CHANGED
@@ -4586,7 +4586,10 @@ var connected_account_custom_metadata = custom_metadata.optional().describe(
4586
4586
  var connect_webview_login_succeeded_event = connect_webview_event.extend({
4587
4587
  event_type: zod.z.literal("connect_webview.login_succeeded"),
4588
4588
  connected_account_id,
4589
- connected_account_custom_metadata
4589
+ connected_account_custom_metadata,
4590
+ customer_key: zod.z.string().optional().describe(
4591
+ "The customer key associated with this connect webview, if any."
4592
+ )
4590
4593
  }).describe(`
4591
4594
  ---
4592
4595
  route_path: /connect_webviews
@@ -4619,7 +4622,10 @@ var connect_webview_id = zod.z.string().uuid().describe(
4619
4622
  var connected_account_connected_event = connected_account_event.extend(
4620
4623
  {
4621
4624
  event_type: zod.z.literal("connected_account.connected"),
4622
- connect_webview_id
4625
+ connect_webview_id,
4626
+ customer_key: zod.z.string().optional().describe(
4627
+ "The customer key associated with this connected account, if any."
4628
+ )
4623
4629
  }
4624
4630
  ).describe(`
4625
4631
  ---
@@ -19615,6 +19621,10 @@ var openapi_default = {
19615
19621
  format: "date-time",
19616
19622
  type: "string"
19617
19623
  },
19624
+ customer_key: {
19625
+ description: "The customer key associated with this connected account, if any.",
19626
+ type: "string"
19627
+ },
19618
19628
  event_id: {
19619
19629
  description: "ID of the event.",
19620
19630
  format: "uuid",
@@ -20198,6 +20208,10 @@ var openapi_default = {
20198
20208
  format: "date-time",
20199
20209
  type: "string"
20200
20210
  },
20211
+ customer_key: {
20212
+ description: "The customer key associated with this connect webview, if any.",
20213
+ type: "string"
20214
+ },
20201
20215
  event_id: {
20202
20216
  description: "ID of the event.",
20203
20217
  format: "uuid",