@seamapi/types 1.711.0 → 1.712.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.
@@ -37952,6 +37952,59 @@ export type Routes = {
37952
37952
  }
37953
37953
  | undefined
37954
37954
  event_type: 'connected_account.disconnected'
37955
+ /** Errors associated with the connected account. */
37956
+ connected_account_errors: (
37957
+ | {
37958
+ /** Date and time at which Seam created the error. */
37959
+ created_at: string
37960
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
37961
+ message: string
37962
+ /** Indicates whether the error is related specifically to the connected account. */
37963
+ is_connected_account_error?: boolean | undefined
37964
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
37965
+ is_bridge_error?: boolean | undefined
37966
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
37967
+ error_code: 'account_disconnected'
37968
+ }
37969
+ | {
37970
+ /** Date and time at which Seam created the error. */
37971
+ created_at: string
37972
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
37973
+ message: string
37974
+ /** Indicates whether the error is related specifically to the connected account. */
37975
+ is_connected_account_error?: boolean | undefined
37976
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
37977
+ is_bridge_error?: boolean | undefined
37978
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
37979
+ error_code: 'bridge_disconnected'
37980
+ }
37981
+ | {
37982
+ /** Date and time at which Seam created the error. */
37983
+ created_at: string
37984
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
37985
+ message: string
37986
+ /** Indicates whether the error is related specifically to the connected account. */
37987
+ is_connected_account_error?: boolean | undefined
37988
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
37989
+ is_bridge_error?: boolean | undefined
37990
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
37991
+ error_code: 'salto_ks_subscription_limit_exceeded'
37992
+ /** Salto KS metadata associated with the connected account that has an error. */
37993
+ salto_ks_metadata: {
37994
+ /** Salto sites associated with the connected account that has an error. */
37995
+ sites: {
37996
+ /** ID of a Salto site associated with the connected account that has an error. */
37997
+ site_id: string
37998
+ /** Name of a Salto site associated with the connected account that has an error. */
37999
+ site_name: string
38000
+ /** Count of subscribed site users for a Salto site associated with the connected account that has an error. */
38001
+ subscribed_site_user_count: number
38002
+ /** Subscription limit of site users for a Salto site associated with the connected account that has an error. */
38003
+ site_user_subscription_limit: number
38004
+ }[]
38005
+ }
38006
+ }
38007
+ )[]
37955
38008
  }
37956
38009
  | {
37957
38010
  /** ID of the event. */
@@ -40563,6 +40616,59 @@ export type Routes = {
40563
40616
  }
40564
40617
  | undefined
40565
40618
  event_type: 'connected_account.disconnected'
40619
+ /** Errors associated with the connected account. */
40620
+ connected_account_errors: (
40621
+ | {
40622
+ /** Date and time at which Seam created the error. */
40623
+ created_at: string
40624
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
40625
+ message: string
40626
+ /** Indicates whether the error is related specifically to the connected account. */
40627
+ is_connected_account_error?: boolean | undefined
40628
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
40629
+ is_bridge_error?: boolean | undefined
40630
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40631
+ error_code: 'account_disconnected'
40632
+ }
40633
+ | {
40634
+ /** Date and time at which Seam created the error. */
40635
+ created_at: string
40636
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
40637
+ message: string
40638
+ /** Indicates whether the error is related specifically to the connected account. */
40639
+ is_connected_account_error?: boolean | undefined
40640
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
40641
+ is_bridge_error?: boolean | undefined
40642
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40643
+ error_code: 'bridge_disconnected'
40644
+ }
40645
+ | {
40646
+ /** Date and time at which Seam created the error. */
40647
+ created_at: string
40648
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
40649
+ message: string
40650
+ /** Indicates whether the error is related specifically to the connected account. */
40651
+ is_connected_account_error?: boolean | undefined
40652
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
40653
+ is_bridge_error?: boolean | undefined
40654
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40655
+ error_code: 'salto_ks_subscription_limit_exceeded'
40656
+ /** Salto KS metadata associated with the connected account that has an error. */
40657
+ salto_ks_metadata: {
40658
+ /** Salto sites associated with the connected account that has an error. */
40659
+ sites: {
40660
+ /** ID of a Salto site associated with the connected account that has an error. */
40661
+ site_id: string
40662
+ /** Name of a Salto site associated with the connected account that has an error. */
40663
+ site_name: string
40664
+ /** Count of subscribed site users for a Salto site associated with the connected account that has an error. */
40665
+ subscribed_site_user_count: number
40666
+ /** Subscription limit of site users for a Salto site associated with the connected account that has an error. */
40667
+ site_user_subscription_limit: number
40668
+ }[]
40669
+ }
40670
+ }
40671
+ )[]
40566
40672
  }
