@seamapi/types 1.460.1 → 1.461.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 +110 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +173 -0
- package/dist/index.cjs +110 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +142 -0
- package/lib/seam/connect/openapi.js +110 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +31 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +115 -0
- package/src/lib/seam/connect/route-types.ts +31 -0
|
@@ -16721,6 +16721,13 @@ declare const _default: {
|
|
|
16721
16721
|
};
|
|
16722
16722
|
type: string;
|
|
16723
16723
|
};
|
|
16724
|
+
space_keys: {
|
|
16725
|
+
description: string;
|
|
16726
|
+
items: {
|
|
16727
|
+
type: string;
|
|
16728
|
+
};
|
|
16729
|
+
type: string;
|
|
16730
|
+
};
|
|
16724
16731
|
starts_at: {
|
|
16725
16732
|
description: string;
|
|
16726
16733
|
type: string;
|
|
@@ -32685,6 +32692,141 @@ declare const _default: {
|
|
|
32685
32692
|
'x-title': string;
|
|
32686
32693
|
};
|
|
32687
32694
|
};
|
|
32695
|
+
'/instant_keys/list': {
|
|
32696
|
+
get: {
|
|
32697
|
+
description: string;
|
|
32698
|
+
operationId: string;
|
|
32699
|
+
parameters: {
|
|
32700
|
+
in: string;
|
|
32701
|
+
name: string;
|
|
32702
|
+
schema: {
|
|
32703
|
+
description: string;
|
|
32704
|
+
format: string;
|
|
32705
|
+
type: string;
|
|
32706
|
+
};
|
|
32707
|
+
}[];
|
|
32708
|
+
responses: {
|
|
32709
|
+
200: {
|
|
32710
|
+
content: {
|
|
32711
|
+
'application/json': {
|
|
32712
|
+
schema: {
|
|
32713
|
+
properties: {
|
|
32714
|
+
instant_keys: {
|
|
32715
|
+
items: {
|
|
32716
|
+
$ref: string;
|
|
32717
|
+
};
|
|
32718
|
+
type: string;
|
|
32719
|
+
};
|
|
32720
|
+
ok: {
|
|
32721
|
+
type: string;
|
|
32722
|
+
};
|
|
32723
|
+
};
|
|
32724
|
+
required: string[];
|
|
32725
|
+
type: string;
|
|
32726
|
+
};
|
|
32727
|
+
};
|
|
32728
|
+
};
|
|
32729
|
+
description: string;
|
|
32730
|
+
};
|
|
32731
|
+
400: {
|
|
32732
|
+
description: string;
|
|
32733
|
+
};
|
|
32734
|
+
401: {
|
|
32735
|
+
description: string;
|
|
32736
|
+
};
|
|
32737
|
+
};
|
|
32738
|
+
security: ({
|
|
32739
|
+
api_key: never[];
|
|
32740
|
+
pat_with_workspace?: never;
|
|
32741
|
+
console_session_with_workspace?: never;
|
|
32742
|
+
} | {
|
|
32743
|
+
pat_with_workspace: never[];
|
|
32744
|
+
api_key?: never;
|
|
32745
|
+
console_session_with_workspace?: never;
|
|
32746
|
+
} | {
|
|
32747
|
+
console_session_with_workspace: never[];
|
|
32748
|
+
api_key?: never;
|
|
32749
|
+
pat_with_workspace?: never;
|
|
32750
|
+
})[];
|
|
32751
|
+
summary: string;
|
|
32752
|
+
tags: never[];
|
|
32753
|
+
'x-fern-sdk-group-name': string[];
|
|
32754
|
+
'x-fern-sdk-method-name': string;
|
|
32755
|
+
'x-fern-sdk-return-value': string;
|
|
32756
|
+
'x-response-key': string;
|
|
32757
|
+
'x-title': string;
|
|
32758
|
+
};
|
|
32759
|
+
post: {
|
|
32760
|
+
description: string;
|
|
32761
|
+
operationId: string;
|
|
32762
|
+
requestBody: {
|
|
32763
|
+
content: {
|
|
32764
|
+
'application/json': {
|
|
32765
|
+
schema: {
|
|
32766
|
+
properties: {
|
|
32767
|
+
user_identity_id: {
|
|
32768
|
+
description: string;
|
|
32769
|
+
format: string;
|
|
32770
|
+
type: string;
|
|
32771
|
+
};
|
|
32772
|
+
};
|
|
32773
|
+
type: string;
|
|
32774
|
+
};
|
|
32775
|
+
};
|
|
32776
|
+
};
|
|
32777
|
+
};
|
|
32778
|
+
responses: {
|
|
32779
|
+
200: {
|
|
32780
|
+
content: {
|
|
32781
|
+
'application/json': {
|
|
32782
|
+
schema: {
|
|
32783
|
+
properties: {
|
|
32784
|
+
instant_keys: {
|
|
32785
|
+
items: {
|
|
32786
|
+
$ref: string;
|
|
32787
|
+
};
|
|
32788
|
+
type: string;
|
|
32789
|
+
};
|
|
32790
|
+
ok: {
|
|
32791
|
+
type: string;
|
|
32792
|
+
};
|
|
32793
|
+
};
|
|
32794
|
+
required: string[];
|
|
32795
|
+
type: string;
|
|
32796
|
+
};
|
|
32797
|
+
};
|
|
32798
|
+
};
|
|
32799
|
+
description: string;
|
|
32800
|
+
};
|
|
32801
|
+
400: {
|
|
32802
|
+
description: string;
|
|
32803
|
+
};
|
|
32804
|
+
401: {
|
|
32805
|
+
description: string;
|
|
32806
|
+
};
|
|
32807
|
+
};
|
|
32808
|
+
security: ({
|
|
32809
|
+
api_key: never[];
|
|
32810
|
+
pat_with_workspace?: never;
|
|
32811
|
+
console_session_with_workspace?: never;
|
|
32812
|
+
} | {
|
|
32813
|
+
pat_with_workspace: never[];
|
|
32814
|
+
api_key?: never;
|
|
32815
|
+
console_session_with_workspace?: never;
|
|
32816
|
+
} | {
|
|
32817
|
+
console_session_with_workspace: never[];
|
|
32818
|
+
api_key?: never;
|
|
32819
|
+
pat_with_workspace?: never;
|
|
32820
|
+
})[];
|
|
32821
|
+
summary: string;
|
|
32822
|
+
tags: never[];
|
|
32823
|
+
'x-fern-sdk-group-name': string[];
|
|
32824
|
+
'x-fern-sdk-method-name': string;
|
|
32825
|
+
'x-fern-sdk-return-value': string;
|
|
32826
|
+
'x-response-key': string;
|
|
32827
|
+
'x-title': string;
|
|
32828
|
+
};
|
|
32829
|
+
};
|
|
32688
32830
|
'/locks/get': {
|
|
32689
32831
|
get: {
|
|
32690
32832
|
description: string;
|
|
@@ -25189,6 +25189,11 @@ export default {
|
|
|
25189
25189
|
items: { format: 'uuid', type: 'string' },
|
|
25190
25190
|
type: 'array',
|
|
25191
25191
|
},
|
|
25192
|
+
space_keys: {
|
|
25193
|
+
description: 'Set of keys of existing spaces to which access is being granted.',
|
|
25194
|
+
items: { type: 'string' },
|
|
25195
|
+
type: 'array',
|
|
25196
|
+
},
|
|
25192
25197
|
starts_at: {
|
|
25193
25198
|
description: 'Date and time at which the validity of the new grant starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
|
|
25194
25199
|
type: 'string',
|
|
@@ -39129,6 +39134,111 @@ export default {
|
|
|
39129
39134
|
'x-title': 'List Events',
|
|
39130
39135
|
},
|
|
39131
39136
|
},
|
|
39137
|
+
'/instant_keys/list': {
|
|
39138
|
+
get: {
|
|
39139
|
+
description: 'Returns a list of all [instant keys](https://docs.seam.co/latest/capability-guides/mobile-access/instant-keys).',
|
|
39140
|
+
operationId: 'instantKeysListGet',
|
|
39141
|
+
parameters: [
|
|
39142
|
+
{
|
|
39143
|
+
in: 'query',
|
|
39144
|
+
name: 'user_identity_id',
|
|
39145
|
+
schema: {
|
|
39146
|
+
description: 'ID of the user identity by which you want to filter the list of Instant Keys.',
|
|
39147
|
+
format: 'uuid',
|
|
39148
|
+
type: 'string',
|
|
39149
|
+
},
|
|
39150
|
+
},
|
|
39151
|
+
],
|
|
39152
|
+
responses: {
|
|
39153
|
+
200: {
|
|
39154
|
+
content: {
|
|
39155
|
+
'application/json': {
|
|
39156
|
+
schema: {
|
|
39157
|
+
properties: {
|
|
39158
|
+
instant_keys: {
|
|
39159
|
+
items: { $ref: '#/components/schemas/instant_key' },
|
|
39160
|
+
type: 'array',
|
|
39161
|
+
},
|
|
39162
|
+
ok: { type: 'boolean' },
|
|
39163
|
+
},
|
|
39164
|
+
required: ['instant_keys', 'ok'],
|
|
39165
|
+
type: 'object',
|
|
39166
|
+
},
|
|
39167
|
+
},
|
|
39168
|
+
},
|
|
39169
|
+
description: 'OK',
|
|
39170
|
+
},
|
|
39171
|
+
400: { description: 'Bad Request' },
|
|
39172
|
+
401: { description: 'Unauthorized' },
|
|
39173
|
+
},
|
|
39174
|
+
security: [
|
|
39175
|
+
{ api_key: [] },
|
|
39176
|
+
{ pat_with_workspace: [] },
|
|
39177
|
+
{ console_session_with_workspace: [] },
|
|
39178
|
+
],
|
|
39179
|
+
summary: '/instant_keys/list',
|
|
39180
|
+
tags: [],
|
|
39181
|
+
'x-fern-sdk-group-name': ['instant_keys'],
|
|
39182
|
+
'x-fern-sdk-method-name': 'list',
|
|
39183
|
+
'x-fern-sdk-return-value': 'instant_keys',
|
|
39184
|
+
'x-response-key': 'instant_keys',
|
|
39185
|
+
'x-title': 'List Instant Keys',
|
|
39186
|
+
},
|
|
39187
|
+
post: {
|
|
39188
|
+
description: 'Returns a list of all [instant keys](https://docs.seam.co/latest/capability-guides/mobile-access/instant-keys).',
|
|
39189
|
+
operationId: 'instantKeysListPost',
|
|
39190
|
+
requestBody: {
|
|
39191
|
+
content: {
|
|
39192
|
+
'application/json': {
|
|
39193
|
+
schema: {
|
|
39194
|
+
properties: {
|
|
39195
|
+
user_identity_id: {
|
|
39196
|
+
description: 'ID of the user identity by which you want to filter the list of Instant Keys.',
|
|
39197
|
+
format: 'uuid',
|
|
39198
|
+
type: 'string',
|
|
39199
|
+
},
|
|
39200
|
+
},
|
|
39201
|
+
type: 'object',
|
|
39202
|
+
},
|
|
39203
|
+
},
|
|
39204
|
+
},
|
|
39205
|
+
},
|
|
39206
|
+
responses: {
|
|
39207
|
+
200: {
|
|
39208
|
+
content: {
|
|
39209
|
+
'application/json': {
|
|
39210
|
+
schema: {
|
|
39211
|
+
properties: {
|
|
39212
|
+
instant_keys: {
|
|
39213
|
+
items: { $ref: '#/components/schemas/instant_key' },
|
|
39214
|
+
type: 'array',
|
|
39215
|
+
},
|
|
39216
|
+
ok: { type: 'boolean' },
|
|
39217
|
+
},
|
|
39218
|
+
required: ['instant_keys', 'ok'],
|
|
39219
|
+
type: 'object',
|
|
39220
|
+
},
|
|
39221
|
+
},
|
|
39222
|
+
},
|
|
39223
|
+
description: 'OK',
|
|
39224
|
+
},
|
|
39225
|
+
400: { description: 'Bad Request' },
|
|
39226
|
+
401: { description: 'Unauthorized' },
|
|
39227
|
+
},
|
|
39228
|
+
security: [
|
|
39229
|
+
{ api_key: [] },
|
|
39230
|
+
{ pat_with_workspace: [] },
|
|
39231
|
+
{ console_session_with_workspace: [] },
|
|
39232
|
+
],
|
|
39233
|
+
summary: '/instant_keys/list',
|
|
39234
|
+
tags: [],
|
|
39235
|
+
'x-fern-sdk-group-name': ['instant_keys'],
|
|
39236
|
+
'x-fern-sdk-method-name': 'list',
|
|
39237
|
+
'x-fern-sdk-return-value': 'instant_keys',
|
|
39238
|
+
'x-response-key': 'instant_keys',
|
|
39239
|
+
'x-title': 'List Instant Keys',
|
|
39240
|
+
},
|
|
39241
|
+
},
|
|
39132
39242
|
'/locks/get': {
|
|
39133
39243
|
get: {
|
|
39134
39244
|
description: 'Returns a specified [lock](https://docs.seam.co/latest/capability-guides/smart-locks). **Use `/devices/get` instead.**',
|