@seamapi/types 1.293.1 → 1.294.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/dist/connect.cjs +282 -68
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +148 -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 +86 -0
- package/lib/seam/connect/openapi.js +249 -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 +287 -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",
|
|
@@ -9752,7 +9806,8 @@ var openapi_default = {
|
|
|
9752
9806
|
],
|
|
9753
9807
|
summary: "/access_codes/update_multiple",
|
|
9754
9808
|
tags: ["/access_codes"],
|
|
9755
|
-
"x-fern-ignore": true
|
|
9809
|
+
"x-fern-ignore": true,
|
|
9810
|
+
"x-response-key": null
|
|
9756
9811
|
},
|
|
9757
9812
|
post: {
|
|
9758
9813
|
operationId: "accessCodesUpdateMultiplePost",
|
|
@@ -9797,7 +9852,8 @@ var openapi_default = {
|
|
|
9797
9852
|
summary: "/access_codes/update_multiple",
|
|
9798
9853
|
tags: ["/access_codes"],
|
|
9799
9854
|
"x-fern-sdk-group-name": ["access_codes"],
|
|
9800
|
-
"x-fern-sdk-method-name": "update_multiple"
|
|
9855
|
+
"x-fern-sdk-method-name": "update_multiple",
|
|
9856
|
+
"x-response-key": null
|
|
9801
9857
|
}
|
|
9802
9858
|
},
|
|
9803
9859
|
"/acs/access_groups/add_user": {
|
|
@@ -19706,14 +19762,23 @@ var openapi_default = {
|
|
|
19706
19762
|
},
|
|
19707
19763
|
"/user_identities/add_acs_user": {
|
|
19708
19764
|
post: {
|
|
19765
|
+
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
19766
|
operationId: "userIdentitiesAddAcsUserPost",
|
|
19710
19767
|
requestBody: {
|
|
19711
19768
|
content: {
|
|
19712
19769
|
"application/json": {
|
|
19713
19770
|
schema: {
|
|
19714
19771
|
properties: {
|
|
19715
|
-
acs_user_id: {
|
|
19716
|
-
|
|
19772
|
+
acs_user_id: {
|
|
19773
|
+
description: "ID of the desired ACS user.",
|
|
19774
|
+
format: "uuid",
|
|
19775
|
+
type: "string"
|
|
19776
|
+
},
|
|
19777
|
+
user_identity_id: {
|
|
19778
|
+
description: "ID of the desired user identity.",
|
|
19779
|
+
format: "uuid",
|
|
19780
|
+
type: "string"
|
|
19781
|
+
}
|
|
19717
19782
|
},
|
|
19718
19783
|
required: ["user_identity_id", "acs_user_id"],
|
|
19719
19784
|
type: "object"
|
|
@@ -19746,17 +19811,27 @@ var openapi_default = {
|
|
|
19746
19811
|
tags: ["/user_identities"],
|
|
19747
19812
|
"x-fern-sdk-group-name": ["user_identities"],
|
|
19748
19813
|
"x-fern-sdk-method-name": "add_acs_user",
|
|
19749
|
-
"x-response-key": null
|
|
19814
|
+
"x-response-key": null,
|
|
19815
|
+
"x-title": "Add an ACS User to a User Identity"
|
|
19750
19816
|
},
|
|
19751
19817
|
put: {
|
|
19818
|
+
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
19819
|
operationId: "userIdentitiesAddAcsUserPut",
|
|
19753
19820
|
requestBody: {
|
|
19754
19821
|
content: {
|
|
19755
19822
|
"application/json": {
|
|
19756
19823
|
schema: {
|
|
19757
19824
|
properties: {
|
|
19758
|
-
acs_user_id: {
|
|
19759
|
-
|
|
19825
|
+
acs_user_id: {
|
|
19826
|
+
description: "ID of the desired ACS user.",
|
|
19827
|
+
format: "uuid",
|
|
19828
|
+
type: "string"
|
|
19829
|
+
},
|
|
19830
|
+
user_identity_id: {
|
|
19831
|
+
description: "ID of the desired user identity.",
|
|
19832
|
+
format: "uuid",
|
|
19833
|
+
type: "string"
|
|
19834
|
+
}
|
|
19760
19835
|
},
|
|
19761
19836
|
required: ["user_identity_id", "acs_user_id"],
|
|
19762
19837
|
type: "object"
|
|
@@ -19788,11 +19863,13 @@ var openapi_default = {
|
|
|
19788
19863
|
summary: "/user_identities/add_acs_user",
|
|
19789
19864
|
tags: ["/user_identities"],
|
|
19790
19865
|
"x-fern-ignore": true,
|
|
19791
|
-
"x-response-key": null
|
|
19866
|
+
"x-response-key": null,
|
|
19867
|
+
"x-title": "Add an ACS User to a User Identity"
|
|
19792
19868
|
}
|
|
19793
19869
|
},
|
|
19794
19870
|
"/user_identities/create": {
|
|
19795
19871
|
post: {
|
|
19872
|
+
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
19873
|
operationId: "userIdentitiesCreatePost",
|
|
19797
19874
|
requestBody: {
|
|
19798
19875
|
content: {
|
|
@@ -19800,13 +19877,24 @@ var openapi_default = {
|
|
|
19800
19877
|
schema: {
|
|
19801
19878
|
properties: {
|
|
19802
19879
|
email_address: {
|
|
19880
|
+
description: "Unique email address for the user identity.",
|
|
19803
19881
|
format: "email",
|
|
19804
19882
|
nullable: true,
|
|
19805
19883
|
type: "string"
|
|
19806
19884
|
},
|
|
19807
|
-
full_name: {
|
|
19808
|
-
|
|
19885
|
+
full_name: {
|
|
19886
|
+
description: "Full name of the user associated with the user identity.",
|
|
19887
|
+
minLength: 1,
|
|
19888
|
+
nullable: true,
|
|
19889
|
+
type: "string"
|
|
19890
|
+
},
|
|
19891
|
+
phone_number: {
|
|
19892
|
+
description: "Unique phone number for the user identity in E.164 format (for example, +15555550100).",
|
|
19893
|
+
nullable: true,
|
|
19894
|
+
type: "string"
|
|
19895
|
+
},
|
|
19809
19896
|
user_identity_key: {
|
|
19897
|
+
description: "Unique key for the user identity.",
|
|
19810
19898
|
minLength: 1,
|
|
19811
19899
|
nullable: true,
|
|
19812
19900
|
type: "string"
|
|
@@ -19848,18 +19936,24 @@ var openapi_default = {
|
|
|
19848
19936
|
"x-fern-sdk-group-name": ["user_identities"],
|
|
19849
19937
|
"x-fern-sdk-method-name": "create",
|
|
19850
19938
|
"x-fern-sdk-return-value": "user_identity",
|
|
19851
|
-
"x-response-key": "user_identity"
|
|
19939
|
+
"x-response-key": "user_identity",
|
|
19940
|
+
"x-title": "Create a User Identity"
|
|
19852
19941
|
}
|
|
19853
19942
|
},
|
|
19854
19943
|
"/user_identities/delete": {
|
|
19855
19944
|
post: {
|
|
19945
|
+
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
19946
|
operationId: "userIdentitiesDeletePost",
|
|
19857
19947
|
requestBody: {
|
|
19858
19948
|
content: {
|
|
19859
19949
|
"application/json": {
|
|
19860
19950
|
schema: {
|
|
19861
19951
|
properties: {
|
|
19862
|
-
user_identity_id: {
|
|
19952
|
+
user_identity_id: {
|
|
19953
|
+
description: "ID of the desired user identity.",
|
|
19954
|
+
format: "uuid",
|
|
19955
|
+
type: "string"
|
|
19956
|
+
}
|
|
19863
19957
|
},
|
|
19864
19958
|
required: ["user_identity_id"],
|
|
19865
19959
|
type: "object"
|
|
@@ -19892,18 +19986,24 @@ var openapi_default = {
|
|
|
19892
19986
|
tags: ["/user_identities"],
|
|
19893
19987
|
"x-fern-sdk-group-name": ["user_identities"],
|
|
19894
19988
|
"x-fern-sdk-method-name": "delete",
|
|
19895
|
-
"x-response-key": null
|
|
19989
|
+
"x-response-key": null,
|
|
19990
|
+
"x-title": "Delete a User Identity"
|
|
19896
19991
|
}
|
|
19897
19992
|
},
|
|
19898
19993
|
"/user_identities/enrollment_automations/delete": {
|
|
19899
19994
|
post: {
|
|
19995
|
+
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
19996
|
operationId: "userIdentitiesEnrollmentAutomationsDeletePost",
|
|
19901
19997
|
requestBody: {
|
|
19902
19998
|
content: {
|
|
19903
19999
|
"application/json": {
|
|
19904
20000
|
schema: {
|
|
19905
20001
|
properties: {
|
|
19906
|
-
enrollment_automation_id: {
|
|
20002
|
+
enrollment_automation_id: {
|
|
20003
|
+
description: "ID of the desired enrollment automation.",
|
|
20004
|
+
format: "uuid",
|
|
20005
|
+
type: "string"
|
|
20006
|
+
}
|
|
19907
20007
|
},
|
|
19908
20008
|
required: ["enrollment_automation_id"],
|
|
19909
20009
|
type: "object"
|
|
@@ -19936,18 +20036,24 @@ var openapi_default = {
|
|
|
19936
20036
|
tags: ["/user_identities"],
|
|
19937
20037
|
"x-fern-sdk-group-name": ["user_identities", "enrollment_automations"],
|
|
19938
20038
|
"x-fern-sdk-method-name": "delete",
|
|
19939
|
-
"x-response-key": null
|
|
20039
|
+
"x-response-key": null,
|
|
20040
|
+
"x-title": "Delete an Enrollment Automation"
|
|
19940
20041
|
}
|
|
19941
20042
|
},
|
|
19942
20043
|
"/user_identities/enrollment_automations/get": {
|
|
19943
20044
|
post: {
|
|
20045
|
+
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
20046
|
operationId: "userIdentitiesEnrollmentAutomationsGetPost",
|
|
19945
20047
|
requestBody: {
|
|
19946
20048
|
content: {
|
|
19947
20049
|
"application/json": {
|
|
19948
20050
|
schema: {
|
|
19949
20051
|
properties: {
|
|
19950
|
-
enrollment_automation_id: {
|
|
20052
|
+
enrollment_automation_id: {
|
|
20053
|
+
description: "ID of the desired enrollment automation.",
|
|
20054
|
+
format: "uuid",
|
|
20055
|
+
type: "string"
|
|
20056
|
+
}
|
|
19951
20057
|
},
|
|
19952
20058
|
required: ["enrollment_automation_id"],
|
|
19953
20059
|
type: "object"
|
|
@@ -19987,28 +20093,43 @@ var openapi_default = {
|
|
|
19987
20093
|
"x-fern-sdk-group-name": ["user_identities", "enrollment_automations"],
|
|
19988
20094
|
"x-fern-sdk-method-name": "get",
|
|
19989
20095
|
"x-fern-sdk-return-value": "enrollment_automation",
|
|
19990
|
-
"x-response-key": "enrollment_automation"
|
|
20096
|
+
"x-response-key": "enrollment_automation",
|
|
20097
|
+
"x-title": "Get an Enrollment Automation"
|
|
19991
20098
|
}
|
|
19992
20099
|
},
|
|
19993
20100
|
"/user_identities/enrollment_automations/launch": {
|
|
19994
20101
|
post: {
|
|
20102
|
+
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
20103
|
operationId: "userIdentitiesEnrollmentAutomationsLaunchPost",
|
|
19996
20104
|
requestBody: {
|
|
19997
20105
|
content: {
|
|
19998
20106
|
"application/json": {
|
|
19999
20107
|
schema: {
|
|
20000
20108
|
properties: {
|
|
20001
|
-
acs_credential_pool_id: {
|
|
20002
|
-
|
|
20109
|
+
acs_credential_pool_id: {
|
|
20110
|
+
description: "ID of the ACS credential pool from which to obtain credentials for the user identity.",
|
|
20111
|
+
format: "uuid",
|
|
20112
|
+
type: "string"
|
|
20113
|
+
},
|
|
20114
|
+
create_credential_manager_user: {
|
|
20115
|
+
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`.",
|
|
20116
|
+
type: "boolean"
|
|
20117
|
+
},
|
|
20003
20118
|
credential_manager_acs_system_id: {
|
|
20119
|
+
description: "ID of the desired ACS system that serves as the credential manager.",
|
|
20004
20120
|
format: "uuid",
|
|
20005
20121
|
type: "string"
|
|
20006
20122
|
},
|
|
20007
20123
|
credential_manager_acs_user_id: {
|
|
20124
|
+
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
20125
|
format: "uuid",
|
|
20009
20126
|
type: "string"
|
|
20010
20127
|
},
|
|
20011
|
-
user_identity_id: {
|
|
20128
|
+
user_identity_id: {
|
|
20129
|
+
description: "ID of the desired user identity.",
|
|
20130
|
+
format: "uuid",
|
|
20131
|
+
type: "string"
|
|
20132
|
+
}
|
|
20012
20133
|
},
|
|
20013
20134
|
required: [
|
|
20014
20135
|
"user_identity_id",
|
|
@@ -20075,18 +20196,24 @@ var openapi_default = {
|
|
|
20075
20196
|
"x-fern-sdk-group-name": ["user_identities", "enrollment_automations"],
|
|
20076
20197
|
"x-fern-sdk-method-name": "launch",
|
|
20077
20198
|
"x-fern-sdk-return-value": "enrollment_automation",
|
|
20078
|
-
"x-response-key": "enrollment_automation"
|
|
20199
|
+
"x-response-key": "enrollment_automation",
|
|
20200
|
+
"x-title": "Launch an Enrollment Automation"
|
|
20079
20201
|
}
|
|
20080
20202
|
},
|
|
20081
20203
|
"/user_identities/enrollment_automations/list": {
|
|
20082
20204
|
post: {
|
|
20205
|
+
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
20206
|
operationId: "userIdentitiesEnrollmentAutomationsListPost",
|
|
20084
20207
|
requestBody: {
|
|
20085
20208
|
content: {
|
|
20086
20209
|
"application/json": {
|
|
20087
20210
|
schema: {
|
|
20088
20211
|
properties: {
|
|
20089
|
-
user_identity_id: {
|
|
20212
|
+
user_identity_id: {
|
|
20213
|
+
description: "ID of the user identity for which you want to retrieve all enrollment automations.",
|
|
20214
|
+
format: "uuid",
|
|
20215
|
+
type: "string"
|
|
20216
|
+
}
|
|
20090
20217
|
},
|
|
20091
20218
|
required: ["user_identity_id"],
|
|
20092
20219
|
type: "object"
|
|
@@ -20129,11 +20256,13 @@ var openapi_default = {
|
|
|
20129
20256
|
"x-fern-sdk-group-name": ["user_identities", "enrollment_automations"],
|
|
20130
20257
|
"x-fern-sdk-method-name": "list",
|
|
20131
20258
|
"x-fern-sdk-return-value": "enrollment_automations",
|
|
20132
|
-
"x-response-key": "enrollment_automations"
|
|
20259
|
+
"x-response-key": "enrollment_automations",
|
|
20260
|
+
"x-title": "List Enrollment Automations"
|
|
20133
20261
|
}
|
|
20134
20262
|
},
|
|
20135
20263
|
"/user_identities/get": {
|
|
20136
20264
|
post: {
|
|
20265
|
+
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
20266
|
operationId: "userIdentitiesGetPost",
|
|
20138
20267
|
requestBody: {
|
|
20139
20268
|
content: {
|
|
@@ -20142,7 +20271,11 @@ var openapi_default = {
|
|
|
20142
20271
|
oneOf: [
|
|
20143
20272
|
{
|
|
20144
20273
|
properties: {
|
|
20145
|
-
user_identity_id: {
|
|
20274
|
+
user_identity_id: {
|
|
20275
|
+
description: "ID of the desired user identity.",
|
|
20276
|
+
format: "uuid",
|
|
20277
|
+
type: "string"
|
|
20278
|
+
}
|
|
20146
20279
|
},
|
|
20147
20280
|
required: ["user_identity_id"],
|
|
20148
20281
|
type: "object"
|
|
@@ -20188,19 +20321,29 @@ var openapi_default = {
|
|
|
20188
20321
|
"x-fern-sdk-group-name": ["user_identities"],
|
|
20189
20322
|
"x-fern-sdk-method-name": "get",
|
|
20190
20323
|
"x-fern-sdk-return-value": "user_identity",
|
|
20191
|
-
"x-response-key": "user_identity"
|
|
20324
|
+
"x-response-key": "user_identity",
|
|
20325
|
+
"x-title": "Get a User Identity"
|
|
20192
20326
|
}
|
|
20193
20327
|
},
|
|
20194
20328
|
"/user_identities/grant_access_to_device": {
|
|
20195
20329
|
post: {
|
|
20330
|
+
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
20331
|
operationId: "userIdentitiesGrantAccessToDevicePost",
|
|
20197
20332
|
requestBody: {
|
|
20198
20333
|
content: {
|
|
20199
20334
|
"application/json": {
|
|
20200
20335
|
schema: {
|
|
20201
20336
|
properties: {
|
|
20202
|
-
device_id: {
|
|
20203
|
-
|
|
20337
|
+
device_id: {
|
|
20338
|
+
description: "ID of the desired managed device.",
|
|
20339
|
+
format: "uuid",
|
|
20340
|
+
type: "string"
|
|
20341
|
+
},
|
|
20342
|
+
user_identity_id: {
|
|
20343
|
+
description: "ID of the desired user identity.",
|
|
20344
|
+
format: "uuid",
|
|
20345
|
+
type: "string"
|
|
20346
|
+
}
|
|
20204
20347
|
},
|
|
20205
20348
|
required: ["user_identity_id", "device_id"],
|
|
20206
20349
|
type: "object"
|
|
@@ -20233,17 +20376,27 @@ var openapi_default = {
|
|
|
20233
20376
|
tags: ["/user_identities"],
|
|
20234
20377
|
"x-fern-sdk-group-name": ["user_identities"],
|
|
20235
20378
|
"x-fern-sdk-method-name": "grant_access_to_device",
|
|
20236
|
-
"x-response-key": null
|
|
20379
|
+
"x-response-key": null,
|
|
20380
|
+
"x-title": "Grant a User Identity Access to a Device"
|
|
20237
20381
|
},
|
|
20238
20382
|
put: {
|
|
20383
|
+
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
20384
|
operationId: "userIdentitiesGrantAccessToDevicePut",
|
|
20240
20385
|
requestBody: {
|
|
20241
20386
|
content: {
|
|
20242
20387
|
"application/json": {
|
|
20243
20388
|
schema: {
|
|
20244
20389
|
properties: {
|
|
20245
|
-
device_id: {
|
|
20246
|
-
|
|
20390
|
+
device_id: {
|
|
20391
|
+
description: "ID of the desired managed device.",
|
|
20392
|
+
format: "uuid",
|
|
20393
|
+
type: "string"
|
|
20394
|
+
},
|
|
20395
|
+
user_identity_id: {
|
|
20396
|
+
description: "ID of the desired user identity.",
|
|
20397
|
+
format: "uuid",
|
|
20398
|
+
type: "string"
|
|
20399
|
+
}
|
|
20247
20400
|
},
|
|
20248
20401
|
required: ["user_identity_id", "device_id"],
|
|
20249
20402
|
type: "object"
|
|
@@ -20275,11 +20428,13 @@ var openapi_default = {
|
|
|
20275
20428
|
summary: "/user_identities/grant_access_to_device",
|
|
20276
20429
|
tags: ["/user_identities"],
|
|
20277
20430
|
"x-fern-ignore": true,
|
|
20278
|
-
"x-response-key": null
|
|
20431
|
+
"x-response-key": null,
|
|
20432
|
+
"x-title": "Grant a User Identity Access to a Device"
|
|
20279
20433
|
}
|
|
20280
20434
|
},
|
|
20281
20435
|
"/user_identities/list": {
|
|
20282
20436
|
post: {
|
|
20437
|
+
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
20438
|
operationId: "userIdentitiesListPost",
|
|
20284
20439
|
requestBody: {
|
|
20285
20440
|
content: {
|
|
@@ -20329,18 +20484,24 @@ var openapi_default = {
|
|
|
20329
20484
|
"x-fern-sdk-group-name": ["user_identities"],
|
|
20330
20485
|
"x-fern-sdk-method-name": "list",
|
|
20331
20486
|
"x-fern-sdk-return-value": "user_identities",
|
|
20332
|
-
"x-response-key": "user_identities"
|
|
20487
|
+
"x-response-key": "user_identities",
|
|
20488
|
+
"x-title": "List User Identities"
|
|
20333
20489
|
}
|
|
20334
20490
|
},
|
|
20335
20491
|
"/user_identities/list_accessible_devices": {
|
|
20336
20492
|
post: {
|
|
20493
|
+
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
20494
|
operationId: "userIdentitiesListAccessibleDevicesPost",
|
|
20338
20495
|
requestBody: {
|
|
20339
20496
|
content: {
|
|
20340
20497
|
"application/json": {
|
|
20341
20498
|
schema: {
|
|
20342
20499
|
properties: {
|
|
20343
|
-
user_identity_id: {
|
|
20500
|
+
user_identity_id: {
|
|
20501
|
+
description: "ID of the user identity for which you want to retrieve all accessible devices.",
|
|
20502
|
+
format: "uuid",
|
|
20503
|
+
type: "string"
|
|
20504
|
+
}
|
|
20344
20505
|
},
|
|
20345
20506
|
required: ["user_identity_id"],
|
|
20346
20507
|
type: "object"
|
|
@@ -20386,18 +20547,24 @@ var openapi_default = {
|
|
|
20386
20547
|
"x-fern-sdk-group-name": ["user_identities"],
|
|
20387
20548
|
"x-fern-sdk-method-name": "list_accessible_devices",
|
|
20388
20549
|
"x-fern-sdk-return-value": "devices",
|
|
20389
|
-
"x-response-key": "devices"
|
|
20550
|
+
"x-response-key": "devices",
|
|
20551
|
+
"x-title": "List Accessible Devices for a User Identity"
|
|
20390
20552
|
}
|
|
20391
20553
|
},
|
|
20392
20554
|
"/user_identities/list_acs_systems": {
|
|
20393
20555
|
post: {
|
|
20556
|
+
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
20557
|
operationId: "userIdentitiesListAcsSystemsPost",
|
|
20395
20558
|
requestBody: {
|
|
20396
20559
|
content: {
|
|
20397
20560
|
"application/json": {
|
|
20398
20561
|
schema: {
|
|
20399
20562
|
properties: {
|
|
20400
|
-
user_identity_id: {
|
|
20563
|
+
user_identity_id: {
|
|
20564
|
+
description: "ID of the user identity for which you want to retrieve all access control systems.",
|
|
20565
|
+
format: "uuid",
|
|
20566
|
+
type: "string"
|
|
20567
|
+
}
|
|
20401
20568
|
},
|
|
20402
20569
|
required: ["user_identity_id"],
|
|
20403
20570
|
type: "object"
|
|
@@ -20438,18 +20605,24 @@ var openapi_default = {
|
|
|
20438
20605
|
"x-fern-sdk-group-name": ["user_identities"],
|
|
20439
20606
|
"x-fern-sdk-method-name": "list_acs_systems",
|
|
20440
20607
|
"x-fern-sdk-return-value": "acs_systems",
|
|
20441
|
-
"x-response-key": "acs_systems"
|
|
20608
|
+
"x-response-key": "acs_systems",
|
|
20609
|
+
"x-title": "List ACS Systems Associated with a User Identity"
|
|
20442
20610
|
}
|
|
20443
20611
|
},
|
|
20444
20612
|
"/user_identities/list_acs_users": {
|
|
20445
20613
|
post: {
|
|
20614
|
+
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
20615
|
operationId: "userIdentitiesListAcsUsersPost",
|
|
20447
20616
|
requestBody: {
|
|
20448
20617
|
content: {
|
|
20449
20618
|
"application/json": {
|
|
20450
20619
|
schema: {
|
|
20451
20620
|
properties: {
|
|
20452
|
-
user_identity_id: {
|
|
20621
|
+
user_identity_id: {
|
|
20622
|
+
description: "ID of the user identity for which you want to retrieve all ACS users.",
|
|
20623
|
+
format: "uuid",
|
|
20624
|
+
type: "string"
|
|
20625
|
+
}
|
|
20453
20626
|
},
|
|
20454
20627
|
required: ["user_identity_id"],
|
|
20455
20628
|
type: "object"
|
|
@@ -20489,19 +20662,29 @@ var openapi_default = {
|
|
|
20489
20662
|
"x-fern-sdk-group-name": ["user_identities"],
|
|
20490
20663
|
"x-fern-sdk-method-name": "list_acs_users",
|
|
20491
20664
|
"x-fern-sdk-return-value": "acs_users",
|
|
20492
|
-
"x-response-key": "acs_users"
|
|
20665
|
+
"x-response-key": "acs_users",
|
|
20666
|
+
"x-title": "List ACS Users Associated with a User Identity"
|
|
20493
20667
|
}
|
|
20494
20668
|
},
|
|
20495
20669
|
"/user_identities/remove_acs_user": {
|
|
20496
20670
|
post: {
|
|
20671
|
+
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
20672
|
operationId: "userIdentitiesRemoveAcsUserPost",
|
|
20498
20673
|
requestBody: {
|
|
20499
20674
|
content: {
|
|
20500
20675
|
"application/json": {
|
|
20501
20676
|
schema: {
|
|
20502
20677
|
properties: {
|
|
20503
|
-
acs_user_id: {
|
|
20504
|
-
|
|
20678
|
+
acs_user_id: {
|
|
20679
|
+
description: "ID of the ACS user.",
|
|
20680
|
+
format: "uuid",
|
|
20681
|
+
type: "string"
|
|
20682
|
+
},
|
|
20683
|
+
user_identity_id: {
|
|
20684
|
+
description: "ID of the desired user identity.",
|
|
20685
|
+
format: "uuid",
|
|
20686
|
+
type: "string"
|
|
20687
|
+
}
|
|
20505
20688
|
},
|
|
20506
20689
|
required: ["user_identity_id", "acs_user_id"],
|
|
20507
20690
|
type: "object"
|
|
@@ -20534,19 +20717,29 @@ var openapi_default = {
|
|
|
20534
20717
|
tags: ["/user_identities"],
|
|
20535
20718
|
"x-fern-sdk-group-name": ["user_identities"],
|
|
20536
20719
|
"x-fern-sdk-method-name": "remove_acs_user",
|
|
20537
|
-
"x-response-key": null
|
|
20720
|
+
"x-response-key": null,
|
|
20721
|
+
"x-title": "Remove an ACS User from a User Identity"
|
|
20538
20722
|
}
|
|
20539
20723
|
},
|
|
20540
20724
|
"/user_identities/revoke_access_to_device": {
|
|
20541
20725
|
post: {
|
|
20726
|
+
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
20727
|
operationId: "userIdentitiesRevokeAccessToDevicePost",
|
|
20543
20728
|
requestBody: {
|
|
20544
20729
|
content: {
|
|
20545
20730
|
"application/json": {
|
|
20546
20731
|
schema: {
|
|
20547
20732
|
properties: {
|
|
20548
|
-
device_id: {
|
|
20549
|
-
|
|
20733
|
+
device_id: {
|
|
20734
|
+
description: "ID of the desired managed device.",
|
|
20735
|
+
format: "uuid",
|
|
20736
|
+
type: "string"
|
|
20737
|
+
},
|
|
20738
|
+
user_identity_id: {
|
|
20739
|
+
description: "ID of the desired user identity.",
|
|
20740
|
+
format: "uuid",
|
|
20741
|
+
type: "string"
|
|
20742
|
+
}
|
|
20550
20743
|
},
|
|
20551
20744
|
required: ["user_identity_id", "device_id"],
|
|
20552
20745
|
type: "object"
|
|
@@ -20579,7 +20772,8 @@ var openapi_default = {
|
|
|
20579
20772
|
tags: ["/user_identities"],
|
|
20580
20773
|
"x-fern-sdk-group-name": ["user_identities"],
|
|
20581
20774
|
"x-fern-sdk-method-name": "revoke_access_to_device",
|
|
20582
|
-
"x-response-key": null
|
|
20775
|
+
"x-response-key": null,
|
|
20776
|
+
"x-title": "Revoke Access to a Device from a User Identity"
|
|
20583
20777
|
}
|
|
20584
20778
|
},
|
|
20585
20779
|
"/user_identities/update": {
|
|
@@ -20591,14 +20785,24 @@ var openapi_default = {
|
|
|
20591
20785
|
schema: {
|
|
20592
20786
|
properties: {
|
|
20593
20787
|
email_address: {
|
|
20788
|
+
description: "Unique email address for the user identity.",
|
|
20594
20789
|
format: "email",
|
|
20595
20790
|
nullable: true,
|
|
20596
20791
|
type: "string"
|
|
20597
20792
|
},
|
|
20598
20793
|
full_name: { minLength: 1, nullable: true, type: "string" },
|
|
20599
|
-
phone_number: {
|
|
20600
|
-
|
|
20794
|
+
phone_number: {
|
|
20795
|
+
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).",
|
|
20796
|
+
nullable: true,
|
|
20797
|
+
type: "string"
|
|
20798
|
+
},
|
|
20799
|
+
user_identity_id: {
|
|
20800
|
+
description: "ID of the user identity.",
|
|
20801
|
+
format: "uuid",
|
|
20802
|
+
type: "string"
|
|
20803
|
+
},
|
|
20601
20804
|
user_identity_key: {
|
|
20805
|
+
description: "Unique key for the user identity.",
|
|
20602
20806
|
minLength: 1,
|
|
20603
20807
|
nullable: true,
|
|
20604
20808
|
type: "string"
|
|
@@ -20644,14 +20848,24 @@ var openapi_default = {
|
|
|
20644
20848
|
schema: {
|
|
20645
20849
|
properties: {
|
|
20646
20850
|
email_address: {
|
|
20851
|
+
description: "Unique email address for the user identity.",
|
|
20647
20852
|
format: "email",
|
|
20648
20853
|
nullable: true,
|
|
20649
20854
|
type: "string"
|
|
20650
20855
|
},
|
|
20651
20856
|
full_name: { minLength: 1, nullable: true, type: "string" },
|
|
20652
|
-
phone_number: {
|
|
20653
|
-
|
|
20857
|
+
phone_number: {
|
|
20858
|
+
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).",
|
|
20859
|
+
nullable: true,
|
|
20860
|
+
type: "string"
|
|
20861
|
+
},
|
|
20862
|
+
user_identity_id: {
|
|
20863
|
+
description: "ID of the user identity.",
|
|
20864
|
+
format: "uuid",
|
|
20865
|
+
type: "string"
|
|
20866
|
+
},
|
|
20654
20867
|
user_identity_key: {
|
|
20868
|
+
description: "Unique key for the user identity.",
|
|
20655
20869
|
minLength: 1,
|
|
20656
20870
|
nullable: true,
|
|
20657
20871
|
type: "string"
|