@seamapi/types 1.415.0 → 1.416.1

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.
Files changed (30) hide show
  1. package/dist/connect.cjs +24 -7
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +492 -6
  4. package/lib/seam/connect/models/acs/acs-access-group.js +1 -0
  5. package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
  6. package/lib/seam/connect/models/acs/acs-credential-pool.js +1 -0
  7. package/lib/seam/connect/models/acs/acs-credential-pool.js.map +1 -1
  8. package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.js +1 -0
  9. package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.js.map +1 -1
  10. package/lib/seam/connect/models/acs/acs-credential.js +1 -0
  11. package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
  12. package/lib/seam/connect/models/acs/acs-users/acs-user.js +1 -0
  13. package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
  14. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +3 -0
  15. package/lib/seam/connect/models/connected-accounts/connected-account.js +4 -0
  16. package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
  17. package/lib/seam/connect/models/partner/magic-link.d.ts +2 -2
  18. package/lib/seam/connect/openapi.d.ts +481 -4
  19. package/lib/seam/connect/openapi.js +11 -0
  20. package/lib/seam/connect/openapi.js.map +1 -1
  21. package/lib/seam/connect/route-types.d.ts +6 -0
  22. package/package.json +1 -1
  23. package/src/lib/seam/connect/models/acs/acs-access-group.ts +1 -0
  24. package/src/lib/seam/connect/models/acs/acs-credential-pool.ts +1 -0
  25. package/src/lib/seam/connect/models/acs/acs-credential-provisioning-automation.ts +1 -0
  26. package/src/lib/seam/connect/models/acs/acs-credential.ts +1 -0
  27. package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +1 -0
  28. package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +6 -0
  29. package/src/lib/seam/connect/openapi.ts +12 -0
  30. package/src/lib/seam/connect/route-types.ts +6 -0
@@ -747,6 +747,7 @@ declare const _default: {
747
747
  required: string[];
748
748
  type: string;
749
749
  'x-route-path': string;
750
+ 'x-undocumented': string;
750
751
  };
