@seamapi/types 1.404.0 → 1.404.2

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 CHANGED
@@ -522,24 +522,31 @@ zod.z.record(
522
522
  zod.z.union([zod.z.string().max(500), zod.z.boolean(), zod.z.null()])
523
523
  ).refine((val) => Object.keys(val).length <= 50, {
524
524
  message: "Custom metadata is limited to a maximum of 50 keys"
525
- });
526
- var custom_metadata = zod.z.record(
527
- zod.z.string(),
528
- zod.z.union([zod.z.string(), zod.z.boolean()])
525
+ }).describe(
526
+ "Set of up to 50 key:value pairs, with key names up to 40 characters long. Accepts string or Boolean values. Strings are limited to 500 characters. Adding custom metadata to a resource, such as a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview), [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account), or [device](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device), enables you to store custom information, like customer details or internal IDs from your application."
527
+ );
528
+ var custom_metadata = zod.z.record(zod.z.string(), zod.z.union([zod.z.string(), zod.z.boolean()])).describe(
529
+ "Set of key:value pairs. Adding custom metadata to a resource, such as a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview), [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account), or [device](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device), enables you to store custom information, like customer details or internal IDs from your application."
529
530
  );
530
531
 
531
532
  // src/lib/seam/connect/models/connected-accounts/connected-account.ts
532
533
  var common_connected_account_error = zod.z.object({
533
534
  created_at: zod.z.string().datetime().describe("Date and time at which Seam created the error."),
534
- message: zod.z.string(),
535
- is_connected_account_error: zod.z.boolean().optional(),
536
- is_bridge_error: zod.z.boolean().optional()
535
+ message: zod.z.string().describe(
536
+ "Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
537
+ ),
538
+ is_connected_account_error: zod.z.boolean().optional().describe(
539
+ "Indicates whether the error is related specifically to the connected account."
540
+ ),
541
+ is_bridge_error: zod.z.boolean().optional().describe("Indicates whether the error is related to Seam Bridge.")
537
542
  });
538
543
  var error_code_description = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
539
544
  var warning_code_description = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
540
545
  var common_connected_account_warning = zod.z.object({
541
546
  created_at: zod.z.string().datetime().describe("Date and time at which Seam created the warning."),
542
- message: zod.z.string()
547
+ message: zod.z.string().describe(
548
+ "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it."
549
+ )
543
550
  });
544
551
  var account_disconnected = common_connected_account_error.extend({
545
552
  error_code: zod.z.literal("account_disconnected").describe(error_code_description)
@@ -549,20 +556,35 @@ var invalid_credentials = common_connected_account_error.extend({
549
556
  }).describe("Credentials provided were invalid.");
550
557
  var bridge_disconnected = common_connected_account_error.extend({
551
558
  error_code: zod.z.literal("bridge_disconnected").describe(error_code_description)
552
- }).describe(`Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge), for example, if Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline.
553
- 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).`);
559
+ }).describe(
560
+ "Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge), for example, if 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)."
561
+ );
554
562
  var salto_ks_subscription_limit_exceeded = common_connected_account_error.extend({
555
563
  error_code: zod.z.literal("salto_ks_subscription_limit_exceeded").describe(error_code_description),
556
564
  salto_ks_metadata: zod.z.object({
557
565
  sites: zod.z.array(
558
566
  zod.z.object({
559
- site_id: zod.z.string(),
560
- site_name: zod.z.string(),
561
- subscribed_site_user_count: zod.z.number().int().min(0),
562
- site_user_subscription_limit: zod.z.number().int().min(0)
563
- })
567
+ site_id: zod.z.string().describe(
568
+ "ID of a Salto site associated with the connected account that has an error."
569
+ ),
570
+ site_name: zod.z.string().describe(
571
+ "Name of a Salto site associated with the connected account that has an error."
572
+ ),
573
+ subscribed_site_user_count: zod.z.number().int().min(0).describe(
574
+ "Count of subscribed site users for a Salto site associated with the connected account that has an error."
575
+ ),
576
+ site_user_subscription_limit: zod.z.number().int().min(0).describe(
577
+ "Subscription limit of site users for a Salto site associated with the connected account that has an error."
578
+ )
579
+ }).describe(
580
+ "Salto site associated with the connected account that has an error."
581
+ )
582
+ ).describe(
583
+ "Salto sites associated with the connected account that has an error."
564
584
  )
565
- })
585
+ }).describe(
586
+ "Salto KS metadata associated with the connected account that has an error."
587
+ )
566
588
  }).describe(
567
589
  "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."
568
590
  );
@@ -581,52 +603,78 @@ zod.z.object({
581
603
  var unknown_issue_with_connected_account = common_connected_account_warning.extend({
582
604
  warning_code: zod.z.literal("unknown_issue_with_connected_account").describe(warning_code_description)
583
605
  }).describe(
584
- "An unknown issue occurred while syncing the state of this connected account with the provider. This issue may affect the proper functioning of one or more resources in this account."
606
+ "An unknown issue occurred while syncing the state of the connected account with the provider. This issue may affect the proper functioning of one or more resources in the account."
585
607
  );
586
608
  var scheduled_maintenance_window = common_connected_account_warning.extend({
587
609
  warning_code: zod.z.literal("scheduled_maintenance_window").describe(warning_code_description)
588
- }).describe("Scheduled downtime for account planned.");
610
+ }).describe("Scheduled downtime planned for the connected account.");
589
611
  var salto_ks_subscription_limit_almost_reached = common_connected_account_warning.extend({
590
612
  warning_code: zod.z.literal("salto_ks_subscription_limit_almost_reached").describe(warning_code_description),
591
613
  salto_ks_metadata: zod.z.object({
592
614
  sites: zod.z.array(
593
615
  zod.z.object({
594
- site_id: zod.z.string(),
595
- site_name: zod.z.string(),
596
- site_user_subscription_limit: zod.z.number().int().min(0),
597
- subscribed_site_user_count: zod.z.number().int().min(0)
598
- })
616
+ site_id: zod.z.string().describe(
617
+ "ID of a Salto site associated with the connected account that has a warning."
618
+ ),
619
+ site_name: zod.z.string().describe(
620
+ "Name of a Salto site associated with the connected account that has a warning."
621
+ ),
622
+ site_user_subscription_limit: zod.z.number().int().min(0).describe(
623
+ "Subscription limit of site users for a Salto site associated with the connected account that has a warning."
624
+ ),
625
+ subscribed_site_user_count: zod.z.number().int().min(0).describe(
626
+ "Count of subscribed site users for a Salto site associated with the connected account that has a warning."
627
+ )
628
+ }).describe(
629
+ "Salto site associated with the connected account that has a warning."
630
+ )
631
+ ).describe(
632
+ "Salto sites associated with the connected account that has a warning."
599
633
  )
600
- })
634
+ }).describe(
635
+ "Salto KS metadata associated with the connected account that has a warning."
636
+ )
601
637
  }).describe(
602
- "Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Please increase your subscription limit, or delete some users from your site to rectify this."
638
+ "Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Increase your subscription limit or delete some users from your site."
603
639
  );
