@seamapi/types 1.84.0 → 1.85.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.
- package/README.md +5 -0
- package/dist/connect.cjs +68 -38
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +121 -58
- package/lib/seam/connect/openapi.d.ts +103 -46
- package/lib/seam/connect/openapi.js +58 -31
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +14 -8
- package/lib/seam/connect/stable/models/connect-webview.d.ts +3 -3
- package/lib/seam/connect/stable/models/custom-metadata.d.ts +1 -1
- package/lib/seam/connect/stable/models/custom-metadata.js +1 -1
- package/lib/seam/connect/stable/models/custom-metadata.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +60 -31
- package/src/lib/seam/connect/route-types.ts +14 -8
- package/src/lib/seam/connect/stable/models/custom-metadata.ts +4 -1
|
@@ -408,7 +408,12 @@ export default {
|
|
|
408
408
|
created_at: { format: 'date-time', type: 'string' },
|
|
409
409
|
custom_metadata: {
|
|
410
410
|
additionalProperties: {
|
|
411
|
-
|
|
411
|
+
nullable: true,
|
|
412
|
+
oneOf: [
|
|
413
|
+
{ maxLength: 500, type: 'string' },
|
|
414
|
+
{ type: 'boolean' },
|
|
415
|
+
{ format: 'null', nullable: true, type: 'string' },
|
|
416
|
+
],
|
|
412
417
|
},
|
|
413
418
|
type: 'object',
|
|
414
419
|
},
|
|
@@ -464,7 +469,12 @@ export default {
|
|
|
464
469
|
created_at: { format: 'date-time', type: 'string' },
|
|
465
470
|
custom_metadata: {
|
|
466
471
|
additionalProperties: {
|
|
467
|
-
|
|
472
|
+
nullable: true,
|
|
473
|
+
oneOf: [
|
|
474
|
+
{ maxLength: 500, type: 'string' },
|
|
475
|
+
{ type: 'boolean' },
|
|
476
|
+
{ format: 'null', nullable: true, type: 'string' },
|
|
477
|
+
],
|
|
468
478
|
},
|
|
469
479
|
type: 'object',
|
|
470
480
|
},
|
|
@@ -7282,9 +7292,11 @@ export default {
|
|
|
7282
7292
|
automatically_manage_new_devices: { type: 'boolean' },
|
|
7283
7293
|
custom_metadata: {
|
|
7284
7294
|
additionalProperties: {
|
|
7295
|
+
nullable: true,
|
|
7285
7296
|
oneOf: [
|
|
7286
7297
|
{ maxLength: 500, type: 'string' },
|
|
7287
7298
|
{ type: 'boolean' },
|
|
7299
|
+
{ format: 'null', nullable: true, type: 'string' },
|
|
7288
7300
|
],
|
|
7289
7301
|
},
|
|
7290
7302
|
type: 'object',
|
|
@@ -7438,7 +7450,21 @@ export default {
|
|
|
7438
7450
|
content: {
|
|
7439
7451
|
'application/json': {
|
|
7440
7452
|
schema: {
|
|
7441
|
-
properties: {
|
|
7453
|
+
properties: {
|
|
7454
|
+
custom_metadata_has: {
|
|
7455
|
+
additionalProperties: {
|
|
7456
|
+
nullable: true,
|
|
7457
|
+
oneOf: [
|
|
7458
|
+
{ maxLength: 500, type: 'string' },
|
|
7459
|
+
{ type: 'boolean' },
|
|
7460
|
+
{ format: 'null', nullable: true, type: 'string' },
|
|
7461
|
+
],
|
|
7462
|
+
},
|
|
7463
|
+
description: "Returns devices where the webview's custom_metadata contains all of the provided key/value pairs.",
|
|
7464
|
+
type: 'object',
|
|
7465
|
+
},
|
|
7466
|
+
user_identifier_key: { type: 'string' },
|
|
7467
|
+
},
|
|
7442
7468
|
type: 'object',
|
|
7443
7469
|
},
|
|
7444
7470
|
},
|
|
@@ -7609,41 +7635,31 @@ export default {
|
|
|
7609
7635
|
},
|
|
7610
7636
|
},
|
|
7611
7637
|
'/connected_accounts/list': {
|
|
7612
|
-
|
|
7613
|
-
operationId: '
|
|
7614
|
-
|
|
7615
|
-
|
|
7616
|
-
|
|
7617
|
-
|
|
7618
|
-
|
|
7619
|
-
|
|
7620
|
-
|
|
7621
|
-
|
|
7622
|
-
|
|
7638
|
+
post: {
|
|
7639
|
+
operationId: 'connectedAccountsListPost',
|
|
7640
|
+
requestBody: {
|
|
7641
|
+
content: {
|
|
7642
|
+
'application/json': {
|
|
7643
|
+
schema: {
|
|
7644
|
+
properties: {
|
|
7645
|
+
custom_metadata_has: {
|
|
7646
|
+
additionalProperties: {
|
|
7647
|
+
nullable: true,
|
|
7648
|
+
oneOf: [
|
|
7649
|
+
{ maxLength: 500, type: 'string' },
|
|
7650
|
+
{ type: 'boolean' },
|
|
7651
|
+
{ format: 'null', nullable: true, type: 'string' },
|
|
7652
|
+
],
|
|
7623
7653
|
},
|
|
7624
|
-
|
|
7654
|
+
description: "Returns devices where the account's custom_metadata contains all of the provided key/value pairs.",
|
|
7655
|
+
type: 'object',
|
|
7625
7656
|
},
|
|
7626
|
-
required: ['connected_accounts', 'ok'],
|
|
7627
|
-
type: 'object',
|
|
7628
7657
|
},
|
|
7658
|
+
type: 'object',
|
|
7629
7659
|
},
|
|
7630
7660
|
},
|
|
7631
|
-
description: 'OK',
|
|
7632
7661
|
},
|
|
7633
|
-
400: { description: 'Bad Request' },
|
|
7634
|
-
401: { description: 'Unauthorized' },
|
|
7635
7662
|
},
|
|
7636
|
-
security: [
|
|
7637
|
-
{ access_token: [], seam_workspace: [] },
|
|
7638
|
-
{ seam_client_session_token: [] },
|
|
7639
|
-
{ client_session_token: [] },
|
|
7640
|
-
],
|
|
7641
|
-
summary: '/connected_accounts/list',
|
|
7642
|
-
tags: ['/connected_accounts'],
|
|
7643
|
-
'x-fern-ignore': true,
|
|
7644
|
-
},
|
|
7645
|
-
post: {
|
|
7646
|
-
operationId: 'connectedAccountsListPost',
|
|
7647
7663
|
responses: {
|
|
7648
7664
|
200: {
|
|
7649
7665
|
content: {
|
|
@@ -7688,6 +7704,17 @@ export default {
|
|
|
7688
7704
|
properties: {
|
|
7689
7705
|
automatically_manage_new_devices: { type: 'boolean' },
|
|
7690
7706
|
connected_account_id: { format: 'uuid', type: 'string' },
|
|
7707
|
+
custom_metadata: {
|
|
7708
|
+
additionalProperties: {
|
|
7709
|
+
nullable: true,
|
|
7710
|
+
oneOf: [
|
|
7711
|
+
{ maxLength: 500, type: 'string' },
|
|
7712
|
+
{ type: 'boolean' },
|
|
7713
|
+
{ format: 'null', nullable: true, type: 'string' },
|
|
7714
|
+
],
|
|
7715
|
+
},
|
|
7716
|
+
type: 'object',
|
|
7717
|
+
},
|
|
7691
7718
|
},
|
|
7692
7719
|
required: ['connected_account_id'],
|
|
7693
7720
|
type: 'object',
|