@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.
- package/dist/connect.cjs +146 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +832 -9
- package/dist/index.cjs +146 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +214 -0
- package/lib/seam/connect/models/events/connected-accounts.d.ts +320 -0
- package/lib/seam/connect/models/events/connected-accounts.js +4 -0
- package/lib/seam/connect/models/events/connected-accounts.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +160 -0
- package/lib/seam/connect/openapi.d.ts +253 -0
- package/lib/seam/connect/openapi.js +143 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +196 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/connected-accounts.ts +4 -0
- package/src/lib/seam/connect/openapi.ts +168 -0
- package/src/lib/seam/connect/route-types.ts +212 -0
|
@@ -31878,6 +31878,55 @@ export type Routes = {
|
|
|
31878
31878
|
[x: string]: string | boolean;
|
|
31879
31879
|
} | undefined;
|
|
31880
31880
|
event_type: 'connected_account.disconnected';
|
|
31881
|
+
/** Errors associated with the connected account. */
|
|
31882
|
+
connected_account_errors: ({
|
|
31883
|
+
/** Date and time at which Seam created the error. */
|
|
31884
|
+
created_at: string;
|
|
31885
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
31886
|
+
message: string;
|
|
31887
|
+
/** Indicates whether the error is related specifically to the connected account. */
|
|
31888
|
+
is_connected_account_error?: boolean | undefined;
|
|
31889
|
+
/** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
|
|
31890
|
+
is_bridge_error?: boolean | undefined;
|
|
31891
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
31892
|
+
error_code: 'account_disconnected';
|
|
31893
|
+
} | {
|
|
31894
|
+
/** Date and time at which Seam created the error. */
|
|
31895
|
+
created_at: string;
|
|
31896
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
31897
|
+
message: string;
|
|
31898
|
+
/** Indicates whether the error is related specifically to the connected account. */
|
|
31899
|
+
is_connected_account_error?: boolean | undefined;
|
|
31900
|
+
/** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
|
|
31901
|
+
is_bridge_error?: boolean | undefined;
|
|
31902
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
31903
|
+
error_code: 'bridge_disconnected';
|
|
31904
|
+
} | {
|
|
31905
|
+
/** Date and time at which Seam created the error. */
|
|
31906
|
+
created_at: string;
|
|
31907
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
31908
|
+
message: string;
|
|
31909
|
+
/** Indicates whether the error is related specifically to the connected account. */
|
|
31910
|
+
is_connected_account_error?: boolean | undefined;
|
|
31911
|
+
/** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
|
|
31912
|
+
is_bridge_error?: boolean | undefined;
|
|
31913
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
31914
|
+
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
31915
|
+
/** Salto KS metadata associated with the connected account that has an error. */
|
|
31916
|
+
salto_ks_metadata: {
|
|
31917
|
+
/** Salto sites associated with the connected account that has an error. */
|
|
31918
|
+
sites: {
|
|
31919
|
+
/** ID of a Salto site associated with the connected account that has an error. */
|
|
31920
|
+
site_id: string;
|
|
31921
|
+
/** Name of a Salto site associated with the connected account that has an error. */
|
|
31922
|
+
site_name: string;
|
|
31923
|
+
/** Count of subscribed site users for a Salto site associated with the connected account that has an error. */
|
|
31924
|
+
subscribed_site_user_count: number;
|
|
31925
|
+
/** Subscription limit of site users for a Salto site associated with the connected account that has an error. */
|
|
31926
|
+
site_user_subscription_limit: number;
|
|
31927
|
+
}[];
|
|
31928
|
+
};
|
|
31929
|
+
})[];
|
|
31881
31930
|
} | {
|
|
31882
31931
|
/** ID of the event. */
|
|
31883
31932
|
event_id: string;
|
|
@@ -33946,6 +33995,55 @@ export type Routes = {
|
|
|
33946
33995
|
[x: string]: string | boolean;
|
|
33947
33996
|
} | undefined;
|
|
33948
33997
|
event_type: 'connected_account.disconnected';
|
|
33998
|
+
/** Errors associated with the connected account. */
|
|
33999
|
+
connected_account_errors: ({
|
|
34000
|
+
/** Date and time at which Seam created the error. */
|
|
34001
|
+
created_at: string;
|
|
34002
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
34003
|
+
message: string;
|
|
34004
|
+
/** Indicates whether the error is related specifically to the connected account. */
|
|
34005
|
+
is_connected_account_error?: boolean | undefined;
|
|
34006
|
+
/** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
|
|
34007
|
+
is_bridge_error?: boolean | undefined;
|
|
34008
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
34009
|
+
error_code: 'account_disconnected';
|
|
34010
|
+
} | {
|
|
34011
|
+
/** Date and time at which Seam created the error. */
|
|
34012
|
+
created_at: string;
|
|
34013
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
34014
|
+
message: string;
|
|
34015
|
+
/** Indicates whether the error is related specifically to the connected account. */
|
|
34016
|
+
is_connected_account_error?: boolean | undefined;
|
|
34017
|
+
/** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
|
|
34018
|
+
is_bridge_error?: boolean | undefined;
|
|
34019
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
34020
|
+
error_code: 'bridge_disconnected';
|
|
34021
|
+
} | {
|
|
34022
|
+
/** Date and time at which Seam created the error. */
|
|
34023
|
+
created_at: string;
|
|
34024
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
34025
|
+
message: string;
|
|
34026
|
+
/** Indicates whether the error is related specifically to the connected account. */
|
|
34027
|
+
is_connected_account_error?: boolean | undefined;
|
|
34028
|
+
/** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
|
|
34029
|
+
is_bridge_error?: boolean | undefined;
|
|
34030
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
34031
|
+
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
34032
|
+
/** Salto KS metadata associated with the connected account that has an error. */
|
|
34033
|
+
salto_ks_metadata: {
|
|
34034
|
+
/** Salto sites associated with the connected account that has an error. */
|
|
34035
|
+
sites: {
|
|
34036
|
+
/** ID of a Salto site associated with the connected account that has an error. */
|
|
34037
|
+
site_id: string;
|
|
34038
|
+
/** Name of a Salto site associated with the connected account that has an error. */
|
|
34039
|
+
site_name: string;
|
|
34040
|
+
/** Count of subscribed site users for a Salto site associated with the connected account that has an error. */
|
|
34041
|
+
subscribed_site_user_count: number;
|
|
34042
|
+
/** Subscription limit of site users for a Salto site associated with the connected account that has an error. */
|
|
34043
|
+
site_user_subscription_limit: number;
|
|
34044
|
+
}[];
|
|
34045
|
+
};
|
|
34046
|
+
})[];
|
|
33949
34047
|
} | {
|
|
33950
34048
|
/** ID of the event. */
|
|
33951
34049
|
event_id: string;
|
|
@@ -54054,6 +54152,55 @@ export type Routes = {
|
|
|
54054
54152
|
[x: string]: string | boolean;
|
|
54055
54153
|
} | undefined;
|
|
54056
54154
|
event_type: 'connected_account.disconnected';
|
|
54155
|
+
/** Errors associated with the connected account. */
|
|
54156
|
+
connected_account_errors: ({
|
|
54157
|
+
/** Date and time at which Seam created the error. */
|
|
54158
|
+
created_at: string;
|
|
54159
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
54160
|
+
message: string;
|
|
54161
|
+
/** Indicates whether the error is related specifically to the connected account. */
|
|
54162
|
+
is_connected_account_error?: boolean | undefined;
|
|
54163
|
+
/** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
|
|
54164
|
+
is_bridge_error?: boolean | undefined;
|
|
54165
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
54166
|
+
error_code: 'account_disconnected';
|
|
54167
|
+
} | {
|
|
54168
|
+
/** Date and time at which Seam created the error. */
|
|
54169
|
+
created_at: string;
|
|
54170
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
54171
|
+
message: string;
|
|
54172
|
+
/** Indicates whether the error is related specifically to the connected account. */
|
|
54173
|
+
is_connected_account_error?: boolean | undefined;
|
|
54174
|
+
/** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
|
|
54175
|
+
is_bridge_error?: boolean | undefined;
|
|
54176
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
54177
|
+
error_code: 'bridge_disconnected';
|
|
54178
|
+
} | {
|
|
54179
|
+
/** Date and time at which Seam created the error. */
|
|
54180
|
+
created_at: string;
|
|
54181
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
54182
|
+
message: string;
|
|
54183
|
+
/** Indicates whether the error is related specifically to the connected account. */
|
|
54184
|
+
is_connected_account_error?: boolean | undefined;
|
|
54185
|
+
/** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
|
|
54186
|
+
is_bridge_error?: boolean | undefined;
|
|
54187
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
54188
|
+
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
54189
|
+
/** Salto KS metadata associated with the connected account that has an error. */
|
|
54190
|
+
salto_ks_metadata: {
|
|
54191
|
+
/** Salto sites associated with the connected account that has an error. */
|
|
54192
|
+
sites: {
|
|
54193
|
+
/** ID of a Salto site associated with the connected account that has an error. */
|
|
54194
|
+
site_id: string;
|
|
54195
|
+
/** Name of a Salto site associated with the connected account that has an error. */
|
|
54196
|
+
site_name: string;
|
|
54197
|
+
/** Count of subscribed site users for a Salto site associated with the connected account that has an error. */
|
|
54198
|
+
subscribed_site_user_count: number;
|
|
54199
|
+
/** Subscription limit of site users for a Salto site associated with the connected account that has an error. */
|
|
54200
|
+
site_user_subscription_limit: number;
|
|
54201
|
+
}[];
|
|
54202
|
+
};
|
|
54203
|
+
})[];
|
|
54057
54204
|
} | {
|
|
54058
54205
|
/** ID of the event. */
|
|
54059
54206
|
event_id: string;
|
|
@@ -83291,6 +83438,55 @@ export type Routes = {
|
|
|
83291
83438
|
[x: string]: string | boolean;
|
|
83292
83439
|
} | undefined;
|
|
83293
83440
|
event_type: 'connected_account.disconnected';
|
|
83441
|
+
/** Errors associated with the connected account. */
|
|
83442
|
+
connected_account_errors: ({
|
|
83443
|
+
/** Date and time at which Seam created the error. */
|
|
83444
|
+
created_at: string;
|
|
83445
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
83446
|
+
message: string;
|
|
83447
|
+
/** Indicates whether the error is related specifically to the connected account. */
|
|
83448
|
+
is_connected_account_error?: boolean | undefined;
|
|
83449
|
+
/** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
|
|
83450
|
+
is_bridge_error?: boolean | undefined;
|
|
83451
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
83452
|
+
error_code: 'account_disconnected';
|
|
83453
|
+
} | {
|
|
83454
|
+
/** Date and time at which Seam created the error. */
|
|
83455
|
+
created_at: string;
|
|
83456
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
83457
|
+
message: string;
|
|
83458
|
+
/** Indicates whether the error is related specifically to the connected account. */
|
|
83459
|
+
is_connected_account_error?: boolean | undefined;
|
|
83460
|
+
/** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
|
|
83461
|
+
is_bridge_error?: boolean | undefined;
|
|
83462
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
83463
|
+
error_code: 'bridge_disconnected';
|
|
83464
|
+
} | {
|
|
83465
|
+
/** Date and time at which Seam created the error. */
|
|
83466
|
+
created_at: string;
|
|
83467
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
83468
|
+
message: string;
|
|
83469
|
+
/** Indicates whether the error is related specifically to the connected account. */
|
|
83470
|
+
is_connected_account_error?: boolean | undefined;
|
|
83471
|
+
/** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
|
|
83472
|
+
is_bridge_error?: boolean | undefined;
|
|
83473
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
83474
|
+
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
83475
|
+
/** Salto KS metadata associated with the connected account that has an error. */
|
|
83476
|
+
salto_ks_metadata: {
|
|
83477
|
+
/** Salto sites associated with the connected account that has an error. */
|
|
83478
|
+
sites: {
|
|
83479
|
+
/** ID of a Salto site associated with the connected account that has an error. */
|
|
83480
|
+
site_id: string;
|
|
83481
|
+
/** Name of a Salto site associated with the connected account that has an error. */
|
|
83482
|
+
site_name: string;
|
|
83483
|
+
/** Count of subscribed site users for a Salto site associated with the connected account that has an error. */
|
|
83484
|
+
subscribed_site_user_count: number;
|
|
83485
|
+
/** Subscription limit of site users for a Salto site associated with the connected account that has an error. */
|
|
83486
|
+
site_user_subscription_limit: number;
|
|
83487
|
+
}[];
|
|
83488
|
+
};
|
|
83489
|
+
})[];
|
|
83294
83490
|
} | {
|
|
83295
83491
|
/** ID of the event. */
|
|
83296
83492
|
event_id: string;
|
package/package.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod'
|
|
2
2
|
|
|
3
|
+
import { connected_account_error } from '../connected-accounts/index.js'
|
|
3
4
|
import { custom_metadata } from '../custom-metadata.js'
|
|
4
5
|
import { common_event } from './common.js'
|
|
5
6
|
|
|
@@ -80,6 +81,9 @@ export type ConnectedAccountSuccessfulLoginEvent = z.infer<
|
|
|
80
81
|
export const connected_account_disconnected_event =
|
|
81
82
|
connected_account_event.extend({
|
|
82
83
|
event_type: z.literal('connected_account.disconnected'),
|
|
84
|
+
connected_account_errors: z
|
|
85
|
+
.array(connected_account_error)
|
|
86
|
+
.describe('Errors associated with the connected account.'),
|
|
83
87
|
}).describe(`
|
|
84
88
|
---
|
|
85
89
|
route_path: /connected_accounts
|
|
@@ -16612,6 +16612,173 @@ export default {
|
|
|
16612
16612
|
'Custom metadata of the connected account, present when connected_account_id is provided.',
|
|
16613
16613
|
type: 'object',
|
|
16614
16614
|
},
|
|
16615
|
+
connected_account_errors: {
|
|
16616
|
+
description: 'Errors associated with the connected account.',
|
|
16617
|
+
items: {
|
|
16618
|
+
discriminator: { propertyName: 'error_code' },
|
|
16619
|
+
oneOf: [
|
|
16620
|
+
{
|
|
16621
|
+
description:
|
|
16622
|
+
'Indicates that the account is disconnected.',
|
|
16623
|
+
properties: {
|
|
16624
|
+
created_at: {
|
|
16625
|
+
description:
|
|
16626
|
+
'Date and time at which Seam created the error.',
|
|
16627
|
+
format: 'date-time',
|
|
16628
|
+
type: 'string',
|
|
16629
|
+
},
|
|
16630
|
+
error_code: {
|
|
16631
|
+
description:
|
|
16632
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
16633
|
+
enum: ['account_disconnected'],
|
|
16634
|
+
type: 'string',
|
|
16635
|
+
},
|
|
16636
|
+
is_bridge_error: {
|
|
16637
|
+
description:
|
|
16638
|
+
'Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge).',
|
|
16639
|
+
type: 'boolean',
|
|
16640
|
+
},
|
|
16641
|
+
is_connected_account_error: {
|
|
16642
|
+
description:
|
|
16643
|
+
'Indicates whether the error is related specifically to the connected account.',
|
|
16644
|
+
type: 'boolean',
|
|
16645
|
+
},
|
|
16646
|
+
message: {
|
|
16647
|
+
description:
|
|
16648
|
+
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
16649
|
+
type: 'string',
|
|
16650
|
+
},
|
|
16651
|
+
},
|
|
16652
|
+
required: ['created_at', 'message', 'error_code'],
|
|
16653
|
+
type: 'object',
|
|
16654
|
+
},
|
|
16655
|
+
{
|
|
16656
|
+
description:
|
|
16657
|
+
'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).',
|
|
16658
|
+
properties: {
|
|
16659
|
+
created_at: {
|
|
16660
|
+
description:
|
|
16661
|
+
'Date and time at which Seam created the error.',
|
|
16662
|
+
format: 'date-time',
|
|
16663
|
+
type: 'string',
|
|
16664
|
+
},
|
|
16665
|
+
error_code: {
|
|
16666
|
+
description:
|
|
16667
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
16668
|
+
enum: ['bridge_disconnected'],
|
|
16669
|
+
type: 'string',
|
|
16670
|
+
},
|
|
16671
|
+
is_bridge_error: {
|
|
16672
|
+
description:
|
|
16673
|
+
'Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge).',
|
|
16674
|
+
type: 'boolean',
|
|
16675
|
+
},
|
|
16676
|
+
is_connected_account_error: {
|
|
16677
|
+
description:
|
|
16678
|
+
'Indicates whether the error is related specifically to the connected account.',
|
|
16679
|
+
type: 'boolean',
|
|
16680
|
+
},
|
|
16681
|
+
message: {
|
|
16682
|
+
description:
|
|
16683
|
+
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
16684
|
+
type: 'string',
|
|
16685
|
+
},
|
|
16686
|
+
},
|
|
16687
|
+
required: ['created_at', 'message', 'error_code'],
|
|
16688
|
+
type: 'object',
|
|
16689
|
+
},
|
|
16690
|
+
{
|
|
16691
|
+
description:
|
|
16692
|
+
'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.',
|
|
16693
|
+
properties: {
|
|
16694
|
+
created_at: {
|
|
16695
|
+
description:
|
|
16696
|
+
'Date and time at which Seam created the error.',
|
|
16697
|
+
format: 'date-time',
|
|
16698
|
+
type: 'string',
|
|
16699
|
+
},
|
|
16700
|
+
error_code: {
|
|
16701
|
+
description:
|
|
16702
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
16703
|
+
enum: ['salto_ks_subscription_limit_exceeded'],
|
|
16704
|
+
type: 'string',
|
|
16705
|
+
},
|
|
16706
|
+
is_bridge_error: {
|
|
16707
|
+
description:
|
|
16708
|
+
'Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge).',
|
|
16709
|
+
type: 'boolean',
|
|
16710
|
+
},
|
|
16711
|
+
is_connected_account_error: {
|
|
16712
|
+
description:
|
|
16713
|
+
'Indicates whether the error is related specifically to the connected account.',
|
|
16714
|
+
type: 'boolean',
|
|
16715
|
+
},
|
|
16716
|
+
message: {
|
|
16717
|
+
description:
|
|
16718
|
+
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
16719
|
+
type: 'string',
|
|
16720
|
+
},
|
|
16721
|
+
salto_ks_metadata: {
|
|
16722
|
+
description:
|
|
16723
|
+
'Salto KS metadata associated with the connected account that has an error.',
|
|
16724
|
+
properties: {
|
|
16725
|
+
sites: {
|
|
16726
|
+
description:
|
|
16727
|
+
'Salto sites associated with the connected account that has an error.',
|
|
16728
|
+
items: {
|
|
16729
|
+
description:
|
|
16730
|
+
'Salto site associated with the connected account that has an error.',
|
|
16731
|
+
properties: {
|
|
16732
|
+
site_id: {
|
|
16733
|
+
description:
|
|
16734
|
+
'ID of a Salto site associated with the connected account that has an error.',
|
|
16735
|
+
type: 'string',
|
|
16736
|
+
},
|
|
16737
|
+
site_name: {
|
|
16738
|
+
description:
|
|
16739
|
+
'Name of a Salto site associated with the connected account that has an error.',
|
|
16740
|
+
type: 'string',
|
|
16741
|
+
},
|
|
16742
|
+
site_user_subscription_limit: {
|
|
16743
|
+
description:
|
|
16744
|
+
'Subscription limit of site users for a Salto site associated with the connected account that has an error.',
|
|
16745
|
+
minimum: 0,
|
|
16746
|
+
type: 'integer',
|
|
16747
|
+
},
|
|
16748
|
+
subscribed_site_user_count: {
|
|
16749
|
+
description:
|
|
16750
|
+
'Count of subscribed site users for a Salto site associated with the connected account that has an error.',
|
|
16751
|
+
minimum: 0,
|
|
16752
|
+
type: 'integer',
|
|
16753
|
+
},
|
|
16754
|
+
},
|
|
16755
|
+
required: [
|
|
16756
|
+
'site_id',
|
|
16757
|
+
'site_name',
|
|
16758
|
+
'subscribed_site_user_count',
|
|
16759
|
+
'site_user_subscription_limit',
|
|
16760
|
+
],
|
|
16761
|
+
type: 'object',
|
|
16762
|
+
},
|
|
16763
|
+
type: 'array',
|
|
16764
|
+
},
|
|
16765
|
+
},
|
|
16766
|
+
required: ['sites'],
|
|
16767
|
+
type: 'object',
|
|
16768
|
+
},
|
|
16769
|
+
},
|
|
16770
|
+
required: [
|
|
16771
|
+
'created_at',
|
|
16772
|
+
'message',
|
|
16773
|
+
'error_code',
|
|
16774
|
+
'salto_ks_metadata',
|
|
16775
|
+
],
|
|
16776
|
+
type: 'object',
|
|
16777
|
+
},
|
|
16778
|
+
],
|
|
16779
|
+
},
|
|
16780
|
+
type: 'array',
|
|
16781
|
+
},
|
|
16615
16782
|
connected_account_id: {
|
|
16616
16783
|
description:
|
|
16617
16784
|
'ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts).',
|
|
@@ -16651,6 +16818,7 @@ export default {
|
|
|
16651
16818
|
'occurred_at',
|
|
16652
16819
|
'connected_account_id',
|
|
16653
16820
|
'event_type',
|
|
16821
|
+
'connected_account_errors',
|
|
16654
16822
|
],
|
|
16655
16823
|
type: 'object',
|
|
16656
16824
|
'x-route-path': '/connected_accounts',
|