604
640
  var connected_account_warning = zod.z.discriminatedUnion("warning_code", [
605
641
  scheduled_maintenance_window,
606
642
  unknown_issue_with_connected_account,
607
643
  salto_ks_subscription_limit_almost_reached
608
- ]).describe("Warning associated with the `connected_account`.");
644
+ ]).describe("Warning associated with the connected account.");
609
645
  zod.z.object({
610
646
  scheduled_maintenance_window: scheduled_maintenance_window.nullable().optional(),
611
647
  unknown_issue_with_connected_account: unknown_issue_with_connected_account.nullable().optional(),
612
648
  salto_ks_subscription_limit_almost_reached: salto_ks_subscription_limit_almost_reached.nullable().optional()
613
649
  });
614
650
  var connected_account = zod.z.object({
615
- connected_account_id: zod.z.string().uuid().optional(),
616
- created_at: zod.z.string().datetime().optional(),
651
+ connected_account_id: zod.z.string().uuid().optional().describe("Unique identifier for the connected account."),
652
+ created_at: zod.z.string().datetime().optional().describe("Date and time at which the connected account was created."),
617
653
  user_identifier: zod.z.object({
618
- username: zod.z.string().optional(),
619
- api_url: zod.z.string().optional(),
620
- email: zod.z.string().optional(),
621
- phone: zod.z.string().optional(),
622
- exclusive: zod.z.boolean().optional()
623
- }).optional(),
624
- account_type: zod.z.string().optional(),
625
- account_type_display_name: zod.z.string(),
626
- errors: zod.z.array(connected_account_error),
627
- warnings: zod.z.array(connected_account_warning),
654
+ username: zod.z.string().optional().describe(
655
+ "Username of the user identifier associated with the connected account."
656
+ ),
657
+ api_url: zod.z.string().optional().describe(
658
+ "API URL for the user identifier associated with the connected account."
659
+ ),
660
+ email: zod.z.string().optional().describe(
661
+ "Email address of the user identifier associated with the connected account."
662
+ ),
663
+ phone: zod.z.string().optional().describe(
664
+ "Phone number of the user identifier associated with the connected account."
665
+ ),
666
+ exclusive: zod.z.boolean().optional().describe(
667
+ "Indicates whether the user identifier associated with the connected account is exclusive."
668
+ )
669
+ }).optional().describe("User identifier associated with the connected account."),
670
+ account_type: zod.z.string().optional().describe("Type of connected account."),
671
+ account_type_display_name: zod.z.string().describe("Display name for the connected account type."),
672
+ errors: zod.z.array(connected_account_error).describe("Errors associated with the connected account."),
673
+ warnings: zod.z.array(connected_account_warning).describe("Warnings associated with the connected account."),
628
674
  custom_metadata,
