@seamapi/types 1.406.6 → 1.406.7
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 +51 -153
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +64 -181
- 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/index.d.ts +1 -0
- package/lib/seam/connect/models/partner/index.js +1 -0
- package/lib/seam/connect/models/partner/index.js.map +1 -1
- package/lib/seam/connect/models/partner/magic-link.d.ts +27 -0
- package/lib/seam/connect/models/partner/magic-link.js +16 -0
- package/lib/seam/connect/models/partner/magic-link.js.map +1 -0
- package/lib/seam/connect/models/partner/resources.d.ts +2 -2
- package/lib/seam/connect/models/partner/resources.js +6 -1
- package/lib/seam/connect/models/partner/resources.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +50 -139
- package/lib/seam/connect/openapi.js +48 -150
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +14 -42
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +2 -0
- package/src/lib/seam/connect/models/partner/index.ts +1 -0
- package/src/lib/seam/connect/models/partner/magic-link.ts +18 -0
- package/src/lib/seam/connect/models/partner/resources.ts +6 -1
- package/src/lib/seam/connect/openapi.ts +48 -160
- package/src/lib/seam/connect/route-types.ts +14 -45
package/dist/connect.cjs
CHANGED
|
@@ -19633,6 +19633,32 @@ var openapi_default = {
|
|
|
19633
19633
|
"x-route-path": "/user_identities",
|
|
19634
19634
|
"x-undocumented": "Unreleased."
|
|
19635
19635
|
},
|
|
19636
|
+
magic_link: {
|
|
19637
|
+
properties: {
|
|
19638
|
+
building_block_type: {
|
|
19639
|
+
enum: ["connect_account", "manage_devices"],
|
|
19640
|
+
type: "string"
|
|
19641
|
+
},
|
|
19642
|
+
created_at: { format: "date-time", type: "string" },
|
|
19643
|
+
customer_id: { format: "uuid", type: "string" },
|
|
19644
|
+
customer_key: { type: "string" },
|
|
19645
|
+
expires_at: { format: "date-time", type: "string" },
|
|
19646
|
+
url: { format: "uri", type: "string" },
|
|
19647
|
+
workspace_id: { format: "uuid", type: "string" }
|
|
19648
|
+
},
|
|
19649
|
+
required: [
|
|
19650
|
+
"url",
|
|
19651
|
+
"building_block_type",
|
|
19652
|
+
"customer_id",
|
|
19653
|
+
"customer_key",
|
|
19654
|
+
"expires_at",
|
|
19655
|
+
"workspace_id",
|
|
19656
|
+
"created_at"
|
|
19657
|
+
],
|
|
19658
|
+
type: "object",
|
|
19659
|
+
"x-route-path": "/unstable_partner/building_blocks",
|
|
19660
|
+
"x-undocumented": "Unreleased."
|
|
19661
|
+
},
|
|
19636
19662
|
network: {
|
|
19637
19663
|
properties: {
|
|
19638
19664
|
created_at: { format: "date-time", type: "string" },
|
|
@@ -35499,7 +35525,9 @@ var openapi_default = {
|
|
|
35499
35525
|
"partner_resource_key",
|
|
35500
35526
|
"customer_key"
|
|
35501
35527
|
],
|
|
35502
|
-
type: "object"
|
|
35528
|
+
type: "object",
|
|
35529
|
+
"x-route-path": "/unstable_partner/resources",
|
|
35530
|
+
"x-undocumented": "Unreleased."
|
|
35503
35531
|
},
|
|
35504
35532
|
type: "array"
|
|
35505
35533
|
}
|
|
@@ -39766,24 +39794,22 @@ var openapi_default = {
|
|
|
39766
39794
|
"x-undocumented": "Experimental locations."
|
|
39767
39795
|
}
|
|
39768
39796
|
},
|
|
39769
|
-
"/unstable_partner/building_blocks/
|
|
39797
|
+
"/unstable_partner/building_blocks/generate_magic_link": {
|
|
39770
39798
|
post: {
|
|
39771
|
-
description: "Creates a new
|
|
39772
|
-
operationId: "
|
|
39799
|
+
description: "Creates a new building block magic link.",
|
|
39800
|
+
operationId: "unstablePartnerBuildingBlocksGenerateMagicLinkPost",
|
|
39773
39801
|
requestBody: {
|
|
39774
39802
|
content: {
|
|
39775
39803
|
"application/json": {
|
|
39776
39804
|
schema: {
|
|
39777
39805
|
properties: {
|
|
39778
|
-
|
|
39779
|
-
|
|
39780
|
-
|
|
39806
|
+
building_block_type: {
|
|
39807
|
+
enum: ["connect_account", "manage_devices"],
|
|
39808
|
+
type: "string"
|
|
39809
|
+
},
|
|
39810
|
+
customer_key: { type: "string" }
|
|
39781
39811
|
},
|
|
39782
|
-
required: [
|
|
39783
|
-
"bridge_client_name",
|
|
39784
|
-
"bridge_client_time_zone",
|
|
39785
|
-
"bridge_client_machine_identifier_key"
|
|
39786
|
-
],
|
|
39812
|
+
required: ["building_block_type", "customer_key"],
|
|
39787
39813
|
type: "object"
|
|
39788
39814
|
}
|
|
39789
39815
|
}
|
|
@@ -39795,142 +39821,10 @@ var openapi_default = {
|
|
|
39795
39821
|
"application/json": {
|
|
39796
39822
|
schema: {
|
|
39797
39823
|
properties: {
|
|
39798
|
-
|
|
39799
|
-
properties: {
|
|
39800
|
-
bridge_client_machine_identifier_key: {
|
|
39801
|
-
type: "string"
|
|
39802
|
-
},
|
|
39803
|
-
bridge_client_name: { type: "string" },
|
|
39804
|
-
bridge_client_session_id: {
|
|
39805
|
-
format: "uuid",
|
|
39806
|
-
type: "string"
|
|
39807
|
-
},
|
|
39808
|
-
bridge_client_session_token: { type: "string" },
|
|
39809
|
-
bridge_client_time_zone: { type: "string" },
|
|
39810
|
-
created_at: { format: "date-time", type: "string" },
|
|
39811
|
-
errors: {
|
|
39812
|
-
items: {
|
|
39813
|
-
description: "Error associated with the `bridge_client_session`.",
|
|
39814
|
-
discriminator: { propertyName: "error_code" },
|
|
39815
|
-
oneOf: [
|
|
39816
|
-
{
|
|
39817
|
-
description: "Seam cannot reach the bridge's LAN",
|
|
39818
|
-
properties: {
|
|
39819
|
-
can_tailscale_proxy_reach_bridge: {
|
|
39820
|
-
description: "Tailscale proxy cannot reach the bridge",
|
|
39821
|
-
nullable: true,
|
|
39822
|
-
type: "boolean"
|
|
39823
|
-
},
|
|
39824
|
-
can_tailscale_proxy_reach_tailscale_network: {
|
|
39825
|
-
description: "Tailscale proxy cannot reach the Tailscale network",
|
|
39826
|
-
nullable: true,
|
|
39827
|
-
type: "boolean"
|
|
39828
|
-
},
|
|
39829
|
-
created_at: {
|
|
39830
|
-
format: "date-time",
|
|
39831
|
-
type: "string"
|
|
39832
|
-
},
|
|
39833
|
-
error_code: {
|
|
39834
|
-
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
39835
|
-
enum: ["bridge_lan_unreachable"],
|
|
39836
|
-
type: "string"
|
|
39837
|
-
},
|
|
39838
|
-
is_bridge_socks_server_healthy: {
|
|
39839
|
-
description: "Bridge's SOCKS server is unhealthy",
|
|
39840
|
-
nullable: true,
|
|
39841
|
-
type: "boolean"
|
|
39842
|
-
},
|
|
39843
|
-
is_tailscale_proxy_reachable: {
|
|
39844
|
-
description: "Seam cannot reach the tailscale proxy",
|
|
39845
|
-
nullable: true,
|
|
39846
|
-
type: "boolean"
|
|
39847
|
-
},
|
|
39848
|
-
is_tailscale_proxy_socks_server_healthy: {
|
|
39849
|
-
description: "Tailscale proxy's SOCKS server is unhealthy",
|
|
39850
|
-
nullable: true,
|
|
39851
|
-
type: "boolean"
|
|
39852
|
-
},
|
|
39853
|
-
message: { type: "string" }
|
|
39854
|
-
},
|
|
39855
|
-
required: [
|
|
39856
|
-
"message",
|
|
39857
|
-
"created_at",
|
|
39858
|
-
"error_code",
|
|
39859
|
-
"is_tailscale_proxy_reachable",
|
|
39860
|
-
"is_tailscale_proxy_socks_server_healthy",
|
|
39861
|
-
"can_tailscale_proxy_reach_tailscale_network",
|
|
39862
|
-
"can_tailscale_proxy_reach_bridge",
|
|
39863
|
-
"is_bridge_socks_server_healthy"
|
|
39864
|
-
],
|
|
39865
|
-
type: "object"
|
|
39866
|
-
},
|
|
39867
|
-
{
|
|
39868
|
-
description: "Bridge has stopped communicating with Seam",
|
|
39869
|
-
properties: {
|
|
39870
|
-
created_at: {
|
|
39871
|
-
format: "date-time",
|
|
39872
|
-
type: "string"
|
|
39873
|
-
},
|
|
39874
|
-
error_code: {
|
|
39875
|
-
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
39876
|
-
enum: ["no_communication_from_bridge"],
|
|
39877
|
-
type: "string"
|
|
39878
|
-
},
|
|
39879
|
-
message: { type: "string" }
|
|
39880
|
-
},
|
|
39881
|
-
required: [
|
|
39882
|
-
"message",
|
|
39883
|
-
"created_at",
|
|
39884
|
-
"error_code"
|
|
39885
|
-
],
|
|
39886
|
-
type: "object"
|
|
39887
|
-
}
|
|
39888
|
-
]
|
|
39889
|
-
},
|
|
39890
|
-
type: "array"
|
|
39891
|
-
},
|
|
39892
|
-
pairing_code: {
|
|
39893
|
-
maxLength: 6,
|
|
39894
|
-
minLength: 6,
|
|
39895
|
-
type: "string"
|
|
39896
|
-
},
|
|
39897
|
-
pairing_code_expires_at: {
|
|
39898
|
-
format: "date-time",
|
|
39899
|
-
type: "string"
|
|
39900
|
-
},
|
|
39901
|
-
tailscale_auth_key: { nullable: true, type: "string" },
|
|
39902
|
-
tailscale_hostname: { type: "string" },
|
|
39903
|
-
telemetry_token: { nullable: true, type: "string" },
|
|
39904
|
-
telemetry_token_expires_at: {
|
|
39905
|
-
format: "date-time",
|
|
39906
|
-
nullable: true,
|
|
39907
|
-
type: "string"
|
|
39908
|
-
},
|
|
39909
|
-
telemetry_url: { nullable: true, type: "string" }
|
|
39910
|
-
},
|
|
39911
|
-
required: [
|
|
39912
|
-
"created_at",
|
|
39913
|
-
"bridge_client_session_id",
|
|
39914
|
-
"bridge_client_session_token",
|
|
39915
|
-
"pairing_code",
|
|
39916
|
-
"pairing_code_expires_at",
|
|
39917
|
-
"tailscale_hostname",
|
|
39918
|
-
"tailscale_auth_key",
|
|
39919
|
-
"bridge_client_name",
|
|
39920
|
-
"bridge_client_time_zone",
|
|
39921
|
-
"bridge_client_machine_identifier_key",
|
|
39922
|
-
"errors",
|
|
39923
|
-
"telemetry_token",
|
|
39924
|
-
"telemetry_token_expires_at",
|
|
39925
|
-
"telemetry_url"
|
|
39926
|
-
],
|
|
39927
|
-
type: "object",
|
|
39928
|
-
"x-route-path": "/seam/bridge/v1/bridge_client_sessions",
|
|
39929
|
-
"x-undocumented": "Seam Bridge Client only."
|
|
39930
|
-
},
|
|
39824
|
+
magic_link: { $ref: "#/components/schemas/magic_link" },
|
|
39931
39825
|
ok: { type: "boolean" }
|
|
39932
39826
|
},
|
|
39933
|
-
required: ["
|
|
39827
|
+
required: ["magic_link", "ok"],
|
|
39934
39828
|
type: "object"
|
|
39935
39829
|
}
|
|
39936
39830
|
}
|
|
@@ -39940,13 +39834,13 @@ var openapi_default = {
|
|
|
39940
39834
|
400: { description: "Bad Request" },
|
|
39941
39835
|
401: { description: "Unauthorized" }
|
|
39942
39836
|
},
|
|
39943
|
-
security: [{
|
|
39944
|
-
summary: "/unstable_partner/building_blocks/
|
|
39837
|
+
security: [{ api_key: [] }],
|
|
39838
|
+
summary: "/unstable_partner/building_blocks/generate_magic_link",
|
|
39945
39839
|
tags: [],
|
|
39946
39840
|
"x-fern-sdk-group-name": ["unstable_partner", "building_blocks"],
|
|
39947
|
-
"x-fern-sdk-method-name": "
|
|
39948
|
-
"x-fern-sdk-return-value": "
|
|
39949
|
-
"x-response-key": "
|
|
39841
|
+
"x-fern-sdk-method-name": "generate_magic_link",
|
|
39842
|
+
"x-fern-sdk-return-value": "magic_link",
|
|
39843
|
+
"x-response-key": "magic_link",
|
|
39950
39844
|
"x-title": "Generate a building block magic link",
|
|
39951
39845
|
"x-undocumented": "Experimental partner building blocks."
|
|
39952
39846
|
}
|
|
@@ -39982,7 +39876,9 @@ var openapi_default = {
|
|
|
39982
39876
|
starts_at: { type: "string" },
|
|
39983
39877
|
user_identity_key: { type: "string" }
|
|
39984
39878
|
},
|
|
39985
|
-
type: "object"
|
|
39879
|
+
type: "object",
|
|
39880
|
+
"x-route-path": "/unstable_partner/resources",
|
|
39881
|
+
"x-undocumented": "Unreleased."
|
|
39986
39882
|
},
|
|
39987
39883
|
type: "array"
|
|
39988
39884
|
},
|
|
@@ -40007,7 +39903,9 @@ var openapi_default = {
|
|
|
40007
39903
|
starts_at: { type: "string" },
|
|
40008
39904
|
user_identity_key: { type: "string" }
|
|
40009
39905
|
},
|
|
40010
|
-
type: "object"
|
|
39906
|
+
type: "object",
|
|
39907
|
+
"x-route-path": "/unstable_partner/resources",
|
|
39908
|
+
"x-undocumented": "Unreleased."
|
|
40011
39909
|
}
|
|
40012
39910
|
]
|
|
40013
39911
|
}
|