@seamapi/types 1.427.0 → 1.428.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.
@@ -7,7 +7,7 @@ export declare const access_method: z.ZodObject<{
7
7
  created_at: z.ZodString;
8
8
  issued_at: z.ZodOptional<z.ZodString>;
9
9
  instant_key_url: z.ZodOptional<z.ZodString>;
10
- is_card_encoding_required: z.ZodOptional<z.ZodBoolean>;
10
+ is_encoding_required: z.ZodOptional<z.ZodBoolean>;
11
11
  }, "strip", z.ZodTypeAny, {
12
12
  display_name: string;
13
13
  workspace_id: string;
@@ -16,7 +16,7 @@ export declare const access_method: z.ZodObject<{
16
16
  access_method_id: string;
17
17
  instant_key_url?: string | undefined;
18
18
  issued_at?: string | undefined;
19
- is_card_encoding_required?: boolean | undefined;
19
+ is_encoding_required?: boolean | undefined;
20
20
  }, {
21
21
  display_name: string;
22
22
  workspace_id: string;
@@ -25,6 +25,6 @@ export declare const access_method: z.ZodObject<{
25
25
  access_method_id: string;
26
26
  instant_key_url?: string | undefined;
27
27
  issued_at?: string | undefined;
28
- is_card_encoding_required?: boolean | undefined;
28
+ is_encoding_required?: boolean | undefined;
29
29
  }>;
30
30
  export type AccessMethod = z.infer<typeof access_method>;
@@ -23,10 +23,10 @@ export const access_method = z.object({
23
23
  .url()
24
24
  .optional()
25
25
  .describe('URL of the Instant Key for mobile key access methods.'),
26
- is_card_encoding_required: z
26
+ is_encoding_required: z
27
27
  .boolean()
28
28
  .optional()
29
- .describe('Indicates whether card encoding is required for plastic card access methods.'),
29
+ .describe('Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method.'),
30
30
  }).describe(`
31
31
  ---
32
32
  draft: Early access.
@@ -1 +1 @@
1
- {"version":3,"file":"access-method.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-grants/access-method.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,6DAA6D,CAAC;IAC1E,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,0BAA0B,CAAC;IACxE,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oCAAoC,CAAC;IACvE,IAAI,EAAE,CAAC;SACJ,IAAI,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,CAAC,CAAC;SACpC,QAAQ,CACP,qEAAqE,CACtE;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,sDAAsD,CAAC;IACnE,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,yBAAyB,EAAE,CAAC;SACzB,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,8EAA8E,CAC/E;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
1
+ {"version":3,"file":"access-method.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-grants/access-method.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,6DAA6D,CAAC;IAC1E,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,0BAA0B,CAAC;IACxE,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oCAAoC,CAAC;IACvE,IAAI,EAAE,CAAC;SACJ,IAAI,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,CAAC,CAAC;SACpC,QAAQ,CACP,qEAAqE,CACtE;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,sDAAsD,CAAC;IACnE,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,oBAAoB,EAAE,CAAC;SACpB,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,qIAAqI,CACtI;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
@@ -1657,189 +1657,6 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
1657
1657
  status: z.ZodLiteral<"pending">;
1658
1658
  result: z.ZodNull;
1659
1659
  error: z.ZodNull;
1660
- }>, {
1661
- action_type: z.ZodLiteral<"ENCODE_ACCESS_METHOD">;
1662
- }>, "strip", z.ZodTypeAny, {
1663
- error: null;
1664
- status: "pending";
1665
- action_attempt_id: string;
1666
- result: null;
1667
- action_type: "ENCODE_ACCESS_METHOD";
1668
- }, {
1669
- error: null;
1670
- status: "pending";
1671
- action_attempt_id: string;
1672
- result: null;
1673
- action_type: "ENCODE_ACCESS_METHOD";
1674
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1675
- action_attempt_id: z.ZodString;
1676
- status: z.ZodEnum<["pending", "success", "error"]>;
1677
- }, {
1678
- status: z.ZodLiteral<"success">;
1679
- error: z.ZodNull;
1680
- }>, {
1681
- action_type: z.ZodLiteral<"ENCODE_ACCESS_METHOD">;
1682
- result: z.ZodObject<{
1683
- workspace_id: z.ZodString;
1684
- access_method_id: z.ZodString;
1685
- display_name: z.ZodString;
1686
- mode: z.ZodEnum<["code", "card", "mobile_key"]>;
1687
- created_at: z.ZodString;
1688
- issued_at: z.ZodOptional<z.ZodString>;
1689
- instant_key_url: z.ZodOptional<z.ZodString>;
1690
- is_card_encoding_required: z.ZodOptional<z.ZodBoolean>;
1691
- }, "strip", z.ZodTypeAny, {
1692
- display_name: string;
1693
- workspace_id: string;
1694
- created_at: string;
1695
- mode: "code" | "card" | "mobile_key";
1696
- access_method_id: string;
1697
- instant_key_url?: string | undefined;
1698
- issued_at?: string | undefined;
1699
- is_card_encoding_required?: boolean | undefined;
1700
- }, {
1701
- display_name: string;
1702
- workspace_id: string;
1703
- created_at: string;
1704
- mode: "code" | "card" | "mobile_key";
1705
- access_method_id: string;
1706
- instant_key_url?: string | undefined;
1707
- issued_at?: string | undefined;
1708
- is_card_encoding_required?: boolean | undefined;
1709
- }>;
1710
- }>, "strip", z.ZodTypeAny, {
1711
- error: null;
1712
- status: "success";
1713
- action_attempt_id: string;
1714
- result: {
1715
- display_name: string;
1716
- workspace_id: string;
1717
- created_at: string;
1718
- mode: "code" | "card" | "mobile_key";
1719
- access_method_id: string;
1720
- instant_key_url?: string | undefined;
1721
- issued_at?: string | undefined;
1722
- is_card_encoding_required?: boolean | undefined;
1723
- };
1724
- action_type: "ENCODE_ACCESS_METHOD";
1725
- }, {
1726
- error: null;
1727
- status: "success";
1728
- action_attempt_id: string;
1729
- result: {
1730
- display_name: string;
1731
- workspace_id: string;
1732
- created_at: string;
1733
- mode: "code" | "card" | "mobile_key";
1734
- access_method_id: string;
1735
- instant_key_url?: string | undefined;
1736
- issued_at?: string | undefined;
1737
- is_card_encoding_required?: boolean | undefined;
1738
- };
1739
- action_type: "ENCODE_ACCESS_METHOD";
1740
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1741
- action_attempt_id: z.ZodString;
1742
- status: z.ZodEnum<["pending", "success", "error"]>;
1743
- }, {
1744
- status: z.ZodLiteral<"error">;
1745
- result: z.ZodNull;
1746
- }>, {
1747
- action_type: z.ZodLiteral<"ENCODE_ACCESS_METHOD">;
1748
- error: z.ZodUnion<[z.ZodObject<{
1749
- type: z.ZodLiteral<"uncategorized_error">;
1750
- message: z.ZodString;
1751
- }, "strip", z.ZodTypeAny, {
1752
- type: "uncategorized_error";
1753
- message: string;
1754
- }, {
1755
- type: "uncategorized_error";
1756
- message: string;
1757
- }>, z.ZodObject<{
1758
- type: z.ZodLiteral<"action_attempt_expired">;
1759
- message: z.ZodString;
1760
- }, "strip", z.ZodTypeAny, {
1761
- type: "action_attempt_expired";
1762
- message: string;
1763
- }, {
1764
- type: "action_attempt_expired";
1765
- message: string;
1766
- }>, z.ZodObject<{
1767
- type: z.ZodLiteral<"no_credential_on_encoder">;
1768
- message: z.ZodString;
1769
- }, "strip", z.ZodTypeAny, {
1770
- type: "no_credential_on_encoder";
1771
- message: string;
1772
- }, {
1773
- type: "no_credential_on_encoder";
1774
- message: string;
1775
- }>, z.ZodObject<{
1776
- type: z.ZodLiteral<"incompatible_card_format">;
1777
- message: z.ZodString;
1778
- }, "strip", z.ZodTypeAny, {
1779
- type: "incompatible_card_format";
1780
- message: string;
1781
- }, {
1782
- type: "incompatible_card_format";
1783
- message: string;
1784
- }>, z.ZodObject<{
1785
- type: z.ZodLiteral<"credential_cannot_be_reissued">;
1786
- message: z.ZodString;
1787
- }, "strip", z.ZodTypeAny, {
1788
- type: "credential_cannot_be_reissued";
1789
- message: string;
1790
- }, {
1791
- type: "credential_cannot_be_reissued";
1792
- message: string;
1793
- }>]>;
1794
- }>, "strip", z.ZodTypeAny, {
1795
- error: {
1796
- type: "uncategorized_error";
1797
- message: string;
1798
- } | {
1799
- type: "action_attempt_expired";
1800
- message: string;
1801
- } | {
1802
- type: "no_credential_on_encoder";
1803
- message: string;
1804
- } | {
1805
- type: "incompatible_card_format";
1806
- message: string;
1807
- } | {
1808
- type: "credential_cannot_be_reissued";
1809
- message: string;
1810
- };
1811
- status: "error";
1812
- action_attempt_id: string;
1813
- result: null;
1814
- action_type: "ENCODE_ACCESS_METHOD";
1815
- }, {
1816
- error: {
1817
- type: "uncategorized_error";
1818
- message: string;
1819
- } | {
1820
- type: "action_attempt_expired";
1821
- message: string;
1822
- } | {
1823
- type: "no_credential_on_encoder";
1824
- message: string;
1825
- } | {
1826
- type: "incompatible_card_format";
1827
- message: string;
1828
- } | {
1829
- type: "credential_cannot_be_reissued";
1830
- message: string;
1831
- };
1832
- status: "error";
1833
- action_attempt_id: string;
1834
- result: null;
1835
- action_type: "ENCODE_ACCESS_METHOD";
1836
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1837
- action_attempt_id: z.ZodString;
1838
- status: z.ZodEnum<["pending", "success", "error"]>;
1839
- }, {
1840
- status: z.ZodLiteral<"pending">;
1841
- result: z.ZodNull;
1842
- error: z.ZodNull;
1843
1660
  }>, {
1844
1661
  action_type: z.ZodLiteral<"ENCODE_CREDENTIAL">;
1845
1662
  }>, "strip", z.ZodTypeAny, {
@@ -1,7 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { activate_climate_preset_action_attempt } from './activate-climate-preset.js';
3
3
  import { deprecated_action_attempts } from './deprecated.js';
4
- import { encode_access_method_action_attempt } from './encode-access-method.js';
5
4
  import { encode_credential_action_attempt } from './encode-credential.js';
6
5
  import { lock_door_action_attempt } from './lock-door.js';
7
6
  import { push_thermostat_programs_action_attempt } from './push-thermostat-programs.js';
@@ -16,7 +15,6 @@ export const action_attempt = z.union([
16
15
  ...lock_door_action_attempt.options,
17
16
  ...unlock_door_action_attempt.options,
18
17
  ...scan_credential_action_attempt.options,
19
- ...encode_access_method_action_attempt.options,
20
18
  ...encode_credential_action_attempt.options,
21
19
  ...reset_sandbox_workspace_action_attempt.options,
22
20
  ...set_fan_mode_action_attempt.options,
@@ -31,7 +29,7 @@ export const action_attempt = z.union([
31
29
  route_path: /action_attempts
32
30
  ---
33
31
  Represents an action attempt that enables you to keep track of the progress of your action that affects a physical device or system.actions against a device. Action attempts are useful because the physical world is intrinsically asynchronous.
34
-
32
+
35
33
  When you request for a device to perform an action, the Seam API immediately returns an action attempt object. In the background, the Seam API performs the action.
36
34
 
37
35
  See also [Action Attempts](https://docs.seam.co/latest/core-concepts/action-attempts).
@@ -1 +1 @@
1
- {"version":3,"file":"action-attempt.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/action-attempt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAA;AACrF,OAAO,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAA;AAC5D,OAAO,EAAE,mCAAmC,EAAE,MAAM,2BAA2B,CAAA;AAC/E,OAAO,EAAE,gCAAgC,EAAE,MAAM,wBAAwB,CAAA;AACzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AACzD,OAAO,EAAE,uCAAuC,EAAE,MAAM,+BAA+B,CAAA;AACvF,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAA;AACrF,OAAO,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAA;AACrE,OAAO,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAA;AAC/D,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAA;AACjE,OAAO,EAAE,yCAAyC,EAAE,MAAM,iCAAiC,CAAA;AAC3F,OAAO,EAAE,8CAA8C,EAAE,MAAM,sCAAsC,CAAA;AACrG,OAAO,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAA;AAE7D,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC;IACpC,GAAG,wBAAwB,CAAC,OAAO;IACnC,GAAG,0BAA0B,CAAC,OAAO;IACrC,GAAG,8BAA8B,CAAC,OAAO;IACzC,GAAG,mCAAmC,CAAC,OAAO;IAC9C,GAAG,gCAAgC,CAAC,OAAO;IAC3C,GAAG,sCAAsC,CAAC,OAAO;IACjD,GAAG,2BAA2B,CAAC,OAAO;IACtC,GAAG,4BAA4B,CAAC,OAAO;IACvC,GAAG,sCAAsC,CAAC,OAAO;IACjD,GAAG,yCAAyC,CAAC,OAAO;IACpD,GAAG,8CAA8C,CAAC,OAAO;IACzD,GAAG,uCAAuC,CAAC,OAAO;IAClD,GAAG,0BAA0B;CAC9B,CAAC,CAAC,QAAQ,CAAC;;;;;;;;;CASX,CAAC,CAAA"}
1
+ {"version":3,"file":"action-attempt.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/action-attempt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAA;AACrF,OAAO,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAA;AAC5D,OAAO,EAAE,gCAAgC,EAAE,MAAM,wBAAwB,CAAA;AACzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AACzD,OAAO,EAAE,uCAAuC,EAAE,MAAM,+BAA+B,CAAA;AACvF,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAA;AACrF,OAAO,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAA;AACrE,OAAO,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAA;AAC/D,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAA;AACjE,OAAO,EAAE,yCAAyC,EAAE,MAAM,iCAAiC,CAAA;AAC3F,OAAO,EAAE,8CAA8C,EAAE,MAAM,sCAAsC,CAAA;AACrG,OAAO,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAA;AAE7D,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC;IACpC,GAAG,wBAAwB,CAAC,OAAO;IACnC,GAAG,0BAA0B,CAAC,OAAO;IACrC,GAAG,8BAA8B,CAAC,OAAO;IACzC,GAAG,gCAAgC,CAAC,OAAO;IAC3C,GAAG,sCAAsC,CAAC,OAAO;IACjD,GAAG,2BAA2B,CAAC,OAAO;IACtC,GAAG,4BAA4B,CAAC,OAAO;IACvC,GAAG,sCAAsC,CAAC,OAAO;IACjD,GAAG,yCAAyC,CAAC,OAAO;IACpD,GAAG,8CAA8C,CAAC,OAAO;IACzD,GAAG,uCAAuC,CAAC,OAAO;IAClD,GAAG,0BAA0B;CAC9B,CAAC,CAAC,QAAQ,CAAC;;;;;;;;;CASX,CAAC,CAAA"}
@@ -499,7 +499,7 @@ declare const _default: {
499
499
  format: string;
500
500
  type: string;
501
501
  };
502
- is_card_encoding_required: {
502
+ is_encoding_required: {
503
503
  description: string;
504
504
  type: string;
505
505
  };
@@ -1976,14 +1976,6 @@ declare const _default: {
1976
1976
  acs_credential_on_encoder?: never;
1977
1977
  acs_credential_on_seam?: never;
1978
1978
  warnings?: never;
1979
- access_method_id?: never;
1980
- created_at?: never;
1981
- display_name?: never;
1982
- instant_key_url?: never;
1983
- is_card_encoding_required?: never;
1984
- issued_at?: never;
1985
- mode?: never;
1986
- workspace_id?: never;
1987
1979
  access_code?: never;
1988
1980
  noise_threshold?: never;
1989
1981
  };
@@ -2698,14 +2690,6 @@ declare const _default: {
2698
2690
  };
2699
2691
  type: string;
2700
2692
  };
2701
- access_method_id?: never;
2702
- created_at?: never;
2703
- display_name?: never;
2704
- instant_key_url?: never;
2705
- is_card_encoding_required?: never;
2706
- issued_at?: never;
2707
- mode?: never;
2708
- workspace_id?: never;
2709
2693
  access_code?: never;
2710
2694
  noise_threshold?: never;
2711
2695
  };
@@ -2772,86 +2756,6 @@ declare const _default: {
2772
2756
  };
2773
2757
  required: string[];
2774
2758
  type: string;
2775
- } | {
2776
- description: string;
2777
- properties: {
2778
- action_attempt_id: {
2779
- description: string;
2780
- format: string;
2781
- type: string;
2782
- };
2783
- action_type: {
2784
- description: string;
2785
- enum: string[];
2786
- type: string;
2787
- };
2788
- error: {
2789
- description: string;
2790
- nullable: boolean;
2791
- properties?: never;
2792
- required?: never;
2793
- type?: never;
2794
- oneOf?: never;
2795
- };
2796
- result: {
2797
- description: string;
2798
- properties: {
2799
- access_method_id: {
2800
- description: string;
2801
- format: string;
2802
- type: string;
2803
- };
2804
- created_at: {
2805
- description: string;
2806
- format: string;
2807
- type: string;
2808
- };
2809
- display_name: {
2810
- description: string;
2811
- type: string;
2812
- };
2813
- instant_key_url: {
2814
- description: string;
2815
- format: string;
2816
- type: string;
2817
- };
2818
- is_card_encoding_required: {
2819
- description: string;
2820
- type: string;
2821
- };
2822
- issued_at: {
2823
- description: string;
2824
- format: string;
2825
- type: string;
2826
- };
2827
- mode: {
2828
- description: string;
2829
- enum: string[];
2830
- type: string;
2831
- };
2832
- workspace_id: {
2833
- description: string;
2834
- format: string;
2835
- type: string;
2836
- };
2837
- acs_credential_on_encoder?: never;
2838
- acs_credential_on_seam?: never;
2839
- warnings?: never;
2840
- access_code?: never;
2841
- noise_threshold?: never;
2842
- };
2843
- required: string[];
2844
- type: string;
2845
- nullable?: never;
2846
- oneOf?: never;
2847
- };
2848
- status: {
2849
- enum: string[];
2850
- type: string;
2851
- };
2852
- };
2853
- required: string[];
2854
- type: string;
2855
2759
  } | {
2856
2760
  description: string;
2857
2761
  properties: {
@@ -3454,14 +3358,6 @@ declare const _default: {
3454
3358
  acs_credential_on_encoder?: never;
3455
3359
  acs_credential_on_seam?: never;
3456
3360
  warnings?: never;
3457
- access_method_id?: never;
3458
- created_at?: never;
3459
- display_name?: never;
3460
- instant_key_url?: never;
3461
- is_card_encoding_required?: never;
3462
- issued_at?: never;
3463
- mode?: never;
3464
- workspace_id?: never;
3465
3361
  access_code?: never;
3466
3362
  noise_threshold?: never;
3467
3363
  };
@@ -3552,14 +3448,6 @@ declare const _default: {
3552
3448
  acs_credential_on_encoder?: never;
3553
3449
  acs_credential_on_seam?: never;
3554
3450
  warnings?: never;
3555
- access_method_id?: never;
3556
- created_at?: never;
3557
- display_name?: never;
3558
- instant_key_url?: never;
3559
- is_card_encoding_required?: never;
3560
- issued_at?: never;
3561
- mode?: never;
3562
- workspace_id?: never;
3563
3451
  noise_threshold?: never;
3564
3452
  };
3565
3453
  type: string;
@@ -3604,14 +3492,6 @@ declare const _default: {
3604
3492
  acs_credential_on_encoder?: never;
3605
3493
  acs_credential_on_seam?: never;
3606
3494
  warnings?: never;
3607
- access_method_id?: never;
3608
- created_at?: never;
3609
- display_name?: never;
3610
- instant_key_url?: never;
3611
- is_card_encoding_required?: never;
3612
- issued_at?: never;
3613
- mode?: never;
3614
- workspace_id?: never;
3615
3495
  access_code?: never;
3616
3496
  };
3617
3497
  type: string;
@@ -16823,6 +16703,82 @@ declare const _default: {
16823
16703
  'x-title': string;
16824
16704
  };
16825
16705
  };
16706
+ '/access_methods/encode': {
16707
+ post: {
16708
+ description: string;
16709
+ operationId: string;
16710
+ requestBody: {
16711
+ content: {
16712
+ 'application/json': {
16713
+ schema: {
16714
+ properties: {
16715
+ access_method_id: {
16716
+ description: string;
16717
+ format: string;
16718
+ type: string;
16719
+ };
16720
+ acs_encoder_id: {
16721
+ description: string;
16722
+ format: string;
16723
+ type: string;
16724
+ };
16725
+ };
16726
+ required: string[];
16727
+ type: string;
16728
+ };
16729
+ };
16730
+ };
16731
+ };
16732
+ responses: {
16733
+ 200: {
16734
+ content: {
16735
+ 'application/json': {
16736
+ schema: {
16737
+ properties: {
16738
+ action_attempt: {
16739
+ $ref: string;
16740
+ };
16741
+ ok: {
16742
+ type: string;
16743
+ };
16744
+ };
16745
+ required: string[];
16746
+ type: string;
16747
+ };
16748
+ };
16749
+ };
16750
+ description: string;
16751
+ };
16752
+ 400: {
16753
+ description: string;
16754
+ };
16755
+ 401: {
16756
+ description: string;
16757
+ };
16758
+ };
16759
+ security: ({
16760
+ pat_with_workspace: never[];
16761
+ console_session_with_workspace?: never;
16762
+ api_key?: never;
16763
+ } | {
16764
+ console_session_with_workspace: never[];
16765
+ pat_with_workspace?: never;
16766
+ api_key?: never;
16767
+ } | {
16768
+ api_key: never[];
16769
+ pat_with_workspace?: never;
16770
+ console_session_with_workspace?: never;
16771
+ })[];
16772
+ summary: string;
16773
+ tags: never[];
16774
+ 'x-action-attempt-type': string;
16775
+ 'x-fern-sdk-group-name': string[];
16776
+ 'x-fern-sdk-method-name': string;
16777
+ 'x-fern-sdk-return-value': string;
16778
+ 'x-response-key': string;
16779
+ 'x-title': string;
16780
+ };
16781
+ };
16826
16782
  '/access_methods/get': {
16827
16783
  get: {
16828
16784
  description: string;
@@ -20109,7 +20065,7 @@ declare const _default: {
20109
20065
  'x-title': string;
20110
20066
  };
20111
20067
  };
20112
- '/acs/encoders/encode_access_method': {
20068
+ '/acs/encoders/encode_credential': {
20113
20069
  post: {
20114
20070
  description: string;
20115
20071
  operationId: string;
@@ -20123,77 +20079,6 @@ declare const _default: {
20123
20079
  format: string;
20124
20080
  type: string;
20125
20081
  };
20126
- acs_encoder_id: {
20127
- description: string;
20128
- format: string;
20129
- type: string;
20130
- };
20131
- };
20132
- required: string[];
20133
- type: string;
20134
- };
20135
- };
20136
- };
20137
- };
20138
- responses: {
20139
- 200: {
20140
- content: {
20141
- 'application/json': {
20142
- schema: {
20143
- properties: {
20144
- action_attempt: {
20145
- $ref: string;
20146
- };
20147
- ok: {
20148
- type: string;
20149
- };
20150
- };
20151
- required: string[];
20152
- type: string;
20153
- };
20154
- };
20155
- };
20156
- description: string;
20157
- };
20158
- 400: {
20159
- description: string;
20160
- };
20161
- 401: {
20162
- description: string;
20163
- };
20164
- };
20165
- security: ({
20166
- pat_with_workspace: never[];
20167
- console_session_with_workspace?: never;
20168
- api_key?: never;
20169
- } | {
20170
- console_session_with_workspace: never[];
20171
- pat_with_workspace?: never;
20172
- api_key?: never;
20173
- } | {
20174
- api_key: never[];
20175
- pat_with_workspace?: never;
20176
- console_session_with_workspace?: never;
20177
- })[];
20178
- summary: string;
20179
- tags: string[];
20180
- 'x-action-attempt-type': string;
20181
- 'x-fern-sdk-group-name': string[];
20182
- 'x-fern-sdk-method-name': string;
20183
- 'x-fern-sdk-return-value': string;
20184
- 'x-response-key': string;
20185
- 'x-title': string;
20186
- };
20187
- };
20188
- '/acs/encoders/encode_credential': {
20189
- post: {
20190
- description: string;
20191
- operationId: string;
20192
- requestBody: {
20193
- content: {
20194
- 'application/json': {
20195
- schema: {
20196
- properties: {
20197
20082
  acs_credential_id: {
20198
20083
  description: string;
20199
20084
  format: string;