@seamapi/types 1.84.0 → 1.85.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 +64 -38
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +101 -58
- package/lib/seam/connect/openapi.d.ts +83 -46
- package/lib/seam/connect/openapi.js +54 -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 +56 -31
- package/src/lib/seam/connect/route-types.ts +14 -8
- package/src/lib/seam/connect/stable/models/custom-metadata.ts +4 -1
package/dist/connect.cjs
CHANGED
|
@@ -14,7 +14,10 @@ __export(schemas_exports, {
|
|
|
14
14
|
connect_webview: () => connect_webview,
|
|
15
15
|
custom_metadata: () => custom_metadata
|
|
16
16
|
});
|
|
17
|
-
var custom_metadata = zod.z.record(
|
|
17
|
+
var custom_metadata = zod.z.record(
|
|
18
|
+
zod.z.string().max(40),
|
|
19
|
+
zod.z.union([zod.z.string().max(500), zod.z.boolean(), zod.z.null()])
|
|
20
|
+
).refine((val) => Object.keys(val).length <= 50, {
|
|
18
21
|
message: "Custom metadata is limited to a maximum of 50 keys"
|
|
19
22
|
});
|
|
20
23
|
|
|
@@ -452,7 +455,12 @@ var openapi_default = {
|
|
|
452
455
|
created_at: { format: "date-time", type: "string" },
|
|
453
456
|
custom_metadata: {
|
|
454
457
|
additionalProperties: {
|
|
455
|
-
|
|
458
|
+
nullable: true,
|
|
459
|
+
oneOf: [
|
|
460
|
+
{ maxLength: 500, type: "string" },
|
|
461
|
+
{ type: "boolean" },
|
|
462
|
+
{ format: "null", nullable: true, type: "string" }
|
|
463
|
+
]
|
|
456
464
|
},
|
|
457
465
|
type: "object"
|
|
458
466
|
},
|
|
@@ -508,7 +516,12 @@ var openapi_default = {
|
|
|
508
516
|
created_at: { format: "date-time", type: "string" },
|
|
509
517
|
custom_metadata: {
|
|
510
518
|
additionalProperties: {
|
|
511
|
-
|
|
519
|
+
nullable: true,
|
|
520
|
+
oneOf: [
|
|
521
|
+
{ maxLength: 500, type: "string" },
|
|
522
|
+
{ type: "boolean" },
|
|
523
|
+
{ format: "null", nullable: true, type: "string" }
|
|
524
|
+
]
|
|
512
525
|
},
|
|
513
526
|
type: "object"
|
|
514
527
|
},
|
|
@@ -7326,9 +7339,11 @@ var openapi_default = {
|
|
|
7326
7339
|
automatically_manage_new_devices: { type: "boolean" },
|
|
7327
7340
|
custom_metadata: {
|
|
7328
7341
|
additionalProperties: {
|
|
7342
|
+
nullable: true,
|
|
7329
7343
|
oneOf: [
|
|
7330
7344
|
{ maxLength: 500, type: "string" },
|
|
7331
|
-
{ type: "boolean" }
|
|
7345
|
+
{ type: "boolean" },
|
|
7346
|
+
{ format: "null", nullable: true, type: "string" }
|
|
7332
7347
|
]
|
|
7333
7348
|
},
|
|
7334
7349
|
type: "object"
|
|
@@ -7482,7 +7497,19 @@ var openapi_default = {
|
|
|
7482
7497
|
content: {
|
|
7483
7498
|
"application/json": {
|
|
7484
7499
|
schema: {
|
|
7485
|
-
properties: {
|
|
7500
|
+
properties: {
|
|
7501
|
+
custom_metadata_has: {
|
|
7502
|
+
additionalProperties: {
|
|
7503
|
+
oneOf: [
|
|
7504
|
+
{ maxLength: 500, type: "string" },
|
|
7505
|
+
{ type: "boolean" }
|
|
7506
|
+
]
|
|
7507
|
+
},
|
|
7508
|
+
description: "Returns devices where the webview's custom_metadata contains all of the provided key/value pairs.",
|
|
7509
|
+
type: "object"
|
|
7510
|
+
},
|
|
7511
|
+
user_identifier_key: { type: "string" }
|
|
7512
|
+
},
|
|
7486
7513
|
type: "object"
|
|
7487
7514
|
}
|
|
7488
7515
|
}
|
|
@@ -7653,41 +7680,29 @@ var openapi_default = {
|
|
|
7653
7680
|
}
|
|
7654
7681
|
},
|
|
7655
7682
|
"/connected_accounts/list": {
|
|
7656
|
-
|
|
7657
|
-
operationId: "
|
|
7658
|
-
|
|
7659
|
-
|
|
7660
|
-
|
|
7661
|
-
|
|
7662
|
-
|
|
7663
|
-
|
|
7664
|
-
|
|
7665
|
-
|
|
7666
|
-
|
|
7683
|
+
post: {
|
|
7684
|
+
operationId: "connectedAccountsListPost",
|
|
7685
|
+
requestBody: {
|
|
7686
|
+
content: {
|
|
7687
|
+
"application/json": {
|
|
7688
|
+
schema: {
|
|
7689
|
+
properties: {
|
|
7690
|
+
custom_metadata_has: {
|
|
7691
|
+
additionalProperties: {
|
|
7692
|
+
oneOf: [
|
|
7693
|
+
{ maxLength: 500, type: "string" },
|
|
7694
|
+
{ type: "boolean" }
|
|
7695
|
+
]
|
|
7667
7696
|
},
|
|
7668
|
-
|
|
7669
|
-
|
|
7670
|
-
|
|
7671
|
-
|
|
7672
|
-
|
|
7697
|
+
description: "Returns devices where the account's custom_metadata contains all of the provided key/value pairs.",
|
|
7698
|
+
type: "object"
|
|
7699
|
+
}
|
|
7700
|
+
},
|
|
7701
|
+
type: "object"
|
|
7673
7702
|
}
|
|
7674
|
-
}
|
|
7675
|
-
|
|
7676
|
-
},
|
|
7677
|
-
400: { description: "Bad Request" },
|
|
7678
|
-
401: { description: "Unauthorized" }
|
|
7703
|
+
}
|
|
7704
|
+
}
|
|
7679
7705
|
},
|
|
7680
|
-
security: [
|
|
7681
|
-
{ access_token: [], seam_workspace: [] },
|
|
7682
|
-
{ seam_client_session_token: [] },
|
|
7683
|
-
{ client_session_token: [] }
|
|
7684
|
-
],
|
|
7685
|
-
summary: "/connected_accounts/list",
|
|
7686
|
-
tags: ["/connected_accounts"],
|
|
7687
|
-
"x-fern-ignore": true
|
|
7688
|
-
},
|
|
7689
|
-
post: {
|
|
7690
|
-
operationId: "connectedAccountsListPost",
|
|
7691
7706
|
responses: {
|
|
7692
7707
|
200: {
|
|
7693
7708
|
content: {
|
|
@@ -7731,7 +7746,18 @@ var openapi_default = {
|
|
|
7731
7746
|
schema: {
|
|
7732
7747
|
properties: {
|
|
7733
7748
|
automatically_manage_new_devices: { type: "boolean" },
|
|
7734
|
-
connected_account_id: { format: "uuid", type: "string" }
|
|
7749
|
+
connected_account_id: { format: "uuid", type: "string" },
|
|
7750
|
+
custom_metadata: {
|
|
7751
|
+
additionalProperties: {
|
|
7752
|
+
nullable: true,
|
|
7753
|
+
oneOf: [
|
|
7754
|
+
{ maxLength: 500, type: "string" },
|
|
7755
|
+
{ type: "boolean" },
|
|
7756
|
+
{ format: "null", nullable: true, type: "string" }
|
|
7757
|
+
]
|
|
7758
|
+
},
|
|
7759
|
+
type: "object"
|
|
7760
|
+
}
|
|
7735
7761
|
},
|
|
7736
7762
|
required: ["connected_account_id"],
|
|
7737
7763
|
type: "object"
|