@seamapi/types 1.406.8 → 1.407.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 +231 -25
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +362 -33
- package/lib/seam/connect/internal/schemas.d.ts +1 -1
- package/lib/seam/connect/internal/schemas.js +1 -1
- package/lib/seam/connect/internal/schemas.js.map +1 -1
- package/lib/seam/connect/models/events/access-methods.d.ts +47 -0
- package/lib/seam/connect/models/events/access-methods.js +9 -0
- package/lib/seam/connect/models/events/access-methods.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +24 -1
- package/lib/seam/connect/models/partner/magic-link.d.ts +5 -3
- package/lib/seam/connect/models/partner/magic-link.js +6 -5
- package/lib/seam/connect/models/partner/magic-link.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +247 -29
- package/lib/seam/connect/openapi.js +220 -23
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +92 -4
- package/package.json +2 -2
- package/src/lib/seam/connect/internal/schemas.ts +1 -0
- package/src/lib/seam/connect/models/events/access-methods.ts +10 -0
- package/src/lib/seam/connect/models/partner/magic-link.ts +9 -5
- package/src/lib/seam/connect/openapi.ts +223 -23
- package/src/lib/seam/connect/route-types.ts +109 -8
|
@@ -11154,6 +11154,47 @@ export default {
|
|
|
11154
11154
|
type: 'object',
|
|
11155
11155
|
'x-route-path': '/unstable_access_methods',
|
|
11156
11156
|
},
|
|
11157
|
+
{
|
|
11158
|
+
description: 'An access method was deleted.',
|
|
11159
|
+
properties: {
|
|
11160
|
+
access_method_id: {
|
|
11161
|
+
description: 'ID of the affected access method.',
|
|
11162
|
+
format: 'uuid',
|
|
11163
|
+
type: 'string',
|
|
11164
|
+
},
|
|
11165
|
+
created_at: {
|
|
11166
|
+
description: 'Date and time at which the event was created.',
|
|
11167
|
+
format: 'date-time',
|
|
11168
|
+
type: 'string',
|
|
11169
|
+
},
|
|
11170
|
+
event_id: {
|
|
11171
|
+
description: 'ID of the event.',
|
|
11172
|
+
format: 'uuid',
|
|
11173
|
+
type: 'string',
|
|
11174
|
+
},
|
|
11175
|
+
event_type: { enum: ['access_method.deleted'], type: 'string' },
|
|
11176
|
+
occurred_at: {
|
|
11177
|
+
description: 'Date and time at which the event occurred.',
|
|
11178
|
+
format: 'date-time',
|
|
11179
|
+
type: 'string',
|
|
11180
|
+
},
|
|
11181
|
+
workspace_id: {
|
|
11182
|
+
description: 'ID of the workspace associated with the event.',
|
|
11183
|
+
format: 'uuid',
|
|
11184
|
+
type: 'string',
|
|
11185
|
+
},
|
|
11186
|
+
},
|
|
11187
|
+
required: [
|
|
11188
|
+
'event_id',
|
|
11189
|
+
'workspace_id',
|
|
11190
|
+
'created_at',
|
|
11191
|
+
'occurred_at',
|
|
11192
|
+
'access_method_id',
|
|
11193
|
+
'event_type',
|
|
11194
|
+
],
|
|
11195
|
+
type: 'object',
|
|
11196
|
+
'x-route-path': '/unstable_access_methods',
|
|
11197
|
+
},
|
|
11157
11198
|
{
|
|
11158
11199
|
description: 'An [access system](https://docs.seam.co/latest/capability-guides/access-systems) was connected.',
|
|
11159
11200
|
properties: {
|
|
@@ -14534,7 +14575,7 @@ export default {
|
|
|
14534
14575
|
magic_link: {
|
|
14535
14576
|
properties: {
|
|
14536
14577
|
building_block_type: {
|
|
14537
|
-
enum: ['
|
|
14578
|
+
enum: ['connect_accounts', 'manage_devices', 'organize_spaces'],
|
|
14538
14579
|
type: 'string',
|
|
14539
14580
|
},
|
|
14540
14581
|
created_at: { format: 'date-time', type: 'string' },
|
|
@@ -27428,6 +27469,7 @@ export default {
|
|
|
27428
27469
|
'access_method.issued',
|
|
27429
27470
|
'access_method.revoked',
|
|
27430
27471
|
'access_method.card_encoding_required',
|
|
27472
|
+
'access_method.deleted',
|
|
27431
27473
|
'acs_system.connected',
|
|
27432
27474
|
'acs_system.added',
|
|
27433
27475
|
'acs_system.disconnected',
|
|
@@ -27523,6 +27565,7 @@ export default {
|
|
|
27523
27565
|
'access_method.issued',
|
|
27524
27566
|
'access_method.revoked',
|
|
27525
27567
|
'access_method.card_encoding_required',
|
|
27568
|
+
'access_method.deleted',
|
|
27526
27569
|
'acs_system.connected',
|
|
27527
27570
|
'acs_system.added',
|
|
27528
27571
|
'acs_system.disconnected',
|
|
@@ -34982,6 +35025,55 @@ export default {
|
|
|
34982
35025
|
'x-undocumented': 'Experimental locations.',
|
|
34983
35026
|
},
|
|
34984
35027
|
},
|
|
35028
|
+
'/unstable_partner/building_blocks/connect_accounts': {
|
|
35029
|
+
post: {
|
|
35030
|
+
description: 'Creates a new building block magic link to connect accounts.',
|
|
35031
|
+
operationId: 'unstablePartnerBuildingBlocksConnectAccountsPost',
|
|
35032
|
+
requestBody: {
|
|
35033
|
+
content: {
|
|
35034
|
+
'application/json': {
|
|
35035
|
+
schema: {
|
|
35036
|
+
properties: { customer_key: { type: 'string' } },
|
|
35037
|
+
required: ['customer_key'],
|
|
35038
|
+
type: 'object',
|
|
35039
|
+
},
|
|
35040
|
+
},
|
|
35041
|
+
},
|
|
35042
|
+
},
|
|
35043
|
+
responses: {
|
|
35044
|
+
200: {
|
|
35045
|
+
content: {
|
|
35046
|
+
'application/json': {
|
|
35047
|
+
schema: {
|
|
35048
|
+
properties: {
|
|
35049
|
+
magic_link: { $ref: '#/components/schemas/magic_link' },
|
|
35050
|
+
ok: { type: 'boolean' },
|
|
35051
|
+
},
|
|
35052
|
+
required: ['magic_link', 'ok'],
|
|
35053
|
+
type: 'object',
|
|
35054
|
+
},
|
|
35055
|
+
},
|
|
35056
|
+
},
|
|
35057
|
+
description: 'OK',
|
|
35058
|
+
},
|
|
35059
|
+
400: { description: 'Bad Request' },
|
|
35060
|
+
401: { description: 'Unauthorized' },
|
|
35061
|
+
},
|
|
35062
|
+
security: [
|
|
35063
|
+
{ pat_with_workspace: [] },
|
|
35064
|
+
{ console_session_with_workspace: [] },
|
|
35065
|
+
{ api_key: [] },
|
|
35066
|
+
],
|
|
35067
|
+
summary: '/unstable_partner/building_blocks/connect_accounts',
|
|
35068
|
+
tags: [],
|
|
35069
|
+
'x-fern-sdk-group-name': ['unstable_partner', 'building_blocks'],
|
|
35070
|
+
'x-fern-sdk-method-name': 'connect_accounts',
|
|
35071
|
+
'x-fern-sdk-return-value': 'magic_link',
|
|
35072
|
+
'x-response-key': 'magic_link',
|
|
35073
|
+
'x-title': 'Connect Accounts',
|
|
35074
|
+
'x-undocumented': 'Experimental partner building blocks.',
|
|
35075
|
+
},
|
|
35076
|
+
},
|
|
34985
35077
|
'/unstable_partner/building_blocks/generate_magic_link': {
|
|
34986
35078
|
post: {
|
|
34987
35079
|
description: 'Creates a new building block magic link.',
|
|
@@ -34990,12 +35082,11 @@ export default {
|
|
|
34990
35082
|
content: {
|
|
34991
35083
|
'application/json': {
|
|
34992
35084
|
schema: {
|
|
34993
|
-
discriminator: { propertyName: 'building_block_type' },
|
|
34994
35085
|
oneOf: [
|
|
34995
35086
|
{
|
|
34996
35087
|
properties: {
|
|
34997
35088
|
building_block_type: {
|
|
34998
|
-
enum: ['
|
|
35089
|
+
enum: ['connect_accounts'],
|
|
34999
35090
|
type: 'string',
|
|
35000
35091
|
},
|
|
35001
35092
|
customer_key: { type: 'string' },
|
|
@@ -35020,30 +35111,13 @@ export default {
|
|
|
35020
35111
|
enum: ['organize_spaces'],
|
|
35021
35112
|
type: 'string',
|
|
35022
35113
|
},
|
|
35114
|
+
collection_key: { type: 'string' },
|
|
35023
35115
|
customer_key: { type: 'string' },
|
|
35024
|
-
partner_resources: {
|
|
35025
|
-
items: {
|
|
35026
|
-
properties: {
|
|
35027
|
-
custom_metadata: {
|
|
35028
|
-
additionalProperties: { type: 'string' },
|
|
35029
|
-
type: 'object',
|
|
35030
|
-
},
|
|
35031
|
-
description: { type: 'string' },
|
|
35032
|
-
name: { type: 'string' },
|
|
35033
|
-
partner_resource_key: { type: 'string' },
|
|
35034
|
-
},
|
|
35035
|
-
required: ['partner_resource_key', 'name'],
|
|
35036
|
-
type: 'object',
|
|
35037
|
-
'x-route-path': '/unstable_partner/resources',
|
|
35038
|
-
'x-undocumented': 'Unreleased.',
|
|
35039
|
-
},
|
|
35040
|
-
type: 'array',
|
|
35041
|
-
},
|
|
35042
35116
|
},
|
|
35043
35117
|
required: [
|
|
35044
35118
|
'building_block_type',
|
|
35045
35119
|
'customer_key',
|
|
35046
|
-
'
|
|
35120
|
+
'collection_key',
|
|
35047
35121
|
],
|
|
35048
35122
|
type: 'object',
|
|
35049
35123
|
},
|
|
@@ -35071,7 +35145,11 @@ export default {
|
|
|
35071
35145
|
400: { description: 'Bad Request' },
|
|
35072
35146
|
401: { description: 'Unauthorized' },
|
|
35073
35147
|
},
|
|
35074
|
-
security: [
|
|
35148
|
+
security: [
|
|
35149
|
+
{ pat_with_workspace: [] },
|
|
35150
|
+
{ console_session_with_workspace: [] },
|
|
35151
|
+
{ api_key: [] },
|
|
35152
|
+
],
|
|
35075
35153
|
summary: '/unstable_partner/building_blocks/generate_magic_link',
|
|
35076
35154
|
tags: [],
|
|
35077
35155
|
'x-fern-sdk-group-name': ['unstable_partner', 'building_blocks'],
|
|
@@ -35082,6 +35160,125 @@ export default {
|
|
|
35082
35160
|
'x-undocumented': 'Experimental partner building blocks.',
|
|
35083
35161
|
},
|
|
35084
35162
|
},
|
|
35163
|
+
'/unstable_partner/building_blocks/manage_devices': {
|
|
35164
|
+
post: {
|
|
35165
|
+
description: 'Creates a new building block magic link to manage devices.',
|
|
35166
|
+
operationId: 'unstablePartnerBuildingBlocksManageDevicesPost',
|
|
35167
|
+
requestBody: {
|
|
35168
|
+
content: {
|
|
35169
|
+
'application/json': {
|
|
35170
|
+
schema: {
|
|
35171
|
+
properties: { customer_key: { type: 'string' } },
|
|
35172
|
+
required: ['customer_key'],
|
|
35173
|
+
type: 'object',
|
|
35174
|
+
},
|
|
35175
|
+
},
|
|
35176
|
+
},
|
|
35177
|
+
},
|
|
35178
|
+
responses: {
|
|
35179
|
+
200: {
|
|
35180
|
+
content: {
|
|
35181
|
+
'application/json': {
|
|
35182
|
+
schema: {
|
|
35183
|
+
properties: {
|
|
35184
|
+
magic_link: { $ref: '#/components/schemas/magic_link' },
|
|
35185
|
+
ok: { type: 'boolean' },
|
|
35186
|
+
},
|
|
35187
|
+
required: ['magic_link', 'ok'],
|
|
35188
|
+
type: 'object',
|
|
35189
|
+
},
|
|
35190
|
+
},
|
|
35191
|
+
},
|
|
35192
|
+
description: 'OK',
|
|
35193
|
+
},
|
|
35194
|
+
400: { description: 'Bad Request' },
|
|
35195
|
+
401: { description: 'Unauthorized' },
|
|
35196
|
+
},
|
|
35197
|
+
security: [
|
|
35198
|
+
{ pat_with_workspace: [] },
|
|
35199
|
+
{ console_session_with_workspace: [] },
|
|
35200
|
+
{ api_key: [] },
|
|
35201
|
+
],
|
|
35202
|
+
summary: '/unstable_partner/building_blocks/manage_devices',
|
|
35203
|
+
tags: [],
|
|
35204
|
+
'x-fern-sdk-group-name': ['unstable_partner', 'building_blocks'],
|
|
35205
|
+
'x-fern-sdk-method-name': 'manage_devices',
|
|
35206
|
+
'x-fern-sdk-return-value': 'magic_link',
|
|
35207
|
+
'x-response-key': 'magic_link',
|
|
35208
|
+
'x-title': 'Manage Devices',
|
|
35209
|
+
'x-undocumented': 'Experimental partner building blocks.',
|
|
35210
|
+
},
|
|
35211
|
+
},
|
|
35212
|
+
'/unstable_partner/building_blocks/organize_spaces': {
|
|
35213
|
+
post: {
|
|
35214
|
+
description: 'Creates a new building block magic link to organize spaces.',
|
|
35215
|
+
operationId: 'unstablePartnerBuildingBlocksOrganizeSpacesPost',
|
|
35216
|
+
requestBody: {
|
|
35217
|
+
content: {
|
|
35218
|
+
'application/json': {
|
|
35219
|
+
schema: {
|
|
35220
|
+
properties: {
|
|
35221
|
+
customer_key: { type: 'string' },
|
|
35222
|
+
partner_resources: {
|
|
35223
|
+
items: {
|
|
35224
|
+
properties: {
|
|
35225
|
+
custom_metadata: {
|
|
35226
|
+
additionalProperties: { type: 'string' },
|
|
35227
|
+
type: 'object',
|
|
35228
|
+
},
|
|
35229
|
+
description: { type: 'string' },
|
|
35230
|
+
name: { type: 'string' },
|
|
35231
|
+
partner_resource_key: { type: 'string' },
|
|
35232
|
+
},
|
|
35233
|
+
required: ['partner_resource_key', 'name'],
|
|
35234
|
+
type: 'object',
|
|
35235
|
+
'x-route-path': '/unstable_partner/resources',
|
|
35236
|
+
'x-undocumented': 'Unreleased.',
|
|
35237
|
+
},
|
|
35238
|
+
minItems: 1,
|
|
35239
|
+
type: 'array',
|
|
35240
|
+
},
|
|
35241
|
+
},
|
|
35242
|
+
required: ['customer_key', 'partner_resources'],
|
|
35243
|
+
type: 'object',
|
|
35244
|
+
},
|
|
35245
|
+
},
|
|
35246
|
+
},
|
|
35247
|
+
},
|
|
35248
|
+
responses: {
|
|
35249
|
+
200: {
|
|
35250
|
+
content: {
|
|
35251
|
+
'application/json': {
|
|
35252
|
+
schema: {
|
|
35253
|
+
properties: {
|
|
35254
|
+
magic_link: { $ref: '#/components/schemas/magic_link' },
|
|
35255
|
+
ok: { type: 'boolean' },
|
|
35256
|
+
},
|
|
35257
|
+
required: ['magic_link', 'ok'],
|
|
35258
|
+
type: 'object',
|
|
35259
|
+
},
|
|
35260
|
+
},
|
|
35261
|
+
},
|
|
35262
|
+
description: 'OK',
|
|
35263
|
+
},
|
|
35264
|
+
400: { description: 'Bad Request' },
|
|
35265
|
+
401: { description: 'Unauthorized' },
|
|
35266
|
+
},
|
|
35267
|
+
security: [
|
|
35268
|
+
{ pat_with_workspace: [] },
|
|
35269
|
+
{ console_session_with_workspace: [] },
|
|
35270
|
+
{ api_key: [] },
|
|
35271
|
+
],
|
|
35272
|
+
summary: '/unstable_partner/building_blocks/organize_spaces',
|
|
35273
|
+
tags: [],
|
|
35274
|
+
'x-fern-sdk-group-name': ['unstable_partner', 'building_blocks'],
|
|
35275
|
+
'x-fern-sdk-method-name': 'organize_spaces',
|
|
35276
|
+
'x-fern-sdk-return-value': 'magic_link',
|
|
35277
|
+
'x-response-key': 'magic_link',
|
|
35278
|
+
'x-title': 'Organize Spaces',
|
|
35279
|
+
'x-undocumented': 'Experimental partner building blocks.',
|
|
35280
|
+
},
|
|
35281
|
+
},
|
|
35085
35282
|
'/unstable_partner/resources/push': {
|
|
35086
35283
|
post: {
|
|
35087
35284
|
description: 'Send Seam some of your resources.',
|