@seamapi/types 1.406.8 → 1.406.9
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 +178 -24
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +313 -31
- 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/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 +177 -23
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +66 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +1 -0
- package/src/lib/seam/connect/models/partner/magic-link.ts +9 -5
- package/src/lib/seam/connect/openapi.ts +180 -23
- package/src/lib/seam/connect/route-types.ts +81 -8
package/dist/connect.cjs
CHANGED
|
@@ -19661,7 +19661,7 @@ var openapi_default = {
|
|
|
19661
19661
|
magic_link: {
|
|
19662
19662
|
properties: {
|
|
19663
19663
|
building_block_type: {
|
|
19664
|
-
enum: ["
|
|
19664
|
+
enum: ["connect_accounts", "manage_devices", "organize_spaces"],
|
|
19665
19665
|
type: "string"
|
|
19666
19666
|
},
|
|
19667
19667
|
created_at: { format: "date-time", type: "string" },
|
|
@@ -40109,6 +40109,55 @@ var openapi_default = {
|
|
|
40109
40109
|
"x-undocumented": "Experimental locations."
|
|
40110
40110
|
}
|
|
40111
40111
|
},
|
|
40112
|
+
"/unstable_partner/building_blocks/connect_accounts": {
|
|
40113
|
+
post: {
|
|
40114
|
+
description: "Creates a new building block magic link to connect accounts.",
|
|
40115
|
+
operationId: "unstablePartnerBuildingBlocksConnectAccountsPost",
|
|
40116
|
+
requestBody: {
|
|
40117
|
+
content: {
|
|
40118
|
+
"application/json": {
|
|
40119
|
+
schema: {
|
|
40120
|
+
properties: { customer_key: { type: "string" } },
|
|
40121
|
+
required: ["customer_key"],
|
|
40122
|
+
type: "object"
|
|
40123
|
+
}
|
|
40124
|
+
}
|
|
40125
|
+
}
|
|
40126
|
+
},
|
|
40127
|
+
responses: {
|
|
40128
|
+
200: {
|
|
40129
|
+
content: {
|
|
40130
|
+
"application/json": {
|
|
40131
|
+
schema: {
|
|
40132
|
+
properties: {
|
|
40133
|
+
magic_link: { $ref: "#/components/schemas/magic_link" },
|
|
40134
|
+
ok: { type: "boolean" }
|
|
40135
|
+
},
|
|
40136
|
+
required: ["magic_link", "ok"],
|
|
40137
|
+
type: "object"
|
|
40138
|
+
}
|
|
40139
|
+
}
|
|
40140
|
+
},
|
|
40141
|
+
description: "OK"
|
|
40142
|
+
},
|
|
40143
|
+
400: { description: "Bad Request" },
|
|
40144
|
+
401: { description: "Unauthorized" }
|
|
40145
|
+
},
|
|
40146
|
+
security: [
|
|
40147
|
+
{ pat_with_workspace: [] },
|
|
40148
|
+
{ console_session_with_workspace: [] },
|
|
40149
|
+
{ api_key: [] }
|
|
40150
|
+
],
|
|
40151
|
+
summary: "/unstable_partner/building_blocks/connect_accounts",
|
|
40152
|
+
tags: [],
|
|
40153
|
+
"x-fern-sdk-group-name": ["unstable_partner", "building_blocks"],
|
|
40154
|
+
"x-fern-sdk-method-name": "connect_accounts",
|
|
40155
|
+
"x-fern-sdk-return-value": "magic_link",
|
|
40156
|
+
"x-response-key": "magic_link",
|
|
40157
|
+
"x-title": "Connect Accounts",
|
|
40158
|
+
"x-undocumented": "Experimental partner building blocks."
|
|
40159
|
+
}
|
|
40160
|
+
},
|
|
40112
40161
|
"/unstable_partner/building_blocks/generate_magic_link": {
|
|
40113
40162
|
post: {
|
|
40114
40163
|
description: "Creates a new building block magic link.",
|
|
@@ -40117,12 +40166,11 @@ var openapi_default = {
|
|
|
40117
40166
|
content: {
|
|
40118
40167
|
"application/json": {
|
|
40119
40168
|
schema: {
|
|
40120
|
-
discriminator: { propertyName: "building_block_type" },
|
|
40121
40169
|
oneOf: [
|
|
40122
40170
|
{
|
|
40123
40171
|
properties: {
|
|
40124
40172
|
building_block_type: {
|
|
40125
|
-
enum: ["
|
|
40173
|
+
enum: ["connect_accounts"],
|
|
40126
40174
|
type: "string"
|
|
40127
40175
|
},
|
|
40128
40176
|
customer_key: { type: "string" }
|
|
@@ -40147,30 +40195,13 @@ var openapi_default = {
|
|
|
40147
40195
|
enum: ["organize_spaces"],
|
|
40148
40196
|
type: "string"
|
|
40149
40197
|
},
|
|
40150
|
-
|
|
40151
|
-
|
|
40152
|
-
items: {
|
|
40153
|
-
properties: {
|
|
40154
|
-
custom_metadata: {
|
|
40155
|
-
additionalProperties: { type: "string" },
|
|
40156
|
-
type: "object"
|
|
40157
|
-
},
|
|
40158
|
-
description: { type: "string" },
|
|
40159
|
-
name: { type: "string" },
|
|
40160
|
-
partner_resource_key: { type: "string" }
|
|
40161
|
-
},
|
|
40162
|
-
required: ["partner_resource_key", "name"],
|
|
40163
|
-
type: "object",
|
|
40164
|
-
"x-route-path": "/unstable_partner/resources",
|
|
40165
|
-
"x-undocumented": "Unreleased."
|
|
40166
|
-
},
|
|
40167
|
-
type: "array"
|
|
40168
|
-
}
|
|
40198
|
+
collection_key: { type: "string" },
|
|
40199
|
+
customer_key: { type: "string" }
|
|
40169
40200
|
},
|
|
40170
40201
|
required: [
|
|
40171
40202
|
"building_block_type",
|
|
40172
40203
|
"customer_key",
|
|
40173
|
-
"
|
|
40204
|
+
"collection_key"
|
|
40174
40205
|
],
|
|
40175
40206
|
type: "object"
|
|
40176
40207
|
}
|
|
@@ -40198,7 +40229,11 @@ var openapi_default = {
|
|
|
40198
40229
|
400: { description: "Bad Request" },
|
|
40199
40230
|
401: { description: "Unauthorized" }
|
|
40200
40231
|
},
|
|
40201
|
-
security: [
|
|
40232
|
+
security: [
|
|
40233
|
+
{ pat_with_workspace: [] },
|
|
40234
|
+
{ console_session_with_workspace: [] },
|
|
40235
|
+
{ api_key: [] }
|
|
40236
|
+
],
|
|
40202
40237
|
summary: "/unstable_partner/building_blocks/generate_magic_link",
|
|
40203
40238
|
tags: [],
|
|
40204
40239
|
"x-fern-sdk-group-name": ["unstable_partner", "building_blocks"],
|
|
@@ -40209,6 +40244,125 @@ var openapi_default = {
|
|
|
40209
40244
|
"x-undocumented": "Experimental partner building blocks."
|
|
40210
40245
|
}
|
|
40211
40246
|
},
|
|
40247
|
+
"/unstable_partner/building_blocks/manage_devices": {
|
|
40248
|
+
post: {
|
|
40249
|
+
description: "Creates a new building block magic link to manage devices.",
|
|
40250
|
+
operationId: "unstablePartnerBuildingBlocksManageDevicesPost",
|
|
40251
|
+
requestBody: {
|
|
40252
|
+
content: {
|
|
40253
|
+
"application/json": {
|
|
40254
|
+
schema: {
|
|
40255
|
+
properties: { customer_key: { type: "string" } },
|
|
40256
|
+
required: ["customer_key"],
|
|
40257
|
+
type: "object"
|
|
40258
|
+
}
|
|
40259
|
+
}
|
|
40260
|
+
}
|
|
40261
|
+
},
|
|
40262
|
+
responses: {
|
|
40263
|
+
200: {
|
|
40264
|
+
content: {
|
|
40265
|
+
"application/json": {
|
|
40266
|
+
schema: {
|
|
40267
|
+
properties: {
|
|
40268
|
+
magic_link: { $ref: "#/components/schemas/magic_link" },
|
|
40269
|
+
ok: { type: "boolean" }
|
|
40270
|
+
},
|
|
40271
|
+
required: ["magic_link", "ok"],
|
|
40272
|
+
type: "object"
|
|
40273
|
+
}
|
|
40274
|
+
}
|
|
40275
|
+
},
|
|
40276
|
+
description: "OK"
|
|
40277
|
+
},
|
|
40278
|
+
400: { description: "Bad Request" },
|
|
40279
|
+
401: { description: "Unauthorized" }
|
|
40280
|
+
},
|
|
40281
|
+
security: [
|
|
40282
|
+
{ pat_with_workspace: [] },
|
|
40283
|
+
{ console_session_with_workspace: [] },
|
|
40284
|
+
{ api_key: [] }
|
|
40285
|
+
],
|
|
40286
|
+
summary: "/unstable_partner/building_blocks/manage_devices",
|
|
40287
|
+
tags: [],
|
|
40288
|
+
"x-fern-sdk-group-name": ["unstable_partner", "building_blocks"],
|
|
40289
|
+
"x-fern-sdk-method-name": "manage_devices",
|
|
40290
|
+
"x-fern-sdk-return-value": "magic_link",
|
|
40291
|
+
"x-response-key": "magic_link",
|
|
40292
|
+
"x-title": "Manage Devices",
|
|
40293
|
+
"x-undocumented": "Experimental partner building blocks."
|
|
40294
|
+
}
|
|
40295
|
+
},
|
|
40296
|
+
"/unstable_partner/building_blocks/organize_spaces": {
|
|
40297
|
+
post: {
|
|
40298
|
+
description: "Creates a new building block magic link to organize spaces.",
|
|
40299
|
+
operationId: "unstablePartnerBuildingBlocksOrganizeSpacesPost",
|
|
40300
|
+
requestBody: {
|
|
40301
|
+
content: {
|
|
40302
|
+
"application/json": {
|
|
40303
|
+
schema: {
|
|
40304
|
+
properties: {
|
|
40305
|
+
customer_key: { type: "string" },
|
|
40306
|
+
partner_resources: {
|
|
40307
|
+
items: {
|
|
40308
|
+
properties: {
|
|
40309
|
+
custom_metadata: {
|
|
40310
|
+
additionalProperties: { type: "string" },
|
|
40311
|
+
type: "object"
|
|
40312
|
+
},
|
|
40313
|
+
description: { type: "string" },
|
|
40314
|
+
name: { type: "string" },
|
|
40315
|
+
partner_resource_key: { type: "string" }
|
|
40316
|
+
},
|
|
40317
|
+
required: ["partner_resource_key", "name"],
|
|
40318
|
+
type: "object",
|
|
40319
|
+
"x-route-path": "/unstable_partner/resources",
|
|
40320
|
+
"x-undocumented": "Unreleased."
|
|
40321
|
+
},
|
|
40322
|
+
minItems: 1,
|
|
40323
|
+
type: "array"
|
|
40324
|
+
}
|
|
40325
|
+
},
|
|
40326
|
+
required: ["customer_key", "partner_resources"],
|
|
40327
|
+
type: "object"
|
|
40328
|
+
}
|
|
40329
|
+
}
|
|
40330
|
+
}
|
|
40331
|
+
},
|
|
40332
|
+
responses: {
|
|
40333
|
+
200: {
|
|
40334
|
+
content: {
|
|
40335
|
+
"application/json": {
|
|
40336
|
+
schema: {
|
|
40337
|
+
properties: {
|
|
40338
|
+
magic_link: { $ref: "#/components/schemas/magic_link" },
|
|
40339
|
+
ok: { type: "boolean" }
|
|
40340
|
+
},
|
|
40341
|
+
required: ["magic_link", "ok"],
|
|
40342
|
+
type: "object"
|
|
40343
|
+
}
|
|
40344
|
+
}
|
|
40345
|
+
},
|
|
40346
|
+
description: "OK"
|
|
40347
|
+
},
|
|
40348
|
+
400: { description: "Bad Request" },
|
|
40349
|
+
401: { description: "Unauthorized" }
|
|
40350
|
+
},
|
|
40351
|
+
security: [
|
|
40352
|
+
{ pat_with_workspace: [] },
|
|
40353
|
+
{ console_session_with_workspace: [] },
|
|
40354
|
+
{ api_key: [] }
|
|
40355
|
+
],
|
|
40356
|
+
summary: "/unstable_partner/building_blocks/organize_spaces",
|
|
40357
|
+
tags: [],
|
|
40358
|
+
"x-fern-sdk-group-name": ["unstable_partner", "building_blocks"],
|
|
40359
|
+
"x-fern-sdk-method-name": "organize_spaces",
|
|
40360
|
+
"x-fern-sdk-return-value": "magic_link",
|
|
40361
|
+
"x-response-key": "magic_link",
|
|
40362
|
+
"x-title": "Organize Spaces",
|
|
40363
|
+
"x-undocumented": "Experimental partner building blocks."
|
|
40364
|
+
}
|
|
40365
|
+
},
|
|
40212
40366
|
"/unstable_partner/resources/push": {
|
|
40213
40367
|
post: {
|
|
40214
40368
|
description: "Send Seam some of your resources.",
|