751
752
  acs_credential_provisioning_automation: {
752
753
  properties: {
@@ -774,6 +775,7 @@ declare const _default: {
774
775
  required: string[];
775
776
  type: string;
776
777
  'x-route-path': string;
778
+ 'x-undocumented': string;
777
779
  };
778
780
  acs_encoder: {
779
781
  description: string;
@@ -1952,7 +1954,240 @@ declare const _default: {
1952
1954
  acs_credential_on_seam: {
1953
1955
  description: string;
1954
1956
  nullable: boolean;
1955
- oneOf: {
1957
+ oneOf: ({
1958
+ description: string;
1959
+ properties: {
1960
+ access_method: {
1961
+ description: string;
1962
+ enum: string[];
1963
+ type: string;
1964
+ };
1965
+ acs_credential_id: {
1966
+ description: string;
1967
+ format: string;
1968
+ type: string;
1969
+ };
1970
+ acs_credential_pool_id: {
1971
+ format: string;
1972
+ type: string;
1973
+ };
1974
+ acs_system_id: {
1975
+ description: string;
1976
+ format: string;
1977
+ type: string;
1978
+ };
1979
+ acs_user_id: {
1980
+ description: string;
1981
+ format: string;
1982
+ type: string;
1983
+ };
1984
+ assa_abloy_vostio_metadata: {
1985
+ description: string;
1986
+ properties: {
1987
+ auto_join: {
1988
+ type: string;
1989
+ };
1990
+ door_names: {
1991
+ items: {
1992
+ type: string;
1993
+ };
1994
+ type: string;
1995
+ };
1996
+ endpoint_id: {
1997
+ type: string;
1998
+ };
1999
+ key_id: {
2000
+ type: string;
2001
+ };
2002
+ key_issuing_request_id: {
2003
+ type: string;
2004
+ };
2005
+ override_guest_acs_entrance_ids: {
2006
+ items: {
2007
+ type: string;
2008
+ };
2009
+ type: string;
2010
+ };
2011
+ };
2012
+ type: string;
2013
+ };
2014
+ card_number: {
2015
+ description: string;
2016
+ nullable: boolean;
2017
+ type: string;
2018
+ };
2019
+ code: {
2020
+ description: string;
2021
+ nullable: boolean;
2022
+ type: string;
2023
+ };
2024
+ created_at: {
2025
+ description: string;
2026
+ format: string;
2027
+ type: string;
2028
+ };
2029
+ display_name: {
2030
+ description: string;
2031
+ minLength: number;
2032
+ type: string;
2033
+ };
2034
+ ends_at: {
2035
+ description: string;
2036
+ type: string;
2037
+ };
2038
+ errors: {
2039
+ description: string;
2040
+ items: {
2041
+ properties: {
2042
+ error_code: {
2043
+ type: string;
2044
+ };
2045
+ message: {
2046
+ type: string;
2047
+ };
2048
+ };
2049
+ required: string[];
2050
+ type: string;
2051
+ };
2052
+ type: string;
2053
+ };
2054
+ external_type: {
2055
+ description: string;
2056
+ enum: string[];
2057
+ type: string;
2058
+ };
2059
+ external_type_display_name: {
2060
+ description: string;
2061
+ type: string;
2062
+ };
2063
+ is_issued: {
2064
+ description: string;
2065
+ type: string;
2066
+ };
2067
+ is_latest_desired_state_synced_with_provider: {
2068
+ description: string;
2069
+ nullable: boolean;
2070
+ type: string;
2071
+ };
2072
+ is_managed: {
2073
+ enum: boolean[];
2074
+ type: string;
2075
+ };
2076
+ is_multi_phone_sync_credential: {
2077
+ description: string;
2078
+ type: string;
2079
+ };
2080
+ is_one_time_use: {
2081
+ description: string;
2082
+ type: string;
2083
+ };
2084
+ issued_at: {
2085
+ description: string;
2086
+ format: string;
2087
+ nullable: boolean;
2088
+ type: string;
2089
+ };
2090
+ latest_desired_state_synced_with_provider_at: {
2091
+ description: string;
2092
+ format: string;
2093
+ nullable: boolean;
2094
+ type: string;
2095
+ };
2096
+ parent_acs_credential_id: {
2097
+ description: string;
2098
+ format: string;
2099
+ type: string;
2100
+ };
2101
+ starts_at: {
2102
+ description: string;
2103
+ type: string;
2104
+ };
2105
+ visionline_metadata: {
2106
+ description: string;
2107
+ properties: {
2108
+ auto_join: {
2109
+ type: string;
2110
+ };
2111
+ card_function_type: {
2112
+ enum: string[];
2113
+ type: string;
2114
+ };
2115
+ card_id: {
2116
+ type: string;
2117
+ };
2118
+ common_acs_entrance_ids: {
2119
+ items: {
2120
+ format: string;
2121
+ type: string;
2122
+ };
2123
+ type: string;
2124
+ };
2125
+ credential_id: {
2126
+ type: string;
2127
+ };
2128
+ guest_acs_entrance_ids: {
2129
+ items: {
2130
+ format: string;
2131
+ type: string;
2132
+ };
2133
+ type: string;
2134
+ };
2135
+ is_valid: {
2136
+ type: string;
2137
+ };
2138
+ joiner_acs_credential_ids: {
2139
+ items: {
2140
+ format: string;
2141
+ type: string;
2142
+ };
2143
+ type: string;
2144
+ };
2145
+ };
2146
+ required: string[];
2147
+ type: string;
2148
+ };
2149
+ warnings: {
2150
+ description: string;
2151
+ items: {
2152
+ description: string;
2153
+ discriminator: {
2154
+ propertyName: string;
2155
+ };
2156
+ oneOf: {
2157
+ description: string;
2158
+ properties: {
2159
+ created_at: {
2160
+ description: string;
2161
+ format: string;
2162
+ type: string;
2163
+ };
2164
+ message: {
2165
+ description: string;
2166
+ type: string;
2167
+ };
2168
+ warning_code: {
2169
+ description: string;
2170
+ enum: string[];
2171
+ type: string;
2172
+ };
2173
+ };
2174
+ required: string[];
2175
+ type: string;
2176
+ }[];
2177
+ };
2178
+ type: string;
2179
+ };
2180
+ workspace_id: {
2181
+ description: string;
2182
+ format: string;
2183
+ type: string;
2184
+ };
2185
+ };
2186
+ required: string[];
2187
+ type: string;
2188
+ 'x-route-path': string;
2189
+ 'x-undocumented'?: never;
2190
+ } | {
1956
2191
  description: string;
1957
2192
  properties: {
1958
2193
  access_method: {
@@ -2184,7 +2419,8 @@ declare const _default: {
2184
2419
  required: string[];
2185
2420
  type: string;
2186
2421
  'x-route-path': string;
2187
- }[];
2422
+ 'x-undocumented': string;
2423
+ })[];
2188
2424
  'x-route-path': string;
2189
2425
  };
2190
2426
  warnings: {
@@ -2497,7 +2733,7 @@ declare const _default: {
2497
2733
  };
2498
2734
  result: {
2499
2735
  description: string;
2500
- oneOf: {
2736
+ oneOf: ({
2501
2737
  description: string;
2502
2738
  properties: {
2503
2739
  access_method: {
@@ -2729,7 +2965,241 @@ declare const _default: {
2729
2965
  required: string[];
2730
2966
  type: string;
2731
2967
  'x-route-path': string;
2732
- }[];
2968
+ 'x-undocumented'?: never;
2969
+ } | {
2970
+ description: string;
2971
+ properties: {
2972
+ access_method: {
2973
+ description: string;
2974
+ enum: string[];
2975
+ type: string;
2976
+ };
2977
+ acs_credential_id: {
2978
+ description: string;
2979
+ format: string;
2980
+ type: string;
2981
+ };
2982
+ acs_credential_pool_id: {
2983
+ format: string;
2984
+ type: string;
2985
+ };
2986
+ acs_system_id: {
2987
+ description: string;
2988
+ format: string;
2989
+ type: string;
2990
+ };
2991
+ acs_user_id: {
2992
+ description: string;
2993
+ format: string;
2994
+ type: string;
2995
+ };
2996
+ assa_abloy_vostio_metadata: {
2997
+ description: string;
2998
+ properties: {
2999
+ auto_join: {
3000
+ type: string;
3001
+ };
3002
+ door_names: {
3003
+ items: {
3004
+ type: string;
3005
+ };
3006
+ type: string;
3007
+ };
3008
+ endpoint_id: {
3009
+ type: string;
3010
+ };
3011
+ key_id: {
3012
+ type: string;
3013
+ };
3014
+ key_issuing_request_id: {
3015
+ type: string;
3016
+ };
3017
+ override_guest_acs_entrance_ids: {
3018
+ items: {
3019
+ type: string;
3020
+ };
3021
+ type: string;
3022
+ };
3023
+ };
3024
+ type: string;
3025
+ };
3026
+ card_number: {
3027
+ description: string;
3028
+ nullable: boolean;
3029
+ type: string;
3030
+ };
3031
+ code: {
3032
+ description: string;
3033
+ nullable: boolean;
3034
+ type: string;
3035
+ };
3036
+ created_at: {
3037
+ description: string;
3038
+ format: string;
3039
+ type: string;
3040
+ };
3041
+ display_name: {
3042
+ description: string;
3043
+ minLength: number;
3044
+ type: string;
3045
+ };
3046
+ ends_at: {
3047
+ description: string;
3048
+ type: string;
3049
+ };
3050
+ errors: {
3051
+ description: string;
3052
+ items: {
3053
+ properties: {
3054
+ error_code: {
3055
+ type: string;
3056
+ };
3057
+ message: {
3058
+ type: string;
3059
+ };
3060
+ };
3061
+ required: string[];
3062
+ type: string;
3063
+ };
3064
+ type: string;
3065
+ };
3066
+ external_type: {
3067
+ description: string;
3068
+ enum: string[];
3069
+ type: string;
3070
+ };
3071
+ external_type_display_name: {
3072
+ description: string;
3073
+ type: string;
3074
+ };
3075
+ is_issued: {
3076
+ description: string;
3077
+ type: string;
3078
+ };
3079
+ is_latest_desired_state_synced_with_provider: {
3080
+ description: string;
3081
+ nullable: boolean;
3082
+ type: string;
3083
+ };
3084
+ is_managed: {
3085
+ enum: boolean[];
3086
+ type: string;
3087
+ };
3088
+ is_multi_phone_sync_credential: {
3089
+ description: string;
3090
+ type: string;
3091
+ };
3092
+ is_one_time_use: {
3093
+ description: string;
3094
+ type: string;
3095
+ };
3096
+ issued_at: {
3097
+ description: string;
3098
+ format: string;
3099
+ nullable: boolean;
3100
+ type: string;
3101
+ };
3102
+ latest_desired_state_synced_with_provider_at: {
3103
+ description: string;
3104
+ format: string;
3105
+ nullable: boolean;
3106
+ type: string;
3107
+ };
3108
+ parent_acs_credential_id: {
3109
+ description: string;
3110
+ format: string;
3111
+ type: string;
3112
+ };
3113
+ starts_at: {
3114
+ description: string;
3115
+ type: string;
3116
+ };
3117
+ visionline_metadata: {
3118
+ description: string;
3119
+ properties: {
3120
+ auto_join: {
3121
+ type: string;
3122
+ };
3123
+ card_function_type: {
3124
+ enum: string[];
3125
+ type: string;
3126
+ };
3127
+ card_id: {
3128
+ type: string;
3129
+ };
3130
+ common_acs_entrance_ids: {
3131
+ items: {
3132
+ format: string;
3133
+ type: string;
3134
+ };
3135
+ type: string;
3136
+ };
3137
+ credential_id: {
3138
+ type: string;
3139
+ };
3140
+ guest_acs_entrance_ids: {
3141
+ items: {
3142
+ format: string;
3143
+ type: string;
3144
+ };
3145
+ type: string;
3146
+ };
3147
+ is_valid: {
3148
+ type: string;
3149
+ };
3150
+ joiner_acs_credential_ids: {
3151
+ items: {
3152
+ format: string;
3153
+ type: string;
3154
+ };
3155
+ type: string;
3156
+ };
3157
+ };
3158
+ required: string[];
3159
+ type: string;
3160
+ };
3161
+ warnings: {
3162
+ description: string;
3163
+ items: {
3164
+ description: string;
3165
+ discriminator: {
3166
+ propertyName: string;
3167
+ };
3168
+ oneOf: {
3169
+ description: string;
3170
+ properties: {
3171
+ created_at: {
3172
+ description: string;
3173
+ format: string;
3174
+ type: string;
3175
+ };
3176
+ message: {
3177
+ description: string;
3178
+ type: string;
3179
+ };
3180
+ warning_code: {
3181
+ description: string;
3182
+ enum: string[];
3183
+ type: string;
3184
+ };
3185
+ };
3186
+ required: string[];
3187
+ type: string;
3188
+ }[];
3189
+ };
3190
+ type: string;
3191
+ };
3192
+ workspace_id: {
3193
+ description: string;
3194
+ format: string;
3195
+ type: string;
3196
+ };
3197
+ };
3198
+ required: string[];
3199
+ type: string;
3200
+ 'x-route-path': string;
3201
+ 'x-undocumented': string;
3202
+ })[];
2733
3203
  nullable?: never;
2734
3204
  properties?: never;
2735
3205
  type?: never;
@@ -3366,6 +3836,10 @@ declare const _default: {
3366
3836
  description: string;
3367
3837
  type: string;
3368
3838
  };
3839
+ customer_key: {
3840
+ description: string;
3841
+ type: string;
3842
+ };
3369
3843
  errors: {
3370
3844
  description: string;
3371
3845
  items: {
@@ -10245,6 +10719,7 @@ declare const _default: {
10245
10719
  required: string[];
10246
10720
  type: string;
10247
10721
  'x-route-path': string;
10722
+ 'x-undocumented': string;
10248
10723
  };
10249
10724
  unmanaged_acs_credential: {
10250
10725
  description: string;
@@ -10478,6 +10953,7 @@ declare const _default: {
10478
10953
  required: string[];
10479
10954
  type: string;
10480
10955
  'x-route-path': string;
10956
+ 'x-undocumented': string;
10481
10957
  };
10482
10958
  unmanaged_acs_user: {
10483
10959
  description: string;
@@ -10929,6 +11405,7 @@ declare const _default: {
10929
11405
  required: string[];
10930
11406
  type: string;
10931
11407
  'x-route-path': string;
11408
+ 'x-undocumented': string;
10932
11409
  };
10933
11410
  unmanaged_device: {
10934
11411
  description: string;
@@ -1974,6 +1974,7 @@ export default {
1974
1974
  ],
1975
1975
  type: 'object',
1976
1976
  'x-route-path': '/acs/credential_pools',
1977
+ 'x-undocumented': 'Will be removed.',
1977
1978
  },
1978
1979
  acs_credential_provisioning_automation: {
1979
1980
  properties: {
@@ -1995,6 +1996,7 @@ export default {
1995
1996
  ],
1996
1997
  type: 'object',
1997
1998
  'x-route-path': '/acs/credential_provisioning_automations',
1999
+ 'x-undocumented': 'Will be removed.',
1998
2000
  },
1999
2001
  acs_encoder: {
2000
2002
  description: 'Represents a hardware device that encodes [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) data onto physical cards within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).\n\nSome access control systems require credentials to be encoded onto plastic key cards using a card encoder. This process involves the following two key steps:\n\n1. Credential creation\n Configure the access parameters for the credential.\n2. Card encoding\n Write the credential data onto the card using a compatible card encoder.\n\nSeparately, the Seam API also supports card scanning, which enables you to scan and read the encoded data on a card. You can use this action to confirm consistency with access control system records or diagnose discrepancies if needed.\n\n See [Working with Card Encoders and Scanners](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners).\n\nTo verify if your access control system requires a card encoder, see the corresponding [system integration guide](https://docs.seam.co/latest/device-and-system-integration-guides/overview#access-control-systems).',
@@ -4192,6 +4194,7 @@ export default {
4192
4194
  ],
4193
4195
  type: 'object',
4194
4196
  'x-route-path': '/acs/credentials/unmanaged',
4197
+ 'x-undocumented': 'Unreleased.',
4195
4198
  },
4196
4199
  ],
4197
4200
  'x-route-path': '/acs/credentials',
@@ -5251,6 +5254,7 @@ export default {
5251
5254
  ],
5252
5255
  type: 'object',
5253
5256
  'x-route-path': '/acs/credentials/unmanaged',
5257
+ 'x-undocumented': 'Unreleased.',
5254
5258
  },
5255
5259
  ],
5256
5260
  },
@@ -6925,6 +6929,10 @@ export default {
6925
6929
  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.',
6926
6930
  type: 'object',
6927
6931
  },
6932
+ customer_key: {
6933
+ description: 'Your unique key for the customer associated with this connected account.',
6934
+ type: 'string',
6935
+ },
6928
6936
  errors: {
6929
6937
  description: 'Errors associated with the connected account.',
6930
6938
  items: {
@@ -17389,6 +17397,7 @@ export default {
17389
17397
  ],
17390
17398
  type: 'object',
17391
17399
  'x-route-path': '/acs/access_groups/unmanaged',
17400
+ 'x-undocumented': 'Unreleased.',
17392
17401
  },
17393
17402
  unmanaged_acs_credential: {
17394
17403
  description: 'Means by which an [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) gains access at an [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). The `unmanaged_acs_credential` object, which is not managed by Seam, represents a [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) that provides an ACS user access within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems). For each `acs_credential` object, you define the access method. You can also specify additional properties, such as a PIN code.',
@@ -17701,6 +17710,7 @@ export default {
17701
17710
  ],
17702
17711
  type: 'object',
17703
17712
  'x-route-path': '/acs/credentials/unmanaged',
17713
+ 'x-undocumented': 'Unreleased.',
17704
17714
  },
17705
17715
  unmanaged_acs_user: {
17706
17716
  description: 'Represents an unmanaged [user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) in an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).',
@@ -18291,6 +18301,7 @@ export default {
18291
18301
  ],
18292
18302
  type: 'object',
18293
18303
  'x-route-path': '/acs/users/unmanaged',
18304
+ 'x-undocumented': 'Unreleased.',
18294
18305
  },
18295
18306
  unmanaged_device: {
18296
18307
  description: 'Represents an [unmanaged device](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices). An unmanaged device has a limited set of visible properties and a subset of supported events. You cannot control an unmanaged device. Any [access codes](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes/migrating-existing-access-codes) on an unmanaged device are unmanaged. To control an unmanaged device with Seam, [convert it to a managed device](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices#convert-an-unmanaged-device-to-managed).',