40567
40673
  | {
40568
40674
  /** ID of the event. */
@@ -64748,6 +64854,59 @@ export type Routes = {
64748
64854
  }
64749
64855
  | undefined
64750
64856
  event_type: 'connected_account.disconnected'
64857
+ /** Errors associated with the connected account. */
64858
+ connected_account_errors: (
64859
+ | {
64860
+ /** Date and time at which Seam created the error. */
64861
+ created_at: string
64862
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
64863
+ message: string
64864
+ /** Indicates whether the error is related specifically to the connected account. */
64865
+ is_connected_account_error?: boolean | undefined
64866
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
64867
+ is_bridge_error?: boolean | undefined
64868
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
64869
+ error_code: 'account_disconnected'
64870
+ }
64871
+ | {
64872
+ /** Date and time at which Seam created the error. */
64873
+ created_at: string
64874
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
64875
+ message: string
64876
+ /** Indicates whether the error is related specifically to the connected account. */
64877
+ is_connected_account_error?: boolean | undefined
64878
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
64879
+ is_bridge_error?: boolean | undefined
64880
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
64881
+ error_code: 'bridge_disconnected'
64882
+ }
64883
+ | {
64884
+ /** Date and time at which Seam created the error. */
64885
+ created_at: string
64886
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
64887
+ message: string
64888
+ /** Indicates whether the error is related specifically to the connected account. */
64889
+ is_connected_account_error?: boolean | undefined
64890
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
64891
+ is_bridge_error?: boolean | undefined
64892
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
64893
+ error_code: 'salto_ks_subscription_limit_exceeded'
64894
+ /** Salto KS metadata associated with the connected account that has an error. */
64895
+ salto_ks_metadata: {
64896
+ /** Salto sites associated with the connected account that has an error. */
64897
+ sites: {
64898
+ /** ID of a Salto site associated with the connected account that has an error. */
64899
+ site_id: string
64900
+ /** Name of a Salto site associated with the connected account that has an error. */
64901
+ site_name: string
64902
+ /** Count of subscribed site users for a Salto site associated with the connected account that has an error. */
64903
+ subscribed_site_user_count: number
64904
+ /** Subscription limit of site users for a Salto site associated with the connected account that has an error. */
64905
+ site_user_subscription_limit: number
64906
+ }[]
64907
+ }
64908
+ }
64909
+ )[]
64751
64910
  }
64752
64911
  | {
64753
64912
  /** ID of the event. */
@@ -99392,6 +99551,59 @@ export type Routes = {
99392
99551
  }
99393
99552
  | undefined
99394
99553
  event_type: 'connected_account.disconnected'
99554
+ /** Errors associated with the connected account. */
99555
+ connected_account_errors: (
99556
+ | {
99557
+ /** Date and time at which Seam created the error. */
99558
+ created_at: string
99559
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
99560
+ message: string
99561
+ /** Indicates whether the error is related specifically to the connected account. */
99562
+ is_connected_account_error?: boolean | undefined
99563
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
99564
+ is_bridge_error?: boolean | undefined
99565
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
99566
+ error_code: 'account_disconnected'
99567
+ }
99568
+ | {
99569
+ /** Date and time at which Seam created the error. */
99570
+ created_at: string
99571
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
99572
+ message: string
99573
+ /** Indicates whether the error is related specifically to the connected account. */
99574
+ is_connected_account_error?: boolean | undefined
99575
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
99576
+ is_bridge_error?: boolean | undefined
99577
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
99578
+ error_code: 'bridge_disconnected'
99579
+ }
99580
+ | {
99581
+ /** Date and time at which Seam created the error. */
99582
+ created_at: string
99583
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
99584
+ message: string
99585
+ /** Indicates whether the error is related specifically to the connected account. */
99586
+ is_connected_account_error?: boolean | undefined
99587
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
99588
+ is_bridge_error?: boolean | undefined
99589
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
99590
+ error_code: 'salto_ks_subscription_limit_exceeded'
99591
+ /** Salto KS metadata associated with the connected account that has an error. */
99592
+ salto_ks_metadata: {
99593
+ /** Salto sites associated with the connected account that has an error. */
99594
+ sites: {
99595
+ /** ID of a Salto site associated with the connected account that has an error. */
99596
+ site_id: string
99597
+ /** Name of a Salto site associated with the connected account that has an error. */
99598
+ site_name: string
99599
+ /** Count of subscribed site users for a Salto site associated with the connected account that has an error. */
99600
+ subscribed_site_user_count: number
99601
+ /** Subscription limit of site users for a Salto site associated with the connected account that has an error. */
99602
+ site_user_subscription_limit: number
99603
+ }[]
99604
+ }
99605
+ }
99606
+ )[]
99395
99607
  }
99396
99608
  | {
99397
99609
  /** ID of the event. */