@seamapi/types 1.293.1 → 1.294.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 +278 -66
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +146 -2
- package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.d.ts +3 -5
- package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.js +23 -6
- package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.js.map +1 -1
- package/lib/seam/connect/models/user-identities/user-identity.js +26 -8
- package/lib/seam/connect/models/user-identities/user-identity.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +84 -0
- package/lib/seam/connect/openapi.js +247 -41
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +62 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-credential-provisioning-automation.ts +32 -7
- package/src/lib/seam/connect/models/user-identities/user-identity.ts +34 -10
- package/src/lib/seam/connect/openapi.ts +285 -41
- package/src/lib/seam/connect/route-types.ts +62 -2
package/dist/connect.cjs
CHANGED
|
@@ -2774,15 +2774,21 @@ var noise_threshold = zod.z.object({
|
|
|
2774
2774
|
noise_threshold_decibels: zod.z.number()
|
|
2775
2775
|
});
|
|
2776
2776
|
var user_identity = zod.z.object({
|
|
2777
|
-
user_identity_id: zod.z.string().uuid(),
|
|
2778
|
-
user_identity_key: zod.z.string().min(1).nullable(),
|
|
2779
|
-
email_address: zod.z.string().email().nullable(),
|
|
2780
|
-
phone_number: phone_number.nullable()
|
|
2777
|
+
user_identity_id: zod.z.string().uuid().describe("ID of the user identity."),
|
|
2778
|
+
user_identity_key: zod.z.string().min(1).nullable().describe("Unique key for the user identity."),
|
|
2779
|
+
email_address: zod.z.string().email().nullable().describe("Unique email address for the user identity."),
|
|
2780
|
+
phone_number: phone_number.nullable().describe(
|
|
2781
|
+
"Unique phone number for the user identity in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, +15555550100)."
|
|
2782
|
+
),
|
|
2781
2783
|
display_name: zod.z.string().min(1),
|
|
2782
2784
|
full_name: zod.z.string().min(1).nullable(),
|
|
2783
|
-
created_at: zod.z.string().datetime(),
|
|
2784
|
-
workspace_id: zod.z.string().uuid()
|
|
2785
|
-
|
|
2785
|
+
created_at: zod.z.string().datetime().describe("Date and time at which the user identity was created."),
|
|
2786
|
+
workspace_id: zod.z.string().uuid().describe(
|
|
2787
|
+
"ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the user identity."
|
|
2788
|
+
)
|
|
2789
|
+
}).describe(
|
|
2790
|
+
"Represents a [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) associated with an application user account."
|
|
2791
|
+
);
|
|
2786
2792
|
var webhook = zod.z.object({
|
|
2787
2793
|
webhook_id: zod.z.string(),
|
|
2788
2794
|
url: zod.z.string(),
|
|
@@ -7721,19 +7727,40 @@ var openapi_default = {
|
|
|
7721
7727
|
type: "object"
|
|
7722
7728
|
},
|
|
7723
7729
|
enrollment_automation: {
|
|
7730
|
+
description: "Represents an [enrollment automation](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system) within the [Seam mobile access solution](https://docs.seam.co/latest/capability-guides/mobile-access-in-development).",
|
|
7724
7731
|
properties: {
|
|
7725
|
-
created_at: {
|
|
7726
|
-
|
|
7727
|
-
|
|
7728
|
-
|
|
7729
|
-
|
|
7732
|
+
created_at: {
|
|
7733
|
+
description: "Date and time at which the enrollment automation was created.",
|
|
7734
|
+
format: "date-time",
|
|
7735
|
+
type: "string"
|
|
7736
|
+
},
|
|
7737
|
+
credential_manager_acs_system_id: {
|
|
7738
|
+
description: "ID of the associated [ACS system](https://docs.seam.co/latest/capability-guides/access-systems) that serves as the credential manager.",
|
|
7739
|
+
format: "uuid",
|
|
7740
|
+
type: "string"
|
|
7741
|
+
},
|
|
7742
|
+
enrollment_automation_id: {
|
|
7743
|
+
description: "ID of the enrollment automation.",
|
|
7744
|
+
format: "uuid",
|
|
7745
|
+
type: "string"
|
|
7746
|
+
},
|
|
7747
|
+
user_identity_id: {
|
|
7748
|
+
description: "ID of the associated [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).",
|
|
7749
|
+
format: "uuid",
|
|
7750
|
+
type: "string"
|
|
7751
|
+
},
|
|
7752
|
+
workspace_id: {
|
|
7753
|
+
description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the enrollment automation.",
|
|
7754
|
+
format: "uuid",
|
|
7755
|
+
type: "string"
|
|
7756
|
+
}
|
|
7730
7757
|
},
|
|
7731
7758
|
required: [
|
|
7759
|
+
"enrollment_automation_id",
|
|
7732
7760
|
"credential_manager_acs_system_id",
|
|
7733
7761
|
"user_identity_id",
|
|
7734
7762
|
"created_at",
|
|
7735
|
-
"workspace_id"
|
|
7736
|
-
"enrollment_automation_id"
|
|
7763
|
+
"workspace_id"
|
|
7737
7764
|
],
|
|
7738
7765
|
type: "object"
|
|
7739
7766
|
},
|
|
@@ -8455,15 +8482,42 @@ var openapi_default = {
|
|
|
8455
8482
|
type: "object"
|
|
8456
8483
|
},
|
|
8457
8484
|
user_identity: {
|
|
8485
|
+
description: "Represents a [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) associated with an application user account.",
|
|
8458
8486
|
properties: {
|
|
8459
|
-
created_at: {
|
|
8487
|
+
created_at: {
|
|
8488
|
+
description: "Date and time at which the user identity was created.",
|
|
8489
|
+
format: "date-time",
|
|
8490
|
+
type: "string"
|
|
8491
|
+
},
|
|
8460
8492
|
display_name: { minLength: 1, type: "string" },
|
|
8461
|
-
email_address: {
|
|
8493
|
+
email_address: {
|
|
8494
|
+
description: "Unique email address for the user identity.",
|
|
8495
|
+
format: "email",
|
|
8496
|
+
nullable: true,
|
|
8497
|
+
type: "string"
|
|
8498
|
+
},
|
|
8462
8499
|
full_name: { minLength: 1, nullable: true, type: "string" },
|
|
8463
|
-
phone_number: {
|
|
8464
|
-
|
|
8465
|
-
|
|
8466
|
-
|
|
8500
|
+
phone_number: {
|
|
8501
|
+
description: "Unique phone number for the user identity in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, +15555550100).",
|
|
8502
|
+
nullable: true,
|
|
8503
|
+
type: "string"
|
|
8504
|
+
},
|
|
8505
|
+
user_identity_id: {
|
|
8506
|
+
description: "ID of the user identity.",
|
|
8507
|
+
format: "uuid",
|
|
8508
|
+
type: "string"
|
|
8509
|
+
},
|
|
8510
|
+
user_identity_key: {
|
|
8511
|
+
description: "Unique key for the user identity.",
|
|
8512
|
+
minLength: 1,
|
|
8513
|
+
nullable: true,
|
|
8514
|
+
type: "string"
|
|
8515
|
+
},
|
|
8516
|
+
workspace_id: {
|
|
8517
|
+
description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the user identity.",
|
|
8518
|
+
format: "uuid",
|
|
8519
|
+
type: "string"
|
|
8520
|
+
}
|
|
8467
8521
|
},
|
|
8468
8522
|
required: [
|
|
8469
8523
|
"user_identity_id",
|
|
@@ -19706,14 +19760,23 @@ var openapi_default = {
|
|
|
19706
19760
|
},
|
|
19707
19761
|
"/user_identities/add_acs_user": {
|
|
19708
19762
|
post: {
|
|
19763
|
+
description: "Adds a specified [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) to a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).",
|
|
19709
19764
|
operationId: "userIdentitiesAddAcsUserPost",
|
|
19710
19765
|
requestBody: {
|
|
19711
19766
|
content: {
|
|
19712
19767
|
"application/json": {
|
|
19713
19768
|
schema: {
|
|
19714
19769
|
properties: {
|
|
19715
|
-
acs_user_id: {
|
|
19716
|
-
|
|
19770
|
+
acs_user_id: {
|
|
19771
|
+
description: "ID of the desired ACS user.",
|
|
19772
|
+
format: "uuid",
|
|
19773
|
+
type: "string"
|
|
19774
|
+
},
|
|
19775
|
+
user_identity_id: {
|
|
19776
|
+
description: "ID of the desired user identity.",
|
|
19777
|
+
format: "uuid",
|
|
19778
|
+
type: "string"
|
|
19779
|
+
}
|
|
19717
19780
|
},
|
|
19718
19781
|
required: ["user_identity_id", "acs_user_id"],
|
|
19719
19782
|
type: "object"
|
|
@@ -19746,17 +19809,27 @@ var openapi_default = {
|
|
|
19746
19809
|
tags: ["/user_identities"],
|
|
19747
19810
|
"x-fern-sdk-group-name": ["user_identities"],
|
|
19748
19811
|
"x-fern-sdk-method-name": "add_acs_user",
|
|
19749
|
-
"x-response-key": null
|
|
19812
|
+
"x-response-key": null,
|
|
19813
|
+
"x-title": "Add an ACS User to a User Identity"
|
|
19750
19814
|
},
|
|
19751
19815
|
put: {
|
|
19816
|
+
description: "Adds a specified [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) to a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).",
|
|
19752
19817
|
operationId: "userIdentitiesAddAcsUserPut",
|
|
19753
19818
|
requestBody: {
|
|
19754
19819
|
content: {
|
|
19755
19820
|
"application/json": {
|
|
19756
19821
|
schema: {
|
|
19757
19822
|
properties: {
|
|
19758
|
-
acs_user_id: {
|
|
19759
|
-
|
|
19823
|
+
acs_user_id: {
|
|
19824
|
+
description: "ID of the desired ACS user.",
|
|
19825
|
+
format: "uuid",
|
|
19826
|
+
type: "string"
|
|
19827
|
+
},
|
|
19828
|
+
user_identity_id: {
|
|
19829
|
+
description: "ID of the desired user identity.",
|
|
19830
|
+
format: "uuid",
|
|
19831
|
+
type: "string"
|
|
19832
|
+
}
|
|
19760
19833
|
},
|
|
19761
19834
|
required: ["user_identity_id", "acs_user_id"],
|
|
19762
19835
|
type: "object"
|
|
@@ -19788,11 +19861,13 @@ var openapi_default = {
|
|
|
19788
19861
|
summary: "/user_identities/add_acs_user",
|
|
19789
19862
|
tags: ["/user_identities"],
|
|
19790
19863
|
"x-fern-ignore": true,
|
|
19791
|
-
"x-response-key": null
|
|
19864
|
+
"x-response-key": null,
|
|
19865
|
+
"x-title": "Add an ACS User to a User Identity"
|
|
19792
19866
|
}
|
|
19793
19867
|
},
|
|
19794
19868
|
"/user_identities/create": {
|
|
19795
19869
|
post: {
|
|
19870
|
+
description: "Creates a new [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).",
|
|
19796
19871
|
operationId: "userIdentitiesCreatePost",
|
|
19797
19872
|
requestBody: {
|
|
19798
19873
|
content: {
|
|
@@ -19800,13 +19875,24 @@ var openapi_default = {
|
|
|
19800
19875
|
schema: {
|
|
19801
19876
|
properties: {
|
|
19802
19877
|
email_address: {
|
|
19878
|
+
description: "Unique email address for the user identity.",
|
|
19803
19879
|
format: "email",
|
|
19804
19880
|
nullable: true,
|
|
19805
19881
|
type: "string"
|
|
19806
19882
|
},
|
|
19807
|
-
full_name: {
|
|
19808
|
-
|
|
19883
|
+
full_name: {
|
|
19884
|
+
description: "Full name of the user associated with the user identity.",
|
|
19885
|
+
minLength: 1,
|
|
19886
|
+
nullable: true,
|
|
19887
|
+
type: "string"
|
|
19888
|
+
},
|
|
19889
|
+
phone_number: {
|
|
19890
|
+
description: "Unique phone number for the user identity in E.164 format (for example, +15555550100).",
|
|
19891
|
+
nullable: true,
|
|
19892
|
+
type: "string"
|
|
19893
|
+
},
|
|
19809
19894
|
user_identity_key: {
|
|
19895
|
+
description: "Unique key for the user identity.",
|
|
19810
19896
|
minLength: 1,
|
|
19811
19897
|
nullable: true,
|
|
19812
19898
|
type: "string"
|
|
@@ -19848,18 +19934,24 @@ var openapi_default = {
|
|
|
19848
19934
|
"x-fern-sdk-group-name": ["user_identities"],
|
|
19849
19935
|
"x-fern-sdk-method-name": "create",
|
|
19850
19936
|
"x-fern-sdk-return-value": "user_identity",
|
|
19851
|
-
"x-response-key": "user_identity"
|
|
19937
|
+
"x-response-key": "user_identity",
|
|
19938
|
+
"x-title": "Create a User Identity"
|
|
19852
19939
|
}
|
|
19853
19940
|
},
|
|
19854
19941
|
"/user_identities/delete": {
|
|
19855
19942
|
post: {
|
|
19943
|
+
description: "Deletes a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity). To delete a user identity, you must first delete any [ACS credentials](https://docs.seam.co/latest/api/access-control-systems/credentials) and [enrollment automations](https://docs.seam.co/latest/api/user_identities/enrollment_automations/delete) associated with the user identity. You must also deactivate any associated phones.",
|
|
19856
19944
|
operationId: "userIdentitiesDeletePost",
|
|
19857
19945
|
requestBody: {
|
|
19858
19946
|
content: {
|
|
19859
19947
|
"application/json": {
|
|
19860
19948
|
schema: {
|
|
19861
19949
|
properties: {
|
|
19862
|
-
user_identity_id: {
|
|
19950
|
+
user_identity_id: {
|
|
19951
|
+
description: "ID of the desired user identity.",
|
|
19952
|
+
format: "uuid",
|
|
19953
|
+
type: "string"
|
|
19954
|
+
}
|
|
19863
19955
|
},
|
|
19864
19956
|
required: ["user_identity_id"],
|
|
19865
19957
|
type: "object"
|
|
@@ -19892,18 +19984,24 @@ var openapi_default = {
|
|
|
19892
19984
|
tags: ["/user_identities"],
|
|
19893
19985
|
"x-fern-sdk-group-name": ["user_identities"],
|
|
19894
19986
|
"x-fern-sdk-method-name": "delete",
|
|
19895
|
-
"x-response-key": null
|
|
19987
|
+
"x-response-key": null,
|
|
19988
|
+
"x-title": "Delete a User Identity"
|
|
19896
19989
|
}
|
|
19897
19990
|
},
|
|
19898
19991
|
"/user_identities/enrollment_automations/delete": {
|
|
19899
19992
|
post: {
|
|
19993
|
+
description: "Deletes a specified [enrollment automation](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system). You must delete all enrollment automations associated with a [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) before [deleting the user identity](https://docs.seam.co/latest/api/user_identities/delete).",
|
|
19900
19994
|
operationId: "userIdentitiesEnrollmentAutomationsDeletePost",
|
|
19901
19995
|
requestBody: {
|
|
19902
19996
|
content: {
|
|
19903
19997
|
"application/json": {
|
|
19904
19998
|
schema: {
|
|
19905
19999
|
properties: {
|
|
19906
|
-
enrollment_automation_id: {
|
|
20000
|
+
enrollment_automation_id: {
|
|
20001
|
+
description: "ID of the desired enrollment automation.",
|
|
20002
|
+
format: "uuid",
|
|
20003
|
+
type: "string"
|
|
20004
|
+
}
|
|
19907
20005
|
},
|
|
19908
20006
|
required: ["enrollment_automation_id"],
|
|
19909
20007
|
type: "object"
|
|
@@ -19936,18 +20034,24 @@ var openapi_default = {
|
|
|
19936
20034
|
tags: ["/user_identities"],
|
|
19937
20035
|
"x-fern-sdk-group-name": ["user_identities", "enrollment_automations"],
|
|
19938
20036
|
"x-fern-sdk-method-name": "delete",
|
|
19939
|
-
"x-response-key": null
|
|
20037
|
+
"x-response-key": null,
|
|
20038
|
+
"x-title": "Delete an Enrollment Automation"
|
|
19940
20039
|
}
|
|
19941
20040
|
},
|
|
19942
20041
|
"/user_identities/enrollment_automations/get": {
|
|
19943
20042
|
post: {
|
|
20043
|
+
description: "Returns a specified [enrollment automation](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system).",
|
|
19944
20044
|
operationId: "userIdentitiesEnrollmentAutomationsGetPost",
|
|
19945
20045
|
requestBody: {
|
|
19946
20046
|
content: {
|
|
19947
20047
|
"application/json": {
|
|
19948
20048
|
schema: {
|
|
19949
20049
|
properties: {
|
|
19950
|
-
enrollment_automation_id: {
|
|
20050
|
+
enrollment_automation_id: {
|
|
20051
|
+
description: "ID of the desired enrollment automation.",
|
|
20052
|
+
format: "uuid",
|
|
20053
|
+
type: "string"
|
|
20054
|
+
}
|
|
19951
20055
|
},
|
|
19952
20056
|
required: ["enrollment_automation_id"],
|
|
19953
20057
|
type: "object"
|
|
@@ -19987,28 +20091,43 @@ var openapi_default = {
|
|
|
19987
20091
|
"x-fern-sdk-group-name": ["user_identities", "enrollment_automations"],
|
|
19988
20092
|
"x-fern-sdk-method-name": "get",
|
|
19989
20093
|
"x-fern-sdk-return-value": "enrollment_automation",
|
|
19990
|
-
"x-response-key": "enrollment_automation"
|
|
20094
|
+
"x-response-key": "enrollment_automation",
|
|
20095
|
+
"x-title": "Get an Enrollment Automation"
|
|
19991
20096
|
}
|
|
19992
20097
|
},
|
|
19993
20098
|
"/user_identities/enrollment_automations/launch": {
|
|
19994
20099
|
post: {
|
|
20100
|
+
description: "Sets up a new [enrollment automation](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system) for a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) with a specified [credential manager](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system).",
|
|
19995
20101
|
operationId: "userIdentitiesEnrollmentAutomationsLaunchPost",
|
|
19996
20102
|
requestBody: {
|
|
19997
20103
|
content: {
|
|
19998
20104
|
"application/json": {
|
|
19999
20105
|
schema: {
|
|
20000
20106
|
properties: {
|
|
20001
|
-
acs_credential_pool_id: {
|
|
20002
|
-
|
|
20107
|
+
acs_credential_pool_id: {
|
|
20108
|
+
description: "ID of the ACS credential pool from which to obtain credentials for the user identity.",
|
|
20109
|
+
format: "uuid",
|
|
20110
|
+
type: "string"
|
|
20111
|
+
},
|
|
20112
|
+
create_credential_manager_user: {
|
|
20113
|
+
description: "Indicates whether to create an associated credential manager user. If you set `create_credential_manager_user` to `true`, you cannot specify a `credential_manager_acs_user_id`.",
|
|
20114
|
+
type: "boolean"
|
|
20115
|
+
},
|
|
20003
20116
|
credential_manager_acs_system_id: {
|
|
20117
|
+
description: "ID of the desired ACS system that serves as the credential manager.",
|
|
20004
20118
|
format: "uuid",
|
|
20005
20119
|
type: "string"
|
|
20006
20120
|
},
|
|
20007
20121
|
credential_manager_acs_user_id: {
|
|
20122
|
+
description: "ID of the associated ACS user within the credential manager. If you specify a `credential_manager_acs_user_id`, you cannot set `create_credential_manager_user` to `true`.",
|
|
20008
20123
|
format: "uuid",
|
|
20009
20124
|
type: "string"
|
|
20010
20125
|
},
|
|
20011
|
-
user_identity_id: {
|
|
20126
|
+
user_identity_id: {
|
|
20127
|
+
description: "ID of the desired user identity.",
|
|
20128
|
+
format: "uuid",
|
|
20129
|
+
type: "string"
|
|
20130
|
+
}
|
|
20012
20131
|
},
|
|
20013
20132
|
required: [
|
|
20014
20133
|
"user_identity_id",
|
|
@@ -20075,18 +20194,24 @@ var openapi_default = {
|
|
|
20075
20194
|
"x-fern-sdk-group-name": ["user_identities", "enrollment_automations"],
|
|
20076
20195
|
"x-fern-sdk-method-name": "launch",
|
|
20077
20196
|
"x-fern-sdk-return-value": "enrollment_automation",
|
|
20078
|
-
"x-response-key": "enrollment_automation"
|
|
20197
|
+
"x-response-key": "enrollment_automation",
|
|
20198
|
+
"x-title": "Launch an Enrollment Automation"
|
|
20079
20199
|
}
|
|
20080
20200
|
},
|
|
20081
20201
|
"/user_identities/enrollment_automations/list": {
|
|
20082
20202
|
post: {
|
|
20203
|
+
description: "Returns a list of all [enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system) for a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).",
|
|
20083
20204
|
operationId: "userIdentitiesEnrollmentAutomationsListPost",
|
|
20084
20205
|
requestBody: {
|
|
20085
20206
|
content: {
|
|
20086
20207
|
"application/json": {
|
|
20087
20208
|
schema: {
|
|
20088
20209
|
properties: {
|
|
20089
|
-
user_identity_id: {
|
|
20210
|
+
user_identity_id: {
|
|
20211
|
+
description: "ID of the user identity for which you want to retrieve all enrollment automations.",
|
|
20212
|
+
format: "uuid",
|
|
20213
|
+
type: "string"
|
|
20214
|
+
}
|
|
20090
20215
|
},
|
|
20091
20216
|
required: ["user_identity_id"],
|
|
20092
20217
|
type: "object"
|
|
@@ -20129,11 +20254,13 @@ var openapi_default = {
|
|
|
20129
20254
|
"x-fern-sdk-group-name": ["user_identities", "enrollment_automations"],
|
|
20130
20255
|
"x-fern-sdk-method-name": "list",
|
|
20131
20256
|
"x-fern-sdk-return-value": "enrollment_automations",
|
|
20132
|
-
"x-response-key": "enrollment_automations"
|
|
20257
|
+
"x-response-key": "enrollment_automations",
|
|
20258
|
+
"x-title": "List Enrollment Automations"
|
|
20133
20259
|
}
|
|
20134
20260
|
},
|
|
20135
20261
|
"/user_identities/get": {
|
|
20136
20262
|
post: {
|
|
20263
|
+
description: "Returns a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).",
|
|
20137
20264
|
operationId: "userIdentitiesGetPost",
|
|
20138
20265
|
requestBody: {
|
|
20139
20266
|
content: {
|
|
@@ -20142,7 +20269,11 @@ var openapi_default = {
|
|
|
20142
20269
|
oneOf: [
|
|
20143
20270
|
{
|
|
20144
20271
|
properties: {
|
|
20145
|
-
user_identity_id: {
|
|
20272
|
+
user_identity_id: {
|
|
20273
|
+
description: "ID of the desired user identity.",
|
|
20274
|
+
format: "uuid",
|
|
20275
|
+
type: "string"
|
|
20276
|
+
}
|
|
20146
20277
|
},
|
|
20147
20278
|
required: ["user_identity_id"],
|
|
20148
20279
|
type: "object"
|
|
@@ -20188,19 +20319,29 @@ var openapi_default = {
|
|
|
20188
20319
|
"x-fern-sdk-group-name": ["user_identities"],
|
|
20189
20320
|
"x-fern-sdk-method-name": "get",
|
|
20190
20321
|
"x-fern-sdk-return-value": "user_identity",
|
|
20191
|
-
"x-response-key": "user_identity"
|
|
20322
|
+
"x-response-key": "user_identity",
|
|
20323
|
+
"x-title": "Get a User Identity"
|
|
20192
20324
|
}
|
|
20193
20325
|
},
|
|
20194
20326
|
"/user_identities/grant_access_to_device": {
|
|
20195
20327
|
post: {
|
|
20328
|
+
description: "Grants a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) access to a specified [device](https://docs.seam.co/latest/core-concepts/devices/).",
|
|
20196
20329
|
operationId: "userIdentitiesGrantAccessToDevicePost",
|
|
20197
20330
|
requestBody: {
|
|
20198
20331
|
content: {
|
|
20199
20332
|
"application/json": {
|
|
20200
20333
|
schema: {
|
|
20201
20334
|
properties: {
|
|
20202
|
-
device_id: {
|
|
20203
|
-
|
|
20335
|
+
device_id: {
|
|
20336
|
+
description: "ID of the desired managed device.",
|
|
20337
|
+
format: "uuid",
|
|
20338
|
+
type: "string"
|
|
20339
|
+
},
|
|
20340
|
+
user_identity_id: {
|
|
20341
|
+
description: "ID of the desired user identity.",
|
|
20342
|
+
format: "uuid",
|
|
20343
|
+
type: "string"
|
|
20344
|
+
}
|
|
20204
20345
|
},
|
|
20205
20346
|
required: ["user_identity_id", "device_id"],
|
|
20206
20347
|
type: "object"
|
|
@@ -20233,17 +20374,27 @@ var openapi_default = {
|
|
|
20233
20374
|
tags: ["/user_identities"],
|
|
20234
20375
|
"x-fern-sdk-group-name": ["user_identities"],
|
|
20235
20376
|
"x-fern-sdk-method-name": "grant_access_to_device",
|
|
20236
|
-
"x-response-key": null
|
|
20377
|
+
"x-response-key": null,
|
|
20378
|
+
"x-title": "Grant a User Identity Access to a Device"
|
|
20237
20379
|
},
|
|
20238
20380
|
put: {
|
|
20381
|
+
description: "Grants a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) access to a specified [device](https://docs.seam.co/latest/core-concepts/devices/).",
|
|
20239
20382
|
operationId: "userIdentitiesGrantAccessToDevicePut",
|
|
20240
20383
|
requestBody: {
|
|
20241
20384
|
content: {
|
|
20242
20385
|
"application/json": {
|
|
20243
20386
|
schema: {
|
|
20244
20387
|
properties: {
|
|
20245
|
-
device_id: {
|
|
20246
|
-
|
|
20388
|
+
device_id: {
|
|
20389
|
+
description: "ID of the desired managed device.",
|
|
20390
|
+
format: "uuid",
|
|
20391
|
+
type: "string"
|
|
20392
|
+
},
|
|
20393
|
+
user_identity_id: {
|
|
20394
|
+
description: "ID of the desired user identity.",
|
|
20395
|
+
format: "uuid",
|
|
20396
|
+
type: "string"
|
|
20397
|
+
}
|
|
20247
20398
|
},
|
|
20248
20399
|
required: ["user_identity_id", "device_id"],
|
|
20249
20400
|
type: "object"
|
|
@@ -20275,11 +20426,13 @@ var openapi_default = {
|
|
|
20275
20426
|
summary: "/user_identities/grant_access_to_device",
|
|
20276
20427
|
tags: ["/user_identities"],
|
|
20277
20428
|
"x-fern-ignore": true,
|
|
20278
|
-
"x-response-key": null
|
|
20429
|
+
"x-response-key": null,
|
|
20430
|
+
"x-title": "Grant a User Identity Access to a Device"
|
|
20279
20431
|
}
|
|
20280
20432
|
},
|
|
20281
20433
|
"/user_identities/list": {
|
|
20282
20434
|
post: {
|
|
20435
|
+
description: "Returns a list of all [user identities](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).",
|
|
20283
20436
|
operationId: "userIdentitiesListPost",
|
|
20284
20437
|
requestBody: {
|
|
20285
20438
|
content: {
|
|
@@ -20329,18 +20482,24 @@ var openapi_default = {
|
|
|
20329
20482
|
"x-fern-sdk-group-name": ["user_identities"],
|
|
20330
20483
|
"x-fern-sdk-method-name": "list",
|
|
20331
20484
|
"x-fern-sdk-return-value": "user_identities",
|
|
20332
|
-
"x-response-key": "user_identities"
|
|
20485
|
+
"x-response-key": "user_identities",
|
|
20486
|
+
"x-title": "List User Identities"
|
|
20333
20487
|
}
|
|
20334
20488
|
},
|
|
20335
20489
|
"/user_identities/list_accessible_devices": {
|
|
20336
20490
|
post: {
|
|
20491
|
+
description: "Returns a list of all [devices](https://docs.seam.co/latest/core-concepts/devices) associated with a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).",
|
|
20337
20492
|
operationId: "userIdentitiesListAccessibleDevicesPost",
|
|
20338
20493
|
requestBody: {
|
|
20339
20494
|
content: {
|
|
20340
20495
|
"application/json": {
|
|
20341
20496
|
schema: {
|
|
20342
20497
|
properties: {
|
|
20343
|
-
user_identity_id: {
|
|
20498
|
+
user_identity_id: {
|
|
20499
|
+
description: "ID of the user identity for which you want to retrieve all accessible devices.",
|
|
20500
|
+
format: "uuid",
|
|
20501
|
+
type: "string"
|
|
20502
|
+
}
|
|
20344
20503
|
},
|
|
20345
20504
|
required: ["user_identity_id"],
|
|
20346
20505
|
type: "object"
|
|
@@ -20386,18 +20545,24 @@ var openapi_default = {
|
|
|
20386
20545
|
"x-fern-sdk-group-name": ["user_identities"],
|
|
20387
20546
|
"x-fern-sdk-method-name": "list_accessible_devices",
|
|
20388
20547
|
"x-fern-sdk-return-value": "devices",
|
|
20389
|
-
"x-response-key": "devices"
|
|
20548
|
+
"x-response-key": "devices",
|
|
20549
|
+
"x-title": "List Accessible Devices for a User Identity"
|
|
20390
20550
|
}
|
|
20391
20551
|
},
|
|
20392
20552
|
"/user_identities/list_acs_systems": {
|
|
20393
20553
|
post: {
|
|
20554
|
+
description: "Returns a list of all [access control systems](https://docs.seam.co/latest/capability-guides/access-systems) associated with a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).",
|
|
20394
20555
|
operationId: "userIdentitiesListAcsSystemsPost",
|
|
20395
20556
|
requestBody: {
|
|
20396
20557
|
content: {
|
|
20397
20558
|
"application/json": {
|
|
20398
20559
|
schema: {
|
|
20399
20560
|
properties: {
|
|
20400
|
-
user_identity_id: {
|
|
20561
|
+
user_identity_id: {
|
|
20562
|
+
description: "ID of the user identity for which you want to retrieve all access control systems.",
|
|
20563
|
+
format: "uuid",
|
|
20564
|
+
type: "string"
|
|
20565
|
+
}
|
|
20401
20566
|
},
|
|
20402
20567
|
required: ["user_identity_id"],
|
|
20403
20568
|
type: "object"
|
|
@@ -20438,18 +20603,24 @@ var openapi_default = {
|
|
|
20438
20603
|
"x-fern-sdk-group-name": ["user_identities"],
|
|
20439
20604
|
"x-fern-sdk-method-name": "list_acs_systems",
|
|
20440
20605
|
"x-fern-sdk-return-value": "acs_systems",
|
|
20441
|
-
"x-response-key": "acs_systems"
|
|
20606
|
+
"x-response-key": "acs_systems",
|
|
20607
|
+
"x-title": "List ACS Systems Associated with a User Identity"
|
|
20442
20608
|
}
|
|
20443
20609
|
},
|
|
20444
20610
|
"/user_identities/list_acs_users": {
|
|
20445
20611
|
post: {
|
|
20612
|
+
description: "Returns a list of all [ACS users](https://docs.seam.co/latest/capability-guides/access-systems/user-management) assigned to a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).",
|
|
20446
20613
|
operationId: "userIdentitiesListAcsUsersPost",
|
|
20447
20614
|
requestBody: {
|
|
20448
20615
|
content: {
|
|
20449
20616
|
"application/json": {
|
|
20450
20617
|
schema: {
|
|
20451
20618
|
properties: {
|
|
20452
|
-
user_identity_id: {
|
|
20619
|
+
user_identity_id: {
|
|
20620
|
+
description: "ID of the user identity for which you want to retrieve all ACS users.",
|
|
20621
|
+
format: "uuid",
|
|
20622
|
+
type: "string"
|
|
20623
|
+
}
|
|
20453
20624
|
},
|
|
20454
20625
|
required: ["user_identity_id"],
|
|
20455
20626
|
type: "object"
|
|
@@ -20489,19 +20660,29 @@ var openapi_default = {
|
|
|
20489
20660
|
"x-fern-sdk-group-name": ["user_identities"],
|
|
20490
20661
|
"x-fern-sdk-method-name": "list_acs_users",
|
|
20491
20662
|
"x-fern-sdk-return-value": "acs_users",
|
|
20492
|
-
"x-response-key": "acs_users"
|
|
20663
|
+
"x-response-key": "acs_users",
|
|
20664
|
+
"x-title": "List ACS Users Associated with a User Identity"
|
|
20493
20665
|
}
|
|
20494
20666
|
},
|
|
20495
20667
|
"/user_identities/remove_acs_user": {
|
|
20496
20668
|
post: {
|
|
20669
|
+
description: "Removes a specified [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) from a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).",
|
|
20497
20670
|
operationId: "userIdentitiesRemoveAcsUserPost",
|
|
20498
20671
|
requestBody: {
|
|
20499
20672
|
content: {
|
|
20500
20673
|
"application/json": {
|
|
20501
20674
|
schema: {
|
|
20502
20675
|
properties: {
|
|
20503
|
-
acs_user_id: {
|
|
20504
|
-
|
|
20676
|
+
acs_user_id: {
|
|
20677
|
+
description: "ID of the ACS user.",
|
|
20678
|
+
format: "uuid",
|
|
20679
|
+
type: "string"
|
|
20680
|
+
},
|
|
20681
|
+
user_identity_id: {
|
|
20682
|
+
description: "ID of the desired user identity.",
|
|
20683
|
+
format: "uuid",
|
|
20684
|
+
type: "string"
|
|
20685
|
+
}
|
|
20505
20686
|
},
|
|
20506
20687
|
required: ["user_identity_id", "acs_user_id"],
|
|
20507
20688
|
type: "object"
|
|
@@ -20534,19 +20715,29 @@ var openapi_default = {
|
|
|
20534
20715
|
tags: ["/user_identities"],
|
|
20535
20716
|
"x-fern-sdk-group-name": ["user_identities"],
|
|
20536
20717
|
"x-fern-sdk-method-name": "remove_acs_user",
|
|
20537
|
-
"x-response-key": null
|
|
20718
|
+
"x-response-key": null,
|
|
20719
|
+
"x-title": "Remove an ACS User from a User Identity"
|
|
20538
20720
|
}
|
|
20539
20721
|
},
|
|
20540
20722
|
"/user_identities/revoke_access_to_device": {
|
|
20541
20723
|
post: {
|
|
20724
|
+
description: "Revokes access to a specified [device](https://docs.seam.co/latest/core-concepts/devices/) from a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).",
|
|
20542
20725
|
operationId: "userIdentitiesRevokeAccessToDevicePost",
|
|
20543
20726
|
requestBody: {
|
|
20544
20727
|
content: {
|
|
20545
20728
|
"application/json": {
|
|
20546
20729
|
schema: {
|
|
20547
20730
|
properties: {
|
|
20548
|
-
device_id: {
|
|
20549
|
-
|
|
20731
|
+
device_id: {
|
|
20732
|
+
description: "ID of the desired managed device.",
|
|
20733
|
+
format: "uuid",
|
|
20734
|
+
type: "string"
|
|
20735
|
+
},
|
|
20736
|
+
user_identity_id: {
|
|
20737
|
+
description: "ID of the desired user identity.",
|
|
20738
|
+
format: "uuid",
|
|
20739
|
+
type: "string"
|
|
20740
|
+
}
|
|
20550
20741
|
},
|
|
20551
20742
|
required: ["user_identity_id", "device_id"],
|
|
20552
20743
|
type: "object"
|
|
@@ -20579,7 +20770,8 @@ var openapi_default = {
|
|
|
20579
20770
|
tags: ["/user_identities"],
|
|
20580
20771
|
"x-fern-sdk-group-name": ["user_identities"],
|
|
20581
20772
|
"x-fern-sdk-method-name": "revoke_access_to_device",
|
|
20582
|
-
"x-response-key": null
|
|
20773
|
+
"x-response-key": null,
|
|
20774
|
+
"x-title": "Revoke Access to a Device from a User Identity"
|
|
20583
20775
|
}
|
|
20584
20776
|
},
|
|
20585
20777
|
"/user_identities/update": {
|
|
@@ -20591,14 +20783,24 @@ var openapi_default = {
|
|
|
20591
20783
|
schema: {
|
|
20592
20784
|
properties: {
|
|
20593
20785
|
email_address: {
|
|
20786
|
+
description: "Unique email address for the user identity.",
|
|
20594
20787
|
format: "email",
|
|
20595
20788
|
nullable: true,
|
|
20596
20789
|
type: "string"
|
|
20597
20790
|
},
|
|
20598
20791
|
full_name: { minLength: 1, nullable: true, type: "string" },
|
|
20599
|
-
phone_number: {
|
|
20600
|
-
|
|
20792
|
+
phone_number: {
|
|
20793
|
+
description: "Unique phone number for the user identity in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, +15555550100).",
|
|
20794
|
+
nullable: true,
|
|
20795
|
+
type: "string"
|
|
20796
|
+
},
|
|
20797
|
+
user_identity_id: {
|
|
20798
|
+
description: "ID of the user identity.",
|
|
20799
|
+
format: "uuid",
|
|
20800
|
+
type: "string"
|
|
20801
|
+
},
|
|
20601
20802
|
user_identity_key: {
|
|
20803
|
+
description: "Unique key for the user identity.",
|
|
20602
20804
|
minLength: 1,
|
|
20603
20805
|
nullable: true,
|
|
20604
20806
|
type: "string"
|
|
@@ -20644,14 +20846,24 @@ var openapi_default = {
|
|
|
20644
20846
|
schema: {
|
|
20645
20847
|
properties: {
|
|
20646
20848
|
email_address: {
|
|
20849
|
+
description: "Unique email address for the user identity.",
|
|
20647
20850
|
format: "email",
|
|
20648
20851
|
nullable: true,
|
|
20649
20852
|
type: "string"
|
|
20650
20853
|
},
|
|
20651
20854
|
full_name: { minLength: 1, nullable: true, type: "string" },
|
|
20652
|
-
phone_number: {
|
|
20653
|
-
|
|
20855
|
+
phone_number: {
|
|
20856
|
+
description: "Unique phone number for the user identity in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, +15555550100).",
|
|
20857
|
+
nullable: true,
|
|
20858
|
+
type: "string"
|
|
20859
|
+
},
|
|
20860
|
+
user_identity_id: {
|
|
20861
|
+
description: "ID of the user identity.",
|
|
20862
|
+
format: "uuid",
|
|
20863
|
+
type: "string"
|
|
20864
|
+
},
|
|
20654
20865
|
user_identity_key: {
|
|
20866
|
+
description: "Unique key for the user identity.",
|
|
20655
20867
|
minLength: 1,
|
|
20656
20868
|
nullable: true,
|
|
20657
20869
|
type: "string"
|