629
- automatically_manage_new_devices: zod.z.boolean()
675
+ automatically_manage_new_devices: zod.z.boolean().describe(
676
+ "Indicates whether Seam should [import all new devices](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#automatically_manage_new_devices) for the connected account to make these devices available for use and management by the Seam API."
677
+ )
630
678
  }).describe(`
631
679
  ---
632
680
  route_path: /connected_accounts
@@ -3342,14 +3390,22 @@ var connect_webview_device_selection_mode = zod.z.enum([
3342
3390
  "multiple"
3343
3391
  ]);
3344
3392
  var connect_webview = zod.z.object({
3345
- connect_webview_id: zod.z.string().uuid(),
3346
- workspace_id: zod.z.string().uuid(),
3347
- created_at: zod.z.string().datetime(),
3348
- connected_account_id: zod.z.string().uuid().nullable(),
3349
- url: zod.z.string().url(),
3393
+ connect_webview_id: zod.z.string().uuid().describe("ID of the Connect Webview."),
3394
+ workspace_id: zod.z.string().uuid().describe(
3395
+ "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the Connect Webview."
3396
+ ),
3397
+ created_at: zod.z.string().datetime().describe("Date and time at which the Connect Webview was created."),
3398
+ connected_account_id: zod.z.string().uuid().nullable().describe(
3399
+ "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the Connect Webview."
3400
+ ),
3401
+ url: zod.z.string().url().describe(
3402
+ "URL for the Connect Webview. You use the URL to display the Connect Webview flow to your user."
3403
+ ),
3350
3404
  device_selection_mode: connect_webview_device_selection_mode,
3351
3405
  // TODO: Use enum value.
3352
- accepted_providers: zod.z.array(zod.z.string()),
3406
+ accepted_providers: zod.z.array(zod.z.string()).describe(
3407
+ "List of accepted [provider keys](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews)."
3408
+ ),
3353
3409
  accepted_devices: zod.z.array(zod.z.string()).describe(
3354
3410
  `
3355
3411
  ---
@@ -3366,16 +3422,32 @@ var connect_webview = zod.z.object({
3366
3422
  ---
3367
3423
  `
3368
3424
  ),
3369
- any_provider_allowed: zod.z.boolean(),
3370
- login_successful: zod.z.boolean(),
3371
- status: zod.z.enum(["pending", "failed", "authorized"]),
3372
- custom_redirect_url: zod.z.string().url().nullable(),
3373
- custom_redirect_failure_url: zod.z.string().url().nullable(),
3425
+ any_provider_allowed: zod.z.boolean().describe("Indicates whether any provider is allowed."),
3426
+ login_successful: zod.z.boolean().describe(
3427
+ "Indicates whether the user logged in successfully using the Connect Webview."
3428
+ ),
3429
+ status: zod.z.enum(["pending", "failed", "authorized"]).describe(
3430
+ "Status of the Connect Webview. `authorized` indicates that the user has successfully logged into their device or system account, thereby completing the Connect Webview."
3431
+ ),
3432
+ custom_redirect_url: zod.z.string().url().nullable().describe(
3433
+ "URL to which the Connect Webview should redirect when the user successfully pairs a device or system. If you do not set the `custom_redirect_failure_url`, the Connect Webview redirects to the `custom_redirect_url` when an unexpected error occurs."
3434
+ ),
3435
+ custom_redirect_failure_url: zod.z.string().url().nullable().describe(
3436
+ "URL to which the Connect Webview should redirect when an unexpected error occurs."
3437
+ ),
3374
3438
  custom_metadata,
3375
- automatically_manage_new_devices: zod.z.boolean(),
3376
- wait_for_device_creation: zod.z.boolean(),
3377
- authorized_at: zod.z.string().datetime().nullable(),
3378
- selected_provider: zod.z.string().nullable()
3439
+ automatically_manage_new_devices: zod.z.boolean().describe(
3440
+ "Indicates whether Seam should [import all new devices](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#automatically_manage_new_devices) for the connected account to make these devices available for use and management by the Seam API."
3441
+ ),
3442
+ wait_for_device_creation: zod.z.boolean().describe(
3443
+ "Indicates whether Seam should [finish syncing all devices](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#wait_for_device_creation) in a newly-connected account before completing the associated Connect Webview."
3444
+ ),
3445
+ authorized_at: zod.z.string().datetime().nullable().describe(
3446
+ "Date and time at which the user authorized (through the Connect Webview) the management of their devices."
3447
+ ),
3448
+ selected_provider: zod.z.string().nullable().describe(
3449
+ "Selected provider of the Connect Webview, one of the [provider keys](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews)."
3450
+ )
3379
3451
  }).describe(`
3380
3452
  ---
3381
3453
  route_path: /connect_webviews
@@ -5583,15 +5655,24 @@ var openapi_default = {
5583
5655
  enum: ["invalid_credentials"],
5584
5656
  type: "string"
5585
5657
  },
5586
- is_bridge_error: { type: "boolean" },
5587
- is_connected_account_error: { type: "boolean" },
5588
- message: { type: "string" }
5658
+ is_bridge_error: {
5659
+ description: "Indicates whether the error is related to Seam Bridge.",
5660
+ type: "boolean"
5661
+ },
5662
+ is_connected_account_error: {
5663
+ description: "Indicates whether the error is related specifically to the connected account.",
5664
+ type: "boolean"
5665
+ },
5666
+ message: {
5667
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
5668
+ type: "string"
5669
+ }
5589
5670
  },
5590
5671
  required: ["created_at", "message", "error_code"],
5591
5672
  type: "object"
5592
5673
  },
5593
5674
  {
5594
- description: "Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge), for example, if Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline.\n 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).",
5675
+ description: "Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge), for example, if 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).",
5595
5676
  properties: {
5596
5677
  created_at: {
5597
5678
  description: "Date and time at which Seam created the error.",
@@ -5603,9 +5684,18 @@ var openapi_default = {
5603
5684
  enum: ["bridge_disconnected"],
5604
5685
  type: "string"
5605
5686
  },
5606
- is_bridge_error: { type: "boolean" },
5607
- is_connected_account_error: { type: "boolean" },
5608
- message: { type: "string" }
5687
+ is_bridge_error: {
5688
+ description: "Indicates whether the error is related to Seam Bridge.",
5689
+ type: "boolean"
5690
+ },
5691
+ is_connected_account_error: {
5692
+ description: "Indicates whether the error is related specifically to the connected account.",
5693
+ type: "boolean"
5694
+ },
5695
+ message: {
5696
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
5697
+ type: "string"
5698
+ }
5609
5699
  },
5610
5700
  required: ["created_at", "message", "error_code"],
5611
5701
  type: "object"
@@ -11056,39 +11146,62 @@ var openapi_default = {
11056
11146
  "x-deprecated": "Unused. Will be removed.",
11057
11147
  "x-undocumented": "Unused. Will be removed."
11058
11148
  },
11059
- accepted_providers: { items: { type: "string" }, type: "array" },
11149
+ accepted_providers: {
11150
+ description: "List of accepted [provider keys](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews).",
11151
+ items: { type: "string" },
11152
+ type: "array"
11153
+ },
11060
11154
  any_device_allowed: {
11061
11155
  deprecated: true,
11062
11156
  type: "boolean",
11063
11157
  "x-deprecated": "Unused. Will be removed.",
11064
11158
  "x-undocumented": "Unused. Will be removed."
11065
11159
  },
11066
- any_provider_allowed: { type: "boolean" },
11160
+ any_provider_allowed: {
11161
+ description: "Indicates whether any provider is allowed.",
11162
+ type: "boolean"
11163
+ },
11067
11164
  authorized_at: {
11165
+ description: "Date and time at which the user authorized (through the Connect Webview) the management of their devices.",
11068
11166
  format: "date-time",
11069
11167
  nullable: true,
11070
11168
  type: "string"
11071
11169
  },
11072
- automatically_manage_new_devices: { type: "boolean" },
11073
- connect_webview_id: { format: "uuid", type: "string" },
11170
+ automatically_manage_new_devices: {
11171
+ description: "Indicates whether Seam should [import all new devices](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#automatically_manage_new_devices) for the connected account to make these devices available for use and management by the Seam API.",
11172
+ type: "boolean"
11173
+ },
11174
+ connect_webview_id: {
11175
+ description: "ID of the Connect Webview.",
11176
+ format: "uuid",
11177
+ type: "string"
11178
+ },
11074
11179
  connected_account_id: {
11180
+ description: "ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the Connect Webview.",
11075
11181
  format: "uuid",
11076
11182
  nullable: true,
11077
11183
  type: "string"
11078
11184
  },
11079
- created_at: { format: "date-time", type: "string" },
11185
+ created_at: {
11186
+ description: "Date and time at which the Connect Webview was created.",
11187
+ format: "date-time",
11188
+ type: "string"
11189
+ },
11080
11190
  custom_metadata: {
11081
11191
  additionalProperties: {
11082
11192
  oneOf: [{ type: "string" }, { type: "boolean" }]
11083
11193
  },
11194
+ description: "Set of key:value pairs. Adding custom metadata to a resource, such as a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview), [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account), or [device](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device), enables you to store custom information, like customer details or internal IDs from your application.",
11084
11195
  type: "object"
11085
11196
  },
11086
11197
  custom_redirect_failure_url: {
11198
+ description: "URL to which the Connect Webview should redirect when an unexpected error occurs.",
11087
11199
  format: "uri",
11088
11200
  nullable: true,
11089
11201
  type: "string"
11090
11202
  },
11091
11203
  custom_redirect_url: {
11204
+ description: "URL to which the Connect Webview should redirect when the user successfully pairs a device or system. If you do not set the `custom_redirect_failure_url`, the Connect Webview redirects to the `custom_redirect_url` when an unexpected error occurs.",
11092
11205
  format: "uri",
11093
11206
  nullable: true,
11094
11207
  type: "string"
@@ -11097,12 +11210,34 @@ var openapi_default = {
11097
11210
  enum: ["none", "single", "multiple"],
11098
11211
  type: "string"
11099
11212
  },
11100
- login_successful: { type: "boolean" },
11101
- selected_provider: { nullable: true, type: "string" },
11102
- status: { enum: ["pending", "failed", "authorized"], type: "string" },
11103
- url: { format: "uri", type: "string" },
11104
- wait_for_device_creation: { type: "boolean" },
11105
- workspace_id: { format: "uuid", type: "string" }
11213
+ login_successful: {
11214
+ description: "Indicates whether the user logged in successfully using the Connect Webview.",
11215
+ type: "boolean"
11216
+ },
11217
+ selected_provider: {
11218
+ description: "Selected provider of the Connect Webview, one of the [provider keys](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews).",
11219
+ nullable: true,
11220
+ type: "string"
11221
+ },
11222
+ status: {
11223
+ description: "Status of the Connect Webview. `authorized` indicates that the user has successfully logged into their device or system account, thereby completing the Connect Webview.",
11224
+ enum: ["pending", "failed", "authorized"],
11225
+ type: "string"
11226
+ },
11227
+ url: {
11228
+ description: "URL for the Connect Webview. You use the URL to display the Connect Webview flow to your user.",
11229
+ format: "uri",
11230
+ type: "string"
11231
+ },
11232
+ wait_for_device_creation: {
11233
+ description: "Indicates whether Seam should [finish syncing all devices](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#wait_for_device_creation) in a newly-connected account before completing the associated Connect Webview.",
11234
+ type: "boolean"
11235
+ },
11236
+ workspace_id: {
11237
+ description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the Connect Webview.",
11238
+ format: "uuid",
11239
+ type: "string"
11240
+ }
11106
11241
  },
11107
11242
  required: [
11108
11243
  "connect_webview_id",
@@ -11131,18 +11266,37 @@ var openapi_default = {
11131
11266
  connected_account: {
11132
11267
  description: "Represents a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). A connected account is an external third-party account to which your user has authorized Seam to get access, for example, an August account with a list of door locks.",
11133
11268
  properties: {
11134
- account_type: { type: "string" },
11135
- account_type_display_name: { type: "string" },
11136
- automatically_manage_new_devices: { type: "boolean" },
11137
- connected_account_id: { format: "uuid", type: "string" },
11138
- created_at: { format: "date-time", type: "string" },
11269
+ account_type: {
11270
+ description: "Type of connected account.",
11271
+ type: "string"
11272
+ },
11273
+ account_type_display_name: {
11274
+ description: "Display name for the connected account type.",
11275
+ type: "string"
11276
+ },
11277
+ automatically_manage_new_devices: {
11278
+ description: "Indicates whether Seam should [import all new devices](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#automatically_manage_new_devices) for the connected account to make these devices available for use and management by the Seam API.",
11279
+ type: "boolean"
11280
+ },
11281
+ connected_account_id: {
11282
+ description: "Unique identifier for the connected account.",
11283
+ format: "uuid",
11284
+ type: "string"
11285
+ },
11286
+ created_at: {
11287
+ description: "Date and time at which the connected account was created.",
11288
+ format: "date-time",
11289
+ type: "string"
11290
+ },
11139
11291
  custom_metadata: {
11140
11292
  additionalProperties: {
11141
11293
  oneOf: [{ type: "string" }, { type: "boolean" }]
11142
11294
  },
11295
+ description: "Set of key:value pairs. Adding custom metadata to a resource, such as a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview), [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account), or [device](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device), enables you to store custom information, like customer details or internal IDs from your application.",
11143
11296
  type: "object"
11144
11297
  },
11145
11298
  errors: {
11299
+ description: "Errors associated with the connected account.",
11146
11300
  items: {
11147
11301
  discriminator: { propertyName: "error_code" },
11148
11302
  oneOf: [
@@ -11159,9 +11313,18 @@ var openapi_default = {
11159
11313
  enum: ["account_disconnected"],
11160
11314
  type: "string"
11161
11315
  },
11162
- is_bridge_error: { type: "boolean" },
11163
- is_connected_account_error: { type: "boolean" },
11164
- message: { type: "string" }
11316
+ is_bridge_error: {
11317
+ description: "Indicates whether the error is related to Seam Bridge.",
11318
+ type: "boolean"
11319
+ },
11320
+ is_connected_account_error: {
11321
+ description: "Indicates whether the error is related specifically to the connected account.",
11322
+ type: "boolean"
11323
+ },
11324
+ message: {
11325
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
11326
+ type: "string"
11327
+ }
11165
11328
  },
11166
11329
  required: ["created_at", "message", "error_code"],
11167
11330
  type: "object"
@@ -11179,15 +11342,24 @@ var openapi_default = {
11179
11342
  enum: ["invalid_credentials"],
11180
11343
  type: "string"
11181
11344
  },
11182
- is_bridge_error: { type: "boolean" },
11183
- is_connected_account_error: { type: "boolean" },
11184
- message: { type: "string" }
11345
+ is_bridge_error: {
11346
+ description: "Indicates whether the error is related to Seam Bridge.",
11347
+ type: "boolean"
11348
+ },
11349
+ is_connected_account_error: {
11350
+ description: "Indicates whether the error is related specifically to the connected account.",
11351
+ type: "boolean"
11352
+ },
11353
+ message: {
11354
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
11355
+ type: "string"
11356
+ }
11185
11357
  },
11186
11358
  required: ["created_at", "message", "error_code"],
11187
11359
  type: "object"
11188
11360
  },
11189
11361
  {
11190
- description: "Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge), for example, if Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline.\n 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).",
11362
+ description: "Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge), for example, if 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).",
11191
11363
  properties: {
11192
11364
  created_at: {
11193
11365
  description: "Date and time at which Seam created the error.",
@@ -11199,9 +11371,18 @@ var openapi_default = {
11199
11371
  enum: ["bridge_disconnected"],
11200
11372
  type: "string"
11201
11373
  },
11202
- is_bridge_error: { type: "boolean" },
11203
- is_connected_account_error: { type: "boolean" },
11204
- message: { type: "string" }
11374
+ is_bridge_error: {
11375
+ description: "Indicates whether the error is related to Seam Bridge.",
11376
+ type: "boolean"
11377
+ },
11378
+ is_connected_account_error: {
11379
+ description: "Indicates whether the error is related specifically to the connected account.",
11380
+ type: "boolean"
11381
+ },
11382
+ message: {
11383
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
11384
+ type: "string"
11385
+ }
11205
11386
  },
11206
11387
  required: ["created_at", "message", "error_code"],
11207
11388
  type: "object"
@@ -11219,21 +11400,41 @@ var openapi_default = {
11219
11400
  enum: ["salto_ks_subscription_limit_exceeded"],
11220
11401
  type: "string"
11221
11402
  },
11222
- is_bridge_error: { type: "boolean" },
11223
- is_connected_account_error: { type: "boolean" },
11224
- message: { type: "string" },
11403
+ is_bridge_error: {
11404
+ description: "Indicates whether the error is related to Seam Bridge.",
11405
+ type: "boolean"
11406
+ },
11407
+ is_connected_account_error: {
11408
+ description: "Indicates whether the error is related specifically to the connected account.",
11409
+ type: "boolean"
11410
+ },
11411
+ message: {
11412
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
11413
+ type: "string"
11414
+ },
11225
11415
  salto_ks_metadata: {
11416
+ description: "Salto KS metadata associated with the connected account that has an error.",
11226
11417
  properties: {
11227
11418
  sites: {
11419
+ description: "Salto sites associated with the connected account that has an error.",
11228
11420
  items: {
11421
+ description: "Salto site associated with the connected account that has an error.",
11229
11422
  properties: {
11230
- site_id: { type: "string" },
11231
- site_name: { type: "string" },
11423
+ site_id: {
11424
+ description: "ID of a Salto site associated with the connected account that has an error.",
11425
+ type: "string"
11426
+ },
11427
+ site_name: {
11428
+ description: "Name of a Salto site associated with the connected account that has an error.",
11429
+ type: "string"
11430
+ },
11232
11431
  site_user_subscription_limit: {
11432
+ description: "Subscription limit of site users for a Salto site associated with the connected account that has an error.",
11233
11433
  minimum: 0,
11234
11434
  type: "integer"
11235
11435
  },
11236
11436
  subscribed_site_user_count: {
11437
+ description: "Count of subscribed site users for a Salto site associated with the connected account that has an error.",
11237
11438
  minimum: 0,
11238
11439
  type: "integer"
11239
11440
  }
@@ -11266,29 +11467,49 @@ var openapi_default = {
11266
11467
  type: "array"
11267
11468
  },
11268
11469
  user_identifier: {
11470
+ description: "User identifier associated with the connected account.",
11269
11471
  properties: {
11270
- api_url: { type: "string" },
11271
- email: { type: "string" },
11272
- exclusive: { type: "boolean" },
11273
- phone: { type: "string" },
11274
- username: { type: "string" }
11472
+ api_url: {
11473
+ description: "API URL for the user identifier associated with the connected account.",
11474
+ type: "string"
11475
+ },
11476
+ email: {
11477
+ description: "Email address of the user identifier associated with the connected account.",
11478
+ type: "string"
11479
+ },
11480
+ exclusive: {
11481
+ description: "Indicates whether the user identifier associated with the connected account is exclusive.",
11482
+ type: "boolean"
11483
+ },
11484
+ phone: {
11485
+ description: "Phone number of the user identifier associated with the connected account.",
11486
+ type: "string"
11487
+ },
11488
+ username: {
11489
+ description: "Username of the user identifier associated with the connected account.",
11490
+ type: "string"
11491
+ }
11275
11492
  },
11276
11493
  type: "object"
11277
11494
  },
11278
11495
  warnings: {
11496
+ description: "Warnings associated with the connected account.",
11279
11497
  items: {
11280
- description: "Warning associated with the `connected_account`.",
11498
+ description: "Warning associated with the connected account.",
11281
11499
  discriminator: { propertyName: "warning_code" },
11282
11500
  oneOf: [
11283
11501
  {
11284
- description: "Scheduled downtime for account planned.",
11502
+ description: "Scheduled downtime planned for the connected account.",
11285
11503
  properties: {
11286
11504
  created_at: {
11287
11505
  description: "Date and time at which Seam created the warning.",
11288
11506
  format: "date-time",
11289
11507
  type: "string"
11290
11508
  },
11291
- message: { type: "string" },
11509
+ message: {
11510
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
11511
+ type: "string"
11512
+ },
11292
11513
  warning_code: {
11293
11514
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
11294
11515
  enum: ["scheduled_maintenance_window"],
@@ -11299,14 +11520,17 @@ var openapi_default = {
11299
11520
  type: "object"
11300
11521
  },
11301
11522
  {
11302
- description: "An unknown issue occurred while syncing the state of this connected account with the provider. This issue may affect the proper functioning of one or more resources in this account.",
11523
+ description: "An unknown issue occurred while syncing the state of the connected account with the provider. This issue may affect the proper functioning of one or more resources in the account.",
11303
11524
  properties: {
11304
11525
  created_at: {
11305
11526
  description: "Date and time at which Seam created the warning.",
11306
11527
  format: "date-time",
11307
11528
  type: "string"
11308
11529
  },
11309
- message: { type: "string" },
11530
+ message: {
11531
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
11532
+ type: "string"
11533
+ },
11310
11534
  warning_code: {
11311
11535
  description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
11312
11536
  enum: ["unknown_issue_with_connected_account"],
@@ -11317,26 +11541,40 @@ var openapi_default = {
11317
11541
  type: "object"
11318
11542
  },
11319
11543
  {
11320
- description: "Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Please increase your subscription limit, or delete some users from your site to rectify this.",
11544
+ description: "Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Increase your subscription limit or delete some users from your site.",
11321
11545
  properties: {
11322
11546
  created_at: {
11323
11547
  description: "Date and time at which Seam created the warning.",
11324
11548
  format: "date-time",
11325
11549
  type: "string"
11326
11550
  },
11327
- message: { type: "string" },
11551
+ message: {
11552
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
11553
+ type: "string"
11554
+ },
11328
11555
  salto_ks_metadata: {
11556
+ description: "Salto KS metadata associated with the connected account that has a warning.",
11329
11557
  properties: {
11330
11558
  sites: {
11559
+ description: "Salto sites associated with the connected account that has a warning.",
11331
11560
  items: {
11561
+ description: "Salto site associated with the connected account that has a warning.",
11332
11562
  properties: {
11333
- site_id: { type: "string" },
11334
- site_name: { type: "string" },
11563
+ site_id: {
11564
+ description: "ID of a Salto site associated with the connected account that has a warning.",
11565
+ type: "string"
11566
+ },
11567
+ site_name: {
11568
+ description: "Name of a Salto site associated with the connected account that has a warning.",
11569
+ type: "string"
11570
+ },
11335
11571
  site_user_subscription_limit: {
11572
+ description: "Subscription limit of site users for a Salto site associated with the connected account that has a warning.",
11336
11573
  minimum: 0,
11337
11574
  type: "integer"
11338
11575
  },
11339
11576
  subscribed_site_user_count: {
11577
+ description: "Count of subscribed site users for a Salto site associated with the connected account that has a warning.",
11340
11578
  minimum: 0,
11341
11579
  type: "integer"
11342
11580
  }
@@ -11427,6 +11665,7 @@ var openapi_default = {
11427
11665
  additionalProperties: {
11428
11666
  oneOf: [{ type: "string" }, { type: "boolean" }]
11429
11667
  },
11668
+ description: "Set of key:value pairs. Adding custom metadata to a resource, such as a [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview), [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account), or [device](https://docs.seam.co/latest/core-concepts/devices/adding-custom-metadata-to-a-device), enables you to store custom information, like customer details or internal IDs from your application.",
11430
11669
  type: "object"
11431
11670
  },
11432
11671
  device_id: {
@@ -11783,15 +12022,24 @@ var openapi_default = {
11783
12022
  enum: ["invalid_credentials"],
11784
12023
  type: "string"
11785
12024
  },
11786
- is_bridge_error: { type: "boolean" },
11787
- is_connected_account_error: { type: "boolean" },
11788
- message: { type: "string" }
12025
+ is_bridge_error: {
12026
+ description: "Indicates whether the error is related to Seam Bridge.",
12027
+ type: "boolean"
12028
+ },
12029
+ is_connected_account_error: {
12030
+ description: "Indicates whether the error is related specifically to the connected account.",
12031
+ type: "boolean"
12032
+ },
12033
+ message: {
12034
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
12035
+ type: "string"
12036
+ }
11789
12037
  },
11790
12038
  required: ["created_at", "message", "error_code"],
11791
12039
  type: "object"
11792
12040
  },
11793
12041
  {
11794
- description: "Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge), for example, if Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline.\n 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).",
12042
+ description: "Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge), for example, if 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).",
11795
12043
  properties: {
11796
12044
  created_at: {
11797
12045
  description: "Date and time at which Seam created the error.",
@@ -11803,9 +12051,18 @@ var openapi_default = {
11803
12051
  enum: ["bridge_disconnected"],
11804
12052
  type: "string"
11805
12053
  },
11806
- is_bridge_error: { type: "boolean" },
11807
- is_connected_account_error: { type: "boolean" },
11808
- message: { type: "string" }
12054
+ is_bridge_error: {
12055
+ description: "Indicates whether the error is related to Seam Bridge.",
12056
+ type: "boolean"
12057
+ },
12058
+ is_connected_account_error: {
12059
+ description: "Indicates whether the error is related specifically to the connected account.",
12060
+ type: "boolean"
12061
+ },
12062
+ message: {
12063
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
12064
+ type: "string"
12065
+ }
11809
12066
  },
11810
12067
  required: ["created_at", "message", "error_code"],
11811
12068
  type: "object"
@@ -20076,15 +20333,24 @@ var openapi_default = {
20076
20333
  enum: ["invalid_credentials"],
20077
20334
  type: "string"
20078
20335
  },
20079
- is_bridge_error: { type: "boolean" },
20080
- is_connected_account_error: { type: "boolean" },
20081
- message: { type: "string" }
20336
+ is_bridge_error: {
20337
+ description: "Indicates whether the error is related to Seam Bridge.",
20338
+ type: "boolean"
20339
+ },
20340
+ is_connected_account_error: {
20341
+ description: "Indicates whether the error is related specifically to the connected account.",
20342
+ type: "boolean"
20343
+ },
20344
+ message: {
20345
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
20346
+ type: "string"
20347
+ }
20082
20348
  },
20083
20349
  required: ["created_at", "message", "error_code"],
20084
20350
  type: "object"
20085
20351
  },
20086
20352
  {
20087
- description: "Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge), for example, if Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline.\n 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).",
20353
+ description: "Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge), for example, if 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).",
20088
20354
  properties: {
20089
20355
  created_at: {
20090
20356
  description: "Date and time at which Seam created the error.",
@@ -20096,9 +20362,18 @@ var openapi_default = {
20096
20362
  enum: ["bridge_disconnected"],
20097
20363
  type: "string"
20098
20364
  },
20099
- is_bridge_error: { type: "boolean" },
20100
- is_connected_account_error: { type: "boolean" },
20101
- message: { type: "string" }
20365
+ is_bridge_error: {
20366
+ description: "Indicates whether the error is related to Seam Bridge.",
20367
+ type: "boolean"
20368
+ },
20369
+ is_connected_account_error: {
20370
+ description: "Indicates whether the error is related specifically to the connected account.",
20371
+ type: "boolean"
20372
+ },
20373
+ message: {
20374
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
20375
+ type: "string"
20376
+ }
20102
20377
  },
20103
20378
  required: ["created_at", "message", "error_code"],
20104
20379
  type: "object"
@@ -21798,15 +22073,24 @@ var openapi_default = {
21798
22073
  enum: ["invalid_credentials"],
21799
22074
  type: "string"
21800
22075
  },
21801
- is_bridge_error: { type: "boolean" },
21802
- is_connected_account_error: { type: "boolean" },
21803
- message: { type: "string" }
22076
+ is_bridge_error: {
22077
+ description: "Indicates whether the error is related to Seam Bridge.",
22078
+ type: "boolean"
22079
+ },
22080
+ is_connected_account_error: {
22081
+ description: "Indicates whether the error is related specifically to the connected account.",
22082
+ type: "boolean"
22083
+ },
22084
+ message: {
22085
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
22086
+ type: "string"
22087
+ }
21804
22088
  },
21805
22089
  required: ["created_at", "message", "error_code"],
21806
22090
  type: "object"
21807
22091
  },
21808
22092
  {
21809
- description: "Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge), for example, if Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline.\n 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).",
22093
+ description: "Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge), for example, if 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).",
21810
22094
  properties: {
21811
22095
  created_at: {
21812
22096
  description: "Date and time at which Seam created the error.",
@@ -21818,9 +22102,18 @@ var openapi_default = {
21818
22102
  enum: ["bridge_disconnected"],
21819
22103
  type: "string"
21820
22104
  },
21821
- is_bridge_error: { type: "boolean" },
21822
- is_connected_account_error: { type: "boolean" },
21823
- message: { type: "string" }
22105
+ is_bridge_error: {
22106
+ description: "Indicates whether the error is related to Seam Bridge.",
22107
+ type: "boolean"
22108
+ },
22109
+ is_connected_account_error: {
22110
+ description: "Indicates whether the error is related specifically to the connected account.",
22111
+ type: "boolean"
22112
+ },
22113
+ message: {
22114
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
22115
+ type: "string"
22116
+ }
21824
22117
  },
21825
22118
  required: ["created_at", "message", "error_code"],
21826
22119
  type: "object"
@@ -27239,13 +27532,22 @@ var openapi_default = {
27239
27532
  "application/json": {
27240
27533
  schema: {
27241
27534
  properties: {
27535
+ acs_system_id: {
27536
+ description: "ID of the access system that you want to delete. You must provide acs_system_id with user_identity_id.",
27537
+ format: "uuid",
27538
+ type: "string"
27539
+ },
27242
27540
  acs_user_id: {
27243
- description: "ID of the access system user that you want to delete.",
27541
+ description: "ID of the access system user that you want to delete. You must provide either acs_user_id or user_identity_id",
27542
+ format: "uuid",
27543
+ type: "string"
27544
+ },
27545
+ user_identity_id: {
27546
+ description: "ID of the user identity that you want to delete. You must provide either acs_user_id or user_identity_id. If you provide user_identity_id, you must also provide acs_system_id.",
27244
27547
  format: "uuid",
27245
27548
  type: "string"
27246
27549
  }
27247
27550
  },
27248
- required: ["acs_user_id"],
27249
27551
  type: "object"
27250
27552
  }
27251
27553
  }
@@ -27289,13 +27591,22 @@ var openapi_default = {
27289
27591
  "application/json": {
27290
27592
  schema: {
27291
27593
  properties: {
27594
+ acs_system_id: {
27595
+ description: "ID of the access system that you want to get. You can only provide acs_user_id or user_identity_id.",
27596
+ format: "uuid",
27597
+ type: "string"
27598
+ },
27292
27599
  acs_user_id: {
27293
- description: "ID of the access system user that you want to get.",
27600
+ description: "ID of the access system user that you want to get. You can only provide acs_user_id or user_identity_id.",
27601
+ format: "uuid",
27602
+ type: "string"
27603
+ },
27604
+ user_identity_id: {
27605
+ description: "ID of the user identity that you want to get. You can only provide acs_user_id or user_identity_id.",
27294
27606
  format: "uuid",
27295
27607
  type: "string"
27296
27608
  }
27297
27609
  },
27298
- required: ["acs_user_id"],
27299
27610
  type: "object"
27300
27611
  }
27301
27612
  }
@@ -27509,12 +27820,17 @@ var openapi_default = {
27509
27820
  type: "string"
27510
27821
  },
27511
27822
  acs_user_id: {
27512
- description: "ID of the access system user that you want to remove from an access group.",
27823
+ description: "ID of the access system user that you want to remove from an access group. You can only provide acs_user_id or user_identity_id.",
27824
+ format: "uuid",
27825
+ type: "string"
27826
+ },
27827
+ user_identity_id: {
27828
+ description: "ID of the user identity that you want to remove from an access group. You can only provide acs_user_id or user_identity_id.",
27513
27829
  format: "uuid",
27514
27830
  type: "string"
27515
27831
  }
27516
27832
  },
27517
- required: ["acs_user_id", "acs_access_group_id"],
27833
+ required: ["acs_access_group_id"],
27518
27834
  type: "object"
27519
27835
  }
27520
27836
  }
@@ -27558,13 +27874,22 @@ var openapi_default = {
27558
27874
  "application/json": {
27559
27875
  schema: {
27560
27876
  properties: {
27877
+ acs_system_id: {
27878
+ description: "ID of the access system for which you want to revoke access. You can only provide acs_system_id with user_identity_id.",
27879
+ format: "uuid",
27880
+ type: "string"
27881
+ },
27561
27882
  acs_user_id: {
27562
- description: "ID of the access system user for whom you want to revoke access.",
27883
+ description: "ID of the access system user for whom you want to revoke access. You can only provide acs_user_id or user_identity_id.",
27884
+ format: "uuid",
27885
+ type: "string"
27886
+ },
27887
+ user_identity_id: {
27888
+ description: "ID of the user identity for whom you want to revoke access. You can only provide acs_user_id or user_identity_id.",
27563
27889
  format: "uuid",
27564
27890
  type: "string"
27565
27891
  }
27566
27892
  },
27567
- required: ["acs_user_id"],
27568
27893
  type: "object"
27569
27894
  }
27570
27895
  }
@@ -27608,13 +27933,22 @@ var openapi_default = {
27608
27933
  "application/json": {
27609
27934
  schema: {
27610
27935
  properties: {
27936
+ acs_system_id: {
27937
+ description: "ID of the access system that you want to suspend. You can only provide acs_user_id or the combination of acs_system_id and user_identity_id.",
27938
+ format: "uuid",
27939
+ type: "string"
27940
+ },
27611
27941
  acs_user_id: {
27612
- description: "ID of the access system user that you want to suspend.",
27942
+ description: "ID of the access system user that you want to suspend. You can only provide acs_user_id or the combination of acs_system_id and user_identity_id.",
27943
+ format: "uuid",
27944
+ type: "string"
27945
+ },
27946
+ user_identity_id: {
27947
+ description: "ID of the user identity that you want to suspend. You can only provide acs_user_id or the combination of acs_system_id and user_identity_id.",
27613
27948
  format: "uuid",
27614
27949
  type: "string"
27615
27950
  }
27616
27951
  },
27617
- required: ["acs_user_id"],
27618
27952
  type: "object"
27619
27953
  }
27620
27954
  }
@@ -27793,13 +28127,22 @@ var openapi_default = {
27793
28127
  "application/json": {
27794
28128
  schema: {
27795
28129
  properties: {
28130
+ acs_system_id: {
28131
+ description: "ID of the access system of the user that you want to unsuspend. You can only provide acs_system_id with user_identity_id.",
28132
+ format: "uuid",
28133
+ type: "string"
28134
+ },
27796
28135
  acs_user_id: {
27797
- description: "ID of the access system user that you want to unsuspend.",
28136
+ description: "ID of the access system user that you want to unsuspend. You can only provide acs_user_id or the combination of acs_system_id and user_identity_id.",
28137
+ format: "uuid",
28138
+ type: "string"
28139
+ },
28140
+ user_identity_id: {
28141
+ description: "ID of the user identity that you want to unsuspend. You can only provide acs_user_id or the combination of acs_system_id and user_identity_id.",
27798
28142
  format: "uuid",
27799
28143
  type: "string"
27800
28144
  }
27801
28145
  },
27802
- required: ["acs_user_id"],
27803
28146
  type: "object"
27804
28147
  }
27805
28148
  }
@@ -27861,8 +28204,13 @@ var openapi_default = {
27861
28204
  required: ["starts_at", "ends_at"],
27862
28205
  type: "object"
27863
28206
  },
28207
+ acs_system_id: {
28208
+ description: "ID of the access system that you want to update. You can only provide acs_system_id with user_identity_id.",
28209
+ format: "uuid",
28210
+ type: "string"
28211
+ },
27864
28212
  acs_user_id: {
27865
- description: "ID of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).",
28213
+ description: "ID of the access system user that you want to update. You can only provide acs_user_id or user_identity_id.",
27866
28214
  format: "uuid",
27867
28215
  type: "string"
27868
28216
  },
@@ -27886,9 +28234,13 @@ var openapi_default = {
27886
28234
  phone_number: {
27887
28235
  description: "Phone number of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in E.164 format (for example, `+15555550100`).",
27888
28236
  type: "string"
28237
+ },
28238
+ user_identity_id: {
28239
+ description: "ID of the user identity that you want to update. You can only provide acs_user_id or user_identity_id. If you provide user_identity_id, you must also provide acs_system_id.",
28240
+ format: "uuid",
28241
+ type: "string"
27889
28242
  }
27890
28243
  },
27891
- required: ["acs_user_id"],
27892
28244
  type: "object"
27893
28245
  }
27894
28246
  }
@@ -27947,8 +28299,13 @@ var openapi_default = {
27947
28299
  required: ["starts_at", "ends_at"],
27948
28300
  type: "object"
27949
28301
  },
28302
+ acs_system_id: {
28303
+ description: "ID of the access system that you want to update. You can only provide acs_system_id with user_identity_id.",
28304
+ format: "uuid",
28305
+ type: "string"
28306
+ },
27950
28307
  acs_user_id: {
27951
- description: "ID of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).",
28308
+ description: "ID of the access system user that you want to update. You can only provide acs_user_id or user_identity_id.",
27952
28309
  format: "uuid",
27953
28310
  type: "string"
27954
28311
  },
@@ -27972,9 +28329,13 @@ var openapi_default = {
27972
28329
  phone_number: {
27973
28330
  description: "Phone number of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in E.164 format (for example, `+15555550100`).",
27974
28331
  type: "string"
28332
+ },
28333
+ user_identity_id: {
28334
+ description: "ID of the user identity that you want to update. You can only provide acs_user_id or user_identity_id. If you provide user_identity_id, you must also provide acs_system_id.",
28335
+ format: "uuid",
28336
+ type: "string"
27975
28337
  }
27976
28338
  },
27977
- required: ["acs_user_id"],
27978
28339
  type: "object"
27979
28340
  }
27980
28341
  }