@seamapi/types 1.711.0 → 1.713.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. */
@@ -63348,11 +63454,9 @@ export type Routes = {
63348
63454
  /** ID of the connector to sync */
63349
63455
  connector_id: string
63350
63456
  /** Type of the connector to sync */
63351
- connector_type?: string | undefined
63352
- /** ID of the customer to sync */
63353
- customer_id?: string | undefined
63457
+ connector_type: string
63354
63458
  /** Key of the customer to sync */
63355
- customer_key?: string | undefined
63459
+ customer_key: string
63356
63460
  /** ID of the connector customer to sync */
63357
63461
  connector_customer_id?: (string | null) | undefined
63358
63462
  /** Unique provider resource key of the connector to sync */
@@ -64748,6 +64852,59 @@ export type Routes = {
64748
64852
  }
64749
64853
  | undefined
64750
64854
  event_type: 'connected_account.disconnected'
64855
+ /** Errors associated with the connected account. */
64856
+ connected_account_errors: (
64857
+ | {
64858
+ /** Date and time at which Seam created the error. */
64859
+ created_at: string
64860
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
64861
+ message: string
64862
+ /** Indicates whether the error is related specifically to the connected account. */
64863
+ is_connected_account_error?: boolean | undefined
64864
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
64865
+ is_bridge_error?: boolean | undefined
64866
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
64867
+ error_code: 'account_disconnected'
64868
+ }
64869
+ | {
64870
+ /** Date and time at which Seam created the error. */
64871
+ created_at: string
64872
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
64873
+ message: string
64874
+ /** Indicates whether the error is related specifically to the connected account. */
64875
+ is_connected_account_error?: boolean | undefined
64876
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
64877
+ is_bridge_error?: boolean | undefined
64878
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
64879
+ error_code: 'bridge_disconnected'
64880
+ }
64881
+ | {
64882
+ /** Date and time at which Seam created the error. */
64883
+ created_at: string
64884
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
64885
+ message: string
64886
+ /** Indicates whether the error is related specifically to the connected account. */
64887
+ is_connected_account_error?: boolean | undefined
64888
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
64889
+ is_bridge_error?: boolean | undefined
64890
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
64891
+ error_code: 'salto_ks_subscription_limit_exceeded'
64892
+ /** Salto KS metadata associated with the connected account that has an error. */
64893
+ salto_ks_metadata: {
64894
+ /** Salto sites associated with the connected account that has an error. */
64895
+ sites: {
64896
+ /** ID of a Salto site associated with the connected account that has an error. */
64897
+ site_id: string
64898
+ /** Name of a Salto site associated with the connected account that has an error. */
64899
+ site_name: string
64900
+ /** Count of subscribed site users for a Salto site associated with the connected account that has an error. */
64901
+ subscribed_site_user_count: number
64902
+ /** Subscription limit of site users for a Salto site associated with the connected account that has an error. */
64903
+ site_user_subscription_limit: number
64904
+ }[]
64905
+ }
64906
+ }
64907
+ )[]
64751
64908
  }
64752
64909
  | {
64753
64910
  /** ID of the event. */
@@ -99392,6 +99549,59 @@ export type Routes = {
99392
99549
  }
99393
99550
  | undefined
99394
99551
  event_type: 'connected_account.disconnected'
99552
+ /** Errors associated with the connected account. */
99553
+ connected_account_errors: (
99554
+ | {
99555
+ /** Date and time at which Seam created the error. */
99556
+ created_at: string
99557
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
99558
+ message: string
99559
+ /** Indicates whether the error is related specifically to the connected account. */
99560
+ is_connected_account_error?: boolean | undefined
99561
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
99562
+ is_bridge_error?: boolean | undefined
99563
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
99564
+ error_code: 'account_disconnected'
99565
+ }
99566
+ | {
99567
+ /** Date and time at which Seam created the error. */
99568
+ created_at: string
99569
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
99570
+ message: string
99571
+ /** Indicates whether the error is related specifically to the connected account. */
99572
+ is_connected_account_error?: boolean | undefined
99573
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
99574
+ is_bridge_error?: boolean | undefined
99575
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
99576
+ error_code: 'bridge_disconnected'
99577
+ }
99578
+ | {
99579
+ /** Date and time at which Seam created the error. */
99580
+ created_at: string
99581
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
99582
+ message: string
99583
+ /** Indicates whether the error is related specifically to the connected account. */
99584
+ is_connected_account_error?: boolean | undefined
99585
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
99586
+ is_bridge_error?: boolean | undefined
99587
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
99588
+ error_code: 'salto_ks_subscription_limit_exceeded'
99589
+ /** Salto KS metadata associated with the connected account that has an error. */
99590
+ salto_ks_metadata: {
99591
+ /** Salto sites associated with the connected account that has an error. */
99592
+ sites: {
99593
+ /** ID of a Salto site associated with the connected account that has an error. */
99594
+ site_id: string
99595
+ /** Name of a Salto site associated with the connected account that has an error. */
99596
+ site_name: string
99597
+ /** Count of subscribed site users for a Salto site associated with the connected account that has an error. */
99598
+ subscribed_site_user_count: number
99599
+ /** Subscription limit of site users for a Salto site associated with the connected account that has an error. */
99600
+ site_user_subscription_limit: number
99601
+ }[]
99602
+ }
99603
+ }
99604
+ )[]
99395
99605
  }
99396
99606
  | {
99397
99607
  /** ID of the event. */