@seamapi/types 1.594.0 → 1.595.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 +238 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +362 -0
- package/dist/index.cjs +238 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +330 -0
- package/lib/seam/connect/openapi.js +238 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +32 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +252 -0
- package/src/lib/seam/connect/route-types.ts +32 -0
package/dist/connect.cjs
CHANGED
|
@@ -32883,6 +32883,126 @@ var openapi_default = {
|
|
|
32883
32883
|
"x-title": "List Unmanaged Access Grants"
|
|
32884
32884
|
}
|
|
32885
32885
|
},
|
|
32886
|
+
"/access_grants/unmanaged/update": {
|
|
32887
|
+
patch: {
|
|
32888
|
+
description: "Updates an unmanaged Access Grant to make it managed.\n\nThis endpoint can only be used to convert unmanaged access grants to managed ones by setting `is_managed` to `true`. It cannot be used to convert managed access grants back to unmanaged.\n\nWhen converting an unmanaged access grant to managed, all associated access methods will also be converted to managed.",
|
|
32889
|
+
operationId: "accessGrantsUnmanagedUpdatePatch",
|
|
32890
|
+
requestBody: {
|
|
32891
|
+
content: {
|
|
32892
|
+
"application/json": {
|
|
32893
|
+
schema: {
|
|
32894
|
+
properties: {
|
|
32895
|
+
access_grant_id: {
|
|
32896
|
+
description: "ID of the unmanaged Access Grant to update.",
|
|
32897
|
+
format: "uuid",
|
|
32898
|
+
type: "string"
|
|
32899
|
+
},
|
|
32900
|
+
access_grant_key: {
|
|
32901
|
+
description: "Unique key for the access grant. If not provided, the existing key will be preserved.",
|
|
32902
|
+
type: "string"
|
|
32903
|
+
},
|
|
32904
|
+
is_managed: {
|
|
32905
|
+
description: "Must be set to true to convert the unmanaged access grant to managed.",
|
|
32906
|
+
enum: [true],
|
|
32907
|
+
type: "boolean"
|
|
32908
|
+
}
|
|
32909
|
+
},
|
|
32910
|
+
required: ["access_grant_id", "is_managed"],
|
|
32911
|
+
type: "object"
|
|
32912
|
+
}
|
|
32913
|
+
}
|
|
32914
|
+
}
|
|
32915
|
+
},
|
|
32916
|
+
responses: {
|
|
32917
|
+
200: {
|
|
32918
|
+
content: {
|
|
32919
|
+
"application/json": {
|
|
32920
|
+
schema: {
|
|
32921
|
+
properties: { ok: { type: "boolean" } },
|
|
32922
|
+
required: ["ok"],
|
|
32923
|
+
type: "object"
|
|
32924
|
+
}
|
|
32925
|
+
}
|
|
32926
|
+
},
|
|
32927
|
+
description: "OK"
|
|
32928
|
+
},
|
|
32929
|
+
400: { description: "Bad Request" },
|
|
32930
|
+
401: { description: "Unauthorized" }
|
|
32931
|
+
},
|
|
32932
|
+
security: [
|
|
32933
|
+
{ pat_with_workspace: [] },
|
|
32934
|
+
{ console_session_with_workspace: [] },
|
|
32935
|
+
{ api_key: [] },
|
|
32936
|
+
{ client_session_with_customer: [] }
|
|
32937
|
+
],
|
|
32938
|
+
summary: "/access_grants/unmanaged/update",
|
|
32939
|
+
tags: [],
|
|
32940
|
+
"x-draft": "Early access.",
|
|
32941
|
+
"x-fern-sdk-group-name": ["access_grants", "unmanaged"],
|
|
32942
|
+
"x-fern-sdk-method-name": "update",
|
|
32943
|
+
"x-response-key": null,
|
|
32944
|
+
"x-title": "Update an Unmanaged Access Grant"
|
|
32945
|
+
},
|
|
32946
|
+
post: {
|
|
32947
|
+
description: "Updates an unmanaged Access Grant to make it managed.\n\nThis endpoint can only be used to convert unmanaged access grants to managed ones by setting `is_managed` to `true`. It cannot be used to convert managed access grants back to unmanaged.\n\nWhen converting an unmanaged access grant to managed, all associated access methods will also be converted to managed.",
|
|
32948
|
+
operationId: "accessGrantsUnmanagedUpdatePost",
|
|
32949
|
+
requestBody: {
|
|
32950
|
+
content: {
|
|
32951
|
+
"application/json": {
|
|
32952
|
+
schema: {
|
|
32953
|
+
properties: {
|
|
32954
|
+
access_grant_id: {
|
|
32955
|
+
description: "ID of the unmanaged Access Grant to update.",
|
|
32956
|
+
format: "uuid",
|
|
32957
|
+
type: "string"
|
|
32958
|
+
},
|
|
32959
|
+
access_grant_key: {
|
|
32960
|
+
description: "Unique key for the access grant. If not provided, the existing key will be preserved.",
|
|
32961
|
+
type: "string"
|
|
32962
|
+
},
|
|
32963
|
+
is_managed: {
|
|
32964
|
+
description: "Must be set to true to convert the unmanaged access grant to managed.",
|
|
32965
|
+
enum: [true],
|
|
32966
|
+
type: "boolean"
|
|
32967
|
+
}
|
|
32968
|
+
},
|
|
32969
|
+
required: ["access_grant_id", "is_managed"],
|
|
32970
|
+
type: "object"
|
|
32971
|
+
}
|
|
32972
|
+
}
|
|
32973
|
+
}
|
|
32974
|
+
},
|
|
32975
|
+
responses: {
|
|
32976
|
+
200: {
|
|
32977
|
+
content: {
|
|
32978
|
+
"application/json": {
|
|
32979
|
+
schema: {
|
|
32980
|
+
properties: { ok: { type: "boolean" } },
|
|
32981
|
+
required: ["ok"],
|
|
32982
|
+
type: "object"
|
|
32983
|
+
}
|
|
32984
|
+
}
|
|
32985
|
+
},
|
|
32986
|
+
description: "OK"
|
|
32987
|
+
},
|
|
32988
|
+
400: { description: "Bad Request" },
|
|
32989
|
+
401: { description: "Unauthorized" }
|
|
32990
|
+
},
|
|
32991
|
+
security: [
|
|
32992
|
+
{ pat_with_workspace: [] },
|
|
32993
|
+
{ console_session_with_workspace: [] },
|
|
32994
|
+
{ api_key: [] },
|
|
32995
|
+
{ client_session_with_customer: [] }
|
|
32996
|
+
],
|
|
32997
|
+
summary: "/access_grants/unmanaged/update",
|
|
32998
|
+
tags: [],
|
|
32999
|
+
"x-draft": "Early access.",
|
|
33000
|
+
"x-fern-sdk-group-name": ["access_grants", "unmanaged"],
|
|
33001
|
+
"x-fern-sdk-method-name": "update",
|
|
33002
|
+
"x-response-key": null,
|
|
33003
|
+
"x-title": "Update an Unmanaged Access Grant"
|
|
33004
|
+
}
|
|
33005
|
+
},
|
|
32886
33006
|
"/access_grants/update": {
|
|
32887
33007
|
patch: {
|
|
32888
33008
|
description: "Updates an existing Access Grant's time window.",
|
|
@@ -62590,6 +62710,124 @@ var openapi_default = {
|
|
|
62590
62710
|
"x-title": "List Unmanaged User Identities"
|
|
62591
62711
|
}
|
|
62592
62712
|
},
|
|
62713
|
+
"/user_identities/unmanaged/update": {
|
|
62714
|
+
patch: {
|
|
62715
|
+
description: "Updates an unmanaged [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) to make it managed.\n\nThis endpoint can only be used to convert unmanaged user identities to managed ones by setting `is_managed` to `true`. It cannot be used to convert managed user identities back to unmanaged.",
|
|
62716
|
+
operationId: "userIdentitiesUnmanagedUpdatePatch",
|
|
62717
|
+
requestBody: {
|
|
62718
|
+
content: {
|
|
62719
|
+
"application/json": {
|
|
62720
|
+
schema: {
|
|
62721
|
+
properties: {
|
|
62722
|
+
is_managed: {
|
|
62723
|
+
description: "Must be set to true to convert the unmanaged user identity to managed.",
|
|
62724
|
+
enum: [true],
|
|
62725
|
+
type: "boolean"
|
|
62726
|
+
},
|
|
62727
|
+
user_identity_id: {
|
|
62728
|
+
description: "ID of the unmanaged user identity that you want to update.",
|
|
62729
|
+
format: "uuid",
|
|
62730
|
+
type: "string"
|
|
62731
|
+
},
|
|
62732
|
+
user_identity_key: {
|
|
62733
|
+
description: "Unique key for the user identity. If not provided, the existing key will be preserved.",
|
|
62734
|
+
type: "string"
|
|
62735
|
+
}
|
|
62736
|
+
},
|
|
62737
|
+
required: ["user_identity_id", "is_managed"],
|
|
62738
|
+
type: "object"
|
|
62739
|
+
}
|
|
62740
|
+
}
|
|
62741
|
+
}
|
|
62742
|
+
},
|
|
62743
|
+
responses: {
|
|
62744
|
+
200: {
|
|
62745
|
+
content: {
|
|
62746
|
+
"application/json": {
|
|
62747
|
+
schema: {
|
|
62748
|
+
properties: { ok: { type: "boolean" } },
|
|
62749
|
+
required: ["ok"],
|
|
62750
|
+
type: "object"
|
|
62751
|
+
}
|
|
62752
|
+
}
|
|
62753
|
+
},
|
|
62754
|
+
description: "OK"
|
|
62755
|
+
},
|
|
62756
|
+
400: { description: "Bad Request" },
|
|
62757
|
+
401: { description: "Unauthorized" }
|
|
62758
|
+
},
|
|
62759
|
+
security: [
|
|
62760
|
+
{ api_key: [] },
|
|
62761
|
+
{ client_session: [] },
|
|
62762
|
+
{ pat_with_workspace: [] },
|
|
62763
|
+
{ console_session_with_workspace: [] }
|
|
62764
|
+
],
|
|
62765
|
+
summary: "/user_identities/unmanaged/update",
|
|
62766
|
+
tags: ["/user_identities"],
|
|
62767
|
+
"x-fern-sdk-group-name": ["user_identities", "unmanaged"],
|
|
62768
|
+
"x-fern-sdk-method-name": "update",
|
|
62769
|
+
"x-response-key": null,
|
|
62770
|
+
"x-title": "Update an Unmanaged User Identity"
|
|
62771
|
+
},
|
|
62772
|
+
post: {
|
|
62773
|
+
description: "Updates an unmanaged [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) to make it managed.\n\nThis endpoint can only be used to convert unmanaged user identities to managed ones by setting `is_managed` to `true`. It cannot be used to convert managed user identities back to unmanaged.",
|
|
62774
|
+
operationId: "userIdentitiesUnmanagedUpdatePost",
|
|
62775
|
+
requestBody: {
|
|
62776
|
+
content: {
|
|
62777
|
+
"application/json": {
|
|
62778
|
+
schema: {
|
|
62779
|
+
properties: {
|
|
62780
|
+
is_managed: {
|
|
62781
|
+
description: "Must be set to true to convert the unmanaged user identity to managed.",
|
|
62782
|
+
enum: [true],
|
|
62783
|
+
type: "boolean"
|
|
62784
|
+
},
|
|
62785
|
+
user_identity_id: {
|
|
62786
|
+
description: "ID of the unmanaged user identity that you want to update.",
|
|
62787
|
+
format: "uuid",
|
|
62788
|
+
type: "string"
|
|
62789
|
+
},
|
|
62790
|
+
user_identity_key: {
|
|
62791
|
+
description: "Unique key for the user identity. If not provided, the existing key will be preserved.",
|
|
62792
|
+
type: "string"
|
|
62793
|
+
}
|
|
62794
|
+
},
|
|
62795
|
+
required: ["user_identity_id", "is_managed"],
|
|
62796
|
+
type: "object"
|
|
62797
|
+
}
|
|
62798
|
+
}
|
|
62799
|
+
}
|
|
62800
|
+
},
|
|
62801
|
+
responses: {
|
|
62802
|
+
200: {
|
|
62803
|
+
content: {
|
|
62804
|
+
"application/json": {
|
|
62805
|
+
schema: {
|
|
62806
|
+
properties: { ok: { type: "boolean" } },
|
|
62807
|
+
required: ["ok"],
|
|
62808
|
+
type: "object"
|
|
62809
|
+
}
|
|
62810
|
+
}
|
|
62811
|
+
},
|
|
62812
|
+
description: "OK"
|
|
62813
|
+
},
|
|
62814
|
+
400: { description: "Bad Request" },
|
|
62815
|
+
401: { description: "Unauthorized" }
|
|
62816
|
+
},
|
|
62817
|
+
security: [
|
|
62818
|
+
{ api_key: [] },
|
|
62819
|
+
{ client_session: [] },
|
|
62820
|
+
{ pat_with_workspace: [] },
|
|
62821
|
+
{ console_session_with_workspace: [] }
|
|
62822
|
+
],
|
|
62823
|
+
summary: "/user_identities/unmanaged/update",
|
|
62824
|
+
tags: ["/user_identities"],
|
|
62825
|
+
"x-fern-sdk-group-name": ["user_identities", "unmanaged"],
|
|
62826
|
+
"x-fern-sdk-method-name": "update",
|
|
62827
|
+
"x-response-key": null,
|
|
62828
|
+
"x-title": "Update an Unmanaged User Identity"
|
|
62829
|
+
}
|
|
62830
|
+
},
|
|
62593
62831
|
"/user_identities/update": {
|
|
62594
62832
|
patch: {
|
|
62595
62833
|
description: "Updates a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).",
|