@seamapi/types 1.558.0 → 1.559.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 CHANGED
@@ -580,9 +580,6 @@ var common_connected_account_warning = zod.z.object({
580
580
  var account_disconnected = common_connected_account_error.extend({
581
581
  error_code: zod.z.literal("account_disconnected").describe(error_code_description)
582
582
  }).describe("Indicates that the account is disconnected.");
583
- var invalid_credentials = common_connected_account_error.extend({
584
- error_code: zod.z.literal("invalid_credentials").describe(error_code_description)
585
- }).describe("Indicates that the credentials provided were invalid.");
586
583
  var bridge_disconnected = common_connected_account_error.extend({
587
584
  error_code: zod.z.literal("bridge_disconnected").describe(error_code_description)
588
585
  }).describe(
@@ -619,13 +616,11 @@ var salto_ks_subscription_limit_exceeded = common_connected_account_error.extend
619
616
  );
620
617
  var connected_account_error = zod.z.discriminatedUnion("error_code", [
621
618
  account_disconnected,
622
- invalid_credentials,
623
619
  bridge_disconnected,
624
620
  salto_ks_subscription_limit_exceeded
625
621
  ]);
626
622
  zod.z.object({
627
623
  account_disconnected: account_disconnected.nullable().optional(),
628
- invalid_credentials: invalid_credentials.nullable().optional(),
629
624
  bridge_disconnected: bridge_disconnected.nullable().optional(),
630
625
  salto_ks_subscription_limit_exceeded: salto_ks_subscription_limit_exceeded.nullable().optional()
631
626
  });
@@ -6815,35 +6810,6 @@ var openapi_default = {
6815
6810
  ],
6816
6811
  type: "object"
6817
6812
  },
6818
- {
6819
- description: "Indicates that the credentials provided were invalid.",
6820
- properties: {
6821
- created_at: {
6822
- description: "Date and time at which Seam created the error.",
6823
- format: "date-time",
6824
- type: "string"
6825
- },
6826
- error_code: {
6827
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
6828
- enum: ["invalid_credentials"],
6829
- type: "string"
6830
- },
6831
- is_bridge_error: {
6832
- description: "Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge).",
6833
- type: "boolean"
6834
- },
6835
- is_connected_account_error: {
6836
- description: "Indicates whether the error is related specifically to the connected account.",
6837
- type: "boolean"
6838
- },
6839
- message: {
6840
- description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
6841
- type: "string"
6842
- }
6843
- },
6844
- required: ["created_at", "message", "error_code"],
6845
- type: "object"
6846
- },
6847
6813
  {
6848
6814
  description: "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).",
6849
6815
  properties: {
@@ -13622,35 +13588,6 @@ var openapi_default = {
13622
13588
  required: ["created_at", "message", "error_code"],
13623
13589
  type: "object"
13624
13590
  },
13625
- {
13626
- description: "Indicates that the credentials provided were invalid.",
13627
- properties: {
13628
- created_at: {
13629
- description: "Date and time at which Seam created the error.",
13630
- format: "date-time",
13631
- type: "string"
13632
- },
13633
- error_code: {
13634
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
13635
- enum: ["invalid_credentials"],
13636
- type: "string"
13637
- },
13638
- is_bridge_error: {
13639
- description: "Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge).",
13640
- type: "boolean"
13641
- },
13642
- is_connected_account_error: {
13643
- description: "Indicates whether the error is related specifically to the connected account.",
13644
- type: "boolean"
13645
- },
13646
- message: {
13647
- description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
13648
- type: "string"
13649
- }
13650
- },
13651
- required: ["created_at", "message", "error_code"],
13652
- type: "object"
13653
- },
13654
13591
  {
13655
13592
  description: "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).",
13656
13593
  properties: {
@@ -14521,35 +14458,6 @@ var openapi_default = {
14521
14458
  ],
14522
14459
  type: "object"
14523
14460
  },
14524
- {
14525
- description: "Indicates that the credentials provided were invalid.",
14526
- properties: {
14527
- created_at: {
14528
- description: "Date and time at which Seam created the error.",
14529
- format: "date-time",
14530
- type: "string"
14531
- },
14532
- error_code: {
14533
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
14534
- enum: ["invalid_credentials"],
14535
- type: "string"
14536
- },
14537
- is_bridge_error: {
14538
- description: "Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge).",
14539
- type: "boolean"
14540
- },
14541
- is_connected_account_error: {
14542
- description: "Indicates whether the error is related specifically to the connected account.",
14543
- type: "boolean"
14544
- },
14545
- message: {
14546
- description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
14547
- type: "string"
14548
- }
14549
- },
14550
- required: ["created_at", "message", "error_code"],
14551
- type: "object"
14552
- },
14553
14461
  {
14554
14462
  description: "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).",
14555
14463
  properties: {
@@ -25659,35 +25567,6 @@ var openapi_default = {
25659
25567
  ],
25660
25568
  type: "object"
25661
25569
  },
25662
- {
25663
- description: "Indicates that the credentials provided were invalid.",
25664
- properties: {
25665
- created_at: {
25666
- description: "Date and time at which Seam created the error.",
25667
- format: "date-time",
25668
- type: "string"
25669
- },
25670
- error_code: {
25671
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
25672
- enum: ["invalid_credentials"],
25673
- type: "string"
25674
- },
25675
- is_bridge_error: {
25676
- description: "Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge).",
25677
- type: "boolean"
25678
- },
25679
- is_connected_account_error: {
25680
- description: "Indicates whether the error is related specifically to the connected account.",
25681
- type: "boolean"
25682
- },
25683
- message: {
25684
- description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
25685
- type: "string"
25686
- }
25687
- },
25688
- required: ["created_at", "message", "error_code"],
25689
- type: "object"
25690
- },
25691
25570
  {
25692
25571
  description: "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).",
25693
25572
  properties: {
@@ -27731,35 +27610,6 @@ var openapi_default = {
27731
27610
  ],
27732
27611
  type: "object"
27733
27612
  },
27734
- {
27735
- description: "Indicates that the credentials provided were invalid.",
27736
- properties: {
27737
- created_at: {
27738
- description: "Date and time at which Seam created the error.",
27739
- format: "date-time",
27740
- type: "string"
27741
- },
27742
- error_code: {
27743
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
27744
- enum: ["invalid_credentials"],
27745
- type: "string"
27746
- },
27747
- is_bridge_error: {
27748
- description: "Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge).",
27749
- type: "boolean"
27750
- },
27751
- is_connected_account_error: {
27752
- description: "Indicates whether the error is related specifically to the connected account.",
27753
- type: "boolean"
27754
- },
27755
- message: {
27756
- description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
27757
- type: "string"
27758
- }
27759
- },
27760
- required: ["created_at", "message", "error_code"],
27761
- type: "object"
27762
- },
27763
27613
  {
27764
27614
  description: "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).",
27765
27615
  properties: {