@seamapi/types 1.604.0 → 1.606.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 +424 -17
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +626 -95
- package/dist/index.cjs +424 -17
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +19 -19
- package/lib/seam/connect/models/acs/metadata/hotek.d.ts +9 -9
- package/lib/seam/connect/models/acs/metadata/hotek.js +3 -2
- package/lib/seam/connect/models/acs/metadata/hotek.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/visionline.d.ts +2 -2
- package/lib/seam/connect/models/batch.d.ts +135 -135
- package/lib/seam/connect/models/customer/customer-data.d.ts +34 -0
- package/lib/seam/connect/models/customer/customer-data.js +5 -1
- package/lib/seam/connect/models/customer/customer-data.js.map +1 -1
- package/lib/seam/connect/models/customer/user-identity-resources.d.ts +39 -0
- package/lib/seam/connect/models/customer/user-identity-resources.js +15 -0
- package/lib/seam/connect/models/customer/user-identity-resources.js.map +1 -1
- package/lib/seam/connect/models/phones/phone-session.d.ts +78 -78
- package/lib/seam/connect/openapi.d.ts +415 -8
- package/lib/seam/connect/openapi.js +374 -14
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +142 -40
- package/lib/seam/connect/schemas.d.ts +1 -1
- package/lib/seam/connect/schemas.js +1 -1
- package/lib/seam/connect/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +1 -0
- package/src/lib/seam/connect/models/acs/metadata/hotek.ts +3 -2
- package/src/lib/seam/connect/models/customer/customer-data.ts +5 -0
- package/src/lib/seam/connect/models/customer/user-identity-resources.ts +18 -0
- package/src/lib/seam/connect/openapi.ts +396 -14
- package/src/lib/seam/connect/route-types.ts +150 -40
- package/src/lib/seam/connect/schemas.ts +1 -0
package/dist/connect.cjs
CHANGED
|
@@ -38,6 +38,7 @@ __export(schemas_exports, {
|
|
|
38
38
|
noise_threshold: () => noise_threshold,
|
|
39
39
|
pagination: () => pagination,
|
|
40
40
|
seam_event: () => seam_event,
|
|
41
|
+
staff_member_resource: () => staff_member_resource,
|
|
41
42
|
thermostat_daily_program: () => thermostat_daily_program,
|
|
42
43
|
thermostat_schedule: () => thermostat_schedule,
|
|
43
44
|
thermostat_weekly_program: () => thermostat_weekly_program,
|
|
@@ -2579,9 +2580,9 @@ var acs_entrance_dormakaba_community_metadata = zod.z.object({
|
|
|
2579
2580
|
);
|
|
2580
2581
|
var acs_entrance_hotek_metadata = zod.z.object({
|
|
2581
2582
|
room_number: zod.z.string().describe("Room number of the entrance."),
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
}).describe("Hotek-specific metadata associated with the entrance.");
|
|
2583
|
+
common_area_number: zod.z.string().describe("Display name of the entrance."),
|
|
2584
|
+
common_area_name: zod.z.string().describe("Display name of the entrance.")
|
|
2585
|
+
}).partial().describe("Hotek-specific metadata associated with the entrance.");
|
|
2585
2586
|
var acs_entrance_latch_metadata = zod.z.object({
|
|
2586
2587
|
accessibility_type: zod.z.string().describe("Accessibility type in the Latch access system."),
|
|
2587
2588
|
door_name: zod.z.string().describe("Name of the door in the Latch access system."),
|
|
@@ -5705,6 +5706,52 @@ var bridge_client_session = zod.z.object({
|
|
|
5705
5706
|
---
|
|
5706
5707
|
Represents a [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge) client session.
|
|
5707
5708
|
`);
|
|
5709
|
+
var base_user_identity_resource = zod.z.object({
|
|
5710
|
+
name: zod.z.string().describe("Your display name for this user identity resource."),
|
|
5711
|
+
email_address: zod.z.string().optional().describe("Email address associated with the user identity."),
|
|
5712
|
+
phone_number: zod.z.string().optional().describe("Phone number associated with the user identity.")
|
|
5713
|
+
});
|
|
5714
|
+
var guest_resource = base_user_identity_resource.extend({
|
|
5715
|
+
guest_key: zod.z.string().describe("Your unique identifier for the guest.")
|
|
5716
|
+
});
|
|
5717
|
+
var tenant_resource = base_user_identity_resource.extend({
|
|
5718
|
+
tenant_key: zod.z.string().describe("Your unique identifier for the tenant.")
|
|
5719
|
+
});
|
|
5720
|
+
var resident_resource = base_user_identity_resource.extend({
|
|
5721
|
+
resident_key: zod.z.string().describe("Your unique identifier for the resident.")
|
|
5722
|
+
});
|
|
5723
|
+
var user_resource = base_user_identity_resource.extend({
|
|
5724
|
+
user_key: zod.z.string().describe("Your unique identifier for the user.")
|
|
5725
|
+
});
|
|
5726
|
+
var staff_member_resource = base_user_identity_resource.extend({
|
|
5727
|
+
staff_member_key: zod.z.string().describe("Your unique identifier for the staff."),
|
|
5728
|
+
site_keys: zod.z.array(zod.z.string()).describe(
|
|
5729
|
+
"List of unique identifiers for the sites the staff member is associated with."
|
|
5730
|
+
)
|
|
5731
|
+
}).describe(`
|
|
5732
|
+
---
|
|
5733
|
+
route_path: /seam/customer/v1/staff_members
|
|
5734
|
+
---
|
|
5735
|
+
Represents a staff member for a specific customer.
|
|
5736
|
+
`);
|
|
5737
|
+
var user_identity_resource = base_user_identity_resource.extend({
|
|
5738
|
+
user_identity_key: zod.z.string().describe("Your unique identifier for the user identity.")
|
|
5739
|
+
});
|
|
5740
|
+
zod.z.union([
|
|
5741
|
+
guest_resource,
|
|
5742
|
+
tenant_resource,
|
|
5743
|
+
resident_resource,
|
|
5744
|
+
user_resource,
|
|
5745
|
+
user_identity_resource,
|
|
5746
|
+
staff_member_resource
|
|
5747
|
+
]);
|
|
5748
|
+
zod.z.union([
|
|
5749
|
+
zod.z.object({ guest_key: zod.z.string() }),
|
|
5750
|
+
zod.z.object({ tenant_key: zod.z.string() }),
|
|
5751
|
+
zod.z.object({ resident_key: zod.z.string() }),
|
|
5752
|
+
zod.z.object({ user_key: zod.z.string() }),
|
|
5753
|
+
zod.z.object({ user_identity_key: zod.z.string() })
|
|
5754
|
+
]);
|
|
5708
5755
|
var pagination = zod.z.object({
|
|
5709
5756
|
next_page_cursor: zod.z.string().base64().nullable().describe(
|
|
5710
5757
|
"Opaque value that can be used to select the next page of results via the `page_cursor` parameter."
|
|
@@ -8284,13 +8331,12 @@ var openapi_default = {
|
|
|
8284
8331
|
hotek_metadata: {
|
|
8285
8332
|
description: "Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
|
|
8286
8333
|
properties: {
|
|
8287
|
-
|
|
8334
|
+
common_area_name: {
|
|
8288
8335
|
description: "Display name of the entrance.",
|
|
8289
8336
|
type: "string"
|
|
8290
8337
|
},
|
|
8291
|
-
|
|
8292
|
-
description: "
|
|
8293
|
-
enum: ["common_area", "guest"],
|
|
8338
|
+
common_area_number: {
|
|
8339
|
+
description: "Display name of the entrance.",
|
|
8294
8340
|
type: "string"
|
|
8295
8341
|
},
|
|
8296
8342
|
room_number: {
|
|
@@ -8298,7 +8344,6 @@ var openapi_default = {
|
|
|
8298
8344
|
type: "string"
|
|
8299
8345
|
}
|
|
8300
8346
|
},
|
|
8301
|
-
required: ["room_number", "display_name", "door_type"],
|
|
8302
8347
|
type: "object"
|
|
8303
8348
|
},
|
|
8304
8349
|
latch_metadata: {
|
|
@@ -23713,13 +23758,12 @@ var openapi_default = {
|
|
|
23713
23758
|
hotek_metadata: {
|
|
23714
23759
|
description: "Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).",
|
|
23715
23760
|
properties: {
|
|
23716
|
-
|
|
23761
|
+
common_area_name: {
|
|
23717
23762
|
description: "Display name of the entrance.",
|
|
23718
23763
|
type: "string"
|
|
23719
23764
|
},
|
|
23720
|
-
|
|
23721
|
-
description: "
|
|
23722
|
-
enum: ["common_area", "guest"],
|
|
23765
|
+
common_area_number: {
|
|
23766
|
+
description: "Display name of the entrance.",
|
|
23723
23767
|
type: "string"
|
|
23724
23768
|
},
|
|
23725
23769
|
room_number: {
|
|
@@ -23727,11 +23771,6 @@ var openapi_default = {
|
|
|
23727
23771
|
type: "string"
|
|
23728
23772
|
}
|
|
23729
23773
|
},
|
|
23730
|
-
required: [
|
|
23731
|
-
"room_number",
|
|
23732
|
-
"display_name",
|
|
23733
|
-
"door_type"
|
|
23734
|
-
],
|
|
23735
23774
|
type: "object"
|
|
23736
23775
|
},
|
|
23737
23776
|
latch_metadata: {
|
|
@@ -24536,6 +24575,35 @@ var openapi_default = {
|
|
|
24536
24575
|
"x-draft": "Early access.",
|
|
24537
24576
|
"x-route-path": "/spaces"
|
|
24538
24577
|
},
|
|
24578
|
+
staff_member: {
|
|
24579
|
+
description: "Represents a staff member for a specific customer.",
|
|
24580
|
+
properties: {
|
|
24581
|
+
email_address: {
|
|
24582
|
+
description: "Email address associated with the user identity.",
|
|
24583
|
+
type: "string"
|
|
24584
|
+
},
|
|
24585
|
+
name: {
|
|
24586
|
+
description: "Your display name for this user identity resource.",
|
|
24587
|
+
type: "string"
|
|
24588
|
+
},
|
|
24589
|
+
phone_number: {
|
|
24590
|
+
description: "Phone number associated with the user identity.",
|
|
24591
|
+
type: "string"
|
|
24592
|
+
},
|
|
24593
|
+
site_keys: {
|
|
24594
|
+
description: "List of unique identifiers for the sites the staff member is associated with.",
|
|
24595
|
+
items: { type: "string" },
|
|
24596
|
+
type: "array"
|
|
24597
|
+
},
|
|
24598
|
+
staff_member_key: {
|
|
24599
|
+
description: "Your unique identifier for the staff.",
|
|
24600
|
+
type: "string"
|
|
24601
|
+
}
|
|
24602
|
+
},
|
|
24603
|
+
required: ["name", "staff_member_key", "site_keys"],
|
|
24604
|
+
type: "object",
|
|
24605
|
+
"x-route-path": "/seam/customer/v1/staff_members"
|
|
24606
|
+
},
|
|
24539
24607
|
thermostat_daily_program: {
|
|
24540
24608
|
description: "Represents a thermostat daily program, consisting of a set of periods, each of which has a starting time and the key that identifies the climate preset to apply at the starting time.",
|
|
24541
24609
|
properties: {
|
|
@@ -38805,6 +38873,116 @@ var openapi_default = {
|
|
|
38805
38873
|
"x-title": "List Compatible Credential Manager ACS Systems"
|
|
38806
38874
|
}
|
|
38807
38875
|
},
|
|
38876
|
+
"/acs/systems/report_devices": {
|
|
38877
|
+
post: {
|
|
38878
|
+
description: "Reports ACS system resources including encoders and entrances with their metadata.\n\nThis endpoint allows reporting of:\n- ACS encoders with removal status and encoder port metadata\n- ACS entrances with room number metadata",
|
|
38879
|
+
operationId: "acsSystemsReportDevicesPost",
|
|
38880
|
+
requestBody: {
|
|
38881
|
+
content: {
|
|
38882
|
+
"application/json": {
|
|
38883
|
+
schema: {
|
|
38884
|
+
properties: {
|
|
38885
|
+
acs_encoders: {
|
|
38886
|
+
default: [],
|
|
38887
|
+
description: "Array of ACS encoders to report",
|
|
38888
|
+
items: {
|
|
38889
|
+
properties: {
|
|
38890
|
+
hotek_metadata: {
|
|
38891
|
+
properties: {
|
|
38892
|
+
encoder_number: {
|
|
38893
|
+
description: "The encoder number determined by the USB port connection.",
|
|
38894
|
+
type: "string"
|
|
38895
|
+
}
|
|
38896
|
+
},
|
|
38897
|
+
required: ["encoder_number"],
|
|
38898
|
+
type: "object"
|
|
38899
|
+
},
|
|
38900
|
+
is_removed: {
|
|
38901
|
+
default: false,
|
|
38902
|
+
description: "Whether the encoder is removed",
|
|
38903
|
+
type: "boolean"
|
|
38904
|
+
}
|
|
38905
|
+
},
|
|
38906
|
+
required: ["hotek_metadata"],
|
|
38907
|
+
type: "object"
|
|
38908
|
+
},
|
|
38909
|
+
type: "array"
|
|
38910
|
+
},
|
|
38911
|
+
acs_entrances: {
|
|
38912
|
+
default: [],
|
|
38913
|
+
description: "Array of ACS entrances to report",
|
|
38914
|
+
items: {
|
|
38915
|
+
properties: {
|
|
38916
|
+
hotek_metadata: {
|
|
38917
|
+
description: "Hotek-specific metadata associated with the entrance.",
|
|
38918
|
+
properties: {
|
|
38919
|
+
common_area_name: {
|
|
38920
|
+
description: "The common area name",
|
|
38921
|
+
type: "string"
|
|
38922
|
+
},
|
|
38923
|
+
common_area_number: {
|
|
38924
|
+
description: "The room number identifier",
|
|
38925
|
+
type: "string"
|
|
38926
|
+
},
|
|
38927
|
+
room_number: {
|
|
38928
|
+
description: "The room number identifier",
|
|
38929
|
+
type: "string"
|
|
38930
|
+
}
|
|
38931
|
+
},
|
|
38932
|
+
type: "object"
|
|
38933
|
+
},
|
|
38934
|
+
is_removed: {
|
|
38935
|
+
default: false,
|
|
38936
|
+
description: "Whether the entrance is removed",
|
|
38937
|
+
type: "boolean"
|
|
38938
|
+
}
|
|
38939
|
+
},
|
|
38940
|
+
required: ["hotek_metadata"],
|
|
38941
|
+
type: "object"
|
|
38942
|
+
},
|
|
38943
|
+
type: "array"
|
|
38944
|
+
},
|
|
38945
|
+
acs_system_id: {
|
|
38946
|
+
description: "ID of the ACS system to report resources for",
|
|
38947
|
+
format: "uuid",
|
|
38948
|
+
type: "string"
|
|
38949
|
+
}
|
|
38950
|
+
},
|
|
38951
|
+
required: ["acs_system_id"],
|
|
38952
|
+
type: "object"
|
|
38953
|
+
}
|
|
38954
|
+
}
|
|
38955
|
+
}
|
|
38956
|
+
},
|
|
38957
|
+
responses: {
|
|
38958
|
+
200: {
|
|
38959
|
+
content: {
|
|
38960
|
+
"application/json": {
|
|
38961
|
+
schema: {
|
|
38962
|
+
properties: { ok: { type: "boolean" } },
|
|
38963
|
+
required: ["ok"],
|
|
38964
|
+
type: "object"
|
|
38965
|
+
}
|
|
38966
|
+
}
|
|
38967
|
+
},
|
|
38968
|
+
description: "OK"
|
|
38969
|
+
},
|
|
38970
|
+
400: { description: "Bad Request" },
|
|
38971
|
+
401: { description: "Unauthorized" }
|
|
38972
|
+
},
|
|
38973
|
+
security: [
|
|
38974
|
+
{ pat_with_workspace: [] },
|
|
38975
|
+
{ console_session_with_workspace: [] },
|
|
38976
|
+
{ api_key: [] }
|
|
38977
|
+
],
|
|
38978
|
+
summary: "/acs/systems/report_devices",
|
|
38979
|
+
tags: ["/acs"],
|
|
38980
|
+
"x-fern-sdk-group-name": ["acs", "systems"],
|
|
38981
|
+
"x-fern-sdk-method-name": "report_devices",
|
|
38982
|
+
"x-response-key": null,
|
|
38983
|
+
"x-title": "Report ACS Resources"
|
|
38984
|
+
}
|
|
38985
|
+
},
|
|
38808
38986
|
"/acs/users/add_to_access_group": {
|
|
38809
38987
|
post: {
|
|
38810
38988
|
description: "Adds a specified [access system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) to a specified [access group](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups).",
|
|
@@ -43628,6 +43806,43 @@ var openapi_default = {
|
|
|
43628
43806
|
},
|
|
43629
43807
|
type: "array"
|
|
43630
43808
|
},
|
|
43809
|
+
staff_members: {
|
|
43810
|
+
description: "List of staff members.",
|
|
43811
|
+
items: {
|
|
43812
|
+
description: "Represents a staff member for a specific customer.",
|
|
43813
|
+
properties: {
|
|
43814
|
+
email_address: {
|
|
43815
|
+
description: "Email address associated with the user identity.",
|
|
43816
|
+
type: "string"
|
|
43817
|
+
},
|
|
43818
|
+
name: {
|
|
43819
|
+
description: "Your display name for this user identity resource.",
|
|
43820
|
+
type: "string"
|
|
43821
|
+
},
|
|
43822
|
+
phone_number: {
|
|
43823
|
+
description: "Phone number associated with the user identity.",
|
|
43824
|
+
type: "string"
|
|
43825
|
+
},
|
|
43826
|
+
site_keys: {
|
|
43827
|
+
description: "List of unique identifiers for the sites the staff member is associated with.",
|
|
43828
|
+
items: { type: "string" },
|
|
43829
|
+
type: "array"
|
|
43830
|
+
},
|
|
43831
|
+
staff_member_key: {
|
|
43832
|
+
description: "Your unique identifier for the staff.",
|
|
43833
|
+
type: "string"
|
|
43834
|
+
}
|
|
43835
|
+
},
|
|
43836
|
+
required: [
|
|
43837
|
+
"name",
|
|
43838
|
+
"staff_member_key",
|
|
43839
|
+
"site_keys"
|
|
43840
|
+
],
|
|
43841
|
+
type: "object",
|
|
43842
|
+
"x-route-path": "/seam/customer/v1/staff_members"
|
|
43843
|
+
},
|
|
43844
|
+
type: "array"
|
|
43845
|
+
},
|
|
43631
43846
|
tenants: {
|
|
43632
43847
|
description: "List of tenants.",
|
|
43633
43848
|
items: {
|
|
@@ -44607,6 +44822,39 @@ var openapi_default = {
|
|
|
44607
44822
|
},
|
|
44608
44823
|
type: "array"
|
|
44609
44824
|
},
|
|
44825
|
+
staff_members: {
|
|
44826
|
+
description: "List of staff members.",
|
|
44827
|
+
items: {
|
|
44828
|
+
description: "Represents a staff member for a specific customer.",
|
|
44829
|
+
properties: {
|
|
44830
|
+
email_address: {
|
|
44831
|
+
description: "Email address associated with the user identity.",
|
|
44832
|
+
type: "string"
|
|
44833
|
+
},
|
|
44834
|
+
name: {
|
|
44835
|
+
description: "Your display name for this user identity resource.",
|
|
44836
|
+
type: "string"
|
|
44837
|
+
},
|
|
44838
|
+
phone_number: {
|
|
44839
|
+
description: "Phone number associated with the user identity.",
|
|
44840
|
+
type: "string"
|
|
44841
|
+
},
|
|
44842
|
+
site_keys: {
|
|
44843
|
+
description: "List of unique identifiers for the sites the staff member is associated with.",
|
|
44844
|
+
items: { type: "string" },
|
|
44845
|
+
type: "array"
|
|
44846
|
+
},
|
|
44847
|
+
staff_member_key: {
|
|
44848
|
+
description: "Your unique identifier for the staff.",
|
|
44849
|
+
type: "string"
|
|
44850
|
+
}
|
|
44851
|
+
},
|
|
44852
|
+
required: ["name", "staff_member_key", "site_keys"],
|
|
44853
|
+
type: "object",
|
|
44854
|
+
"x-route-path": "/seam/customer/v1/staff_members"
|
|
44855
|
+
},
|
|
44856
|
+
type: "array"
|
|
44857
|
+
},
|
|
44610
44858
|
tenants: {
|
|
44611
44859
|
description: "List of tenants.",
|
|
44612
44860
|
items: {
|
|
@@ -55246,6 +55494,165 @@ var openapi_default = {
|
|
|
55246
55494
|
"x-title": "List Spaces"
|
|
55247
55495
|
}
|
|
55248
55496
|
},
|
|
55497
|
+
"/seam/customer/v1/staff_members/list": {
|
|
55498
|
+
get: {
|
|
55499
|
+
description: "Returns a list of staff members for a specific customer. This endpoint is designed for customer portals and supports filtering by space_key.\nProvided space_key or space_id can be a child space, in which case the staff members for the parent space will be returned.",
|
|
55500
|
+
operationId: "seamCustomerV1StaffMembersListGet",
|
|
55501
|
+
parameters: [
|
|
55502
|
+
{
|
|
55503
|
+
in: "query",
|
|
55504
|
+
name: "space_key",
|
|
55505
|
+
schema: {
|
|
55506
|
+
description: "Filter staff members by space key.",
|
|
55507
|
+
type: "string"
|
|
55508
|
+
}
|
|
55509
|
+
},
|
|
55510
|
+
{
|
|
55511
|
+
in: "query",
|
|
55512
|
+
name: "space_id",
|
|
55513
|
+
schema: {
|
|
55514
|
+
description: "Filter staff members by space ID (UUID).",
|
|
55515
|
+
format: "uuid",
|
|
55516
|
+
type: "string"
|
|
55517
|
+
}
|
|
55518
|
+
},
|
|
55519
|
+
{
|
|
55520
|
+
in: "query",
|
|
55521
|
+
name: "limit",
|
|
55522
|
+
schema: {
|
|
55523
|
+
default: 500,
|
|
55524
|
+
description: "Maximum number of records to return per page.",
|
|
55525
|
+
exclusiveMinimum: true,
|
|
55526
|
+
minimum: 0,
|
|
55527
|
+
type: "integer"
|
|
55528
|
+
}
|
|
55529
|
+
},
|
|
55530
|
+
{
|
|
55531
|
+
in: "query",
|
|
55532
|
+
name: "created_before",
|
|
55533
|
+
schema: {
|
|
55534
|
+
description: "Timestamp by which to limit returned staff members. Returns staff members created before this timestamp.",
|
|
55535
|
+
format: "date-time",
|
|
55536
|
+
type: "string"
|
|
55537
|
+
}
|
|
55538
|
+
},
|
|
55539
|
+
{
|
|
55540
|
+
in: "query",
|
|
55541
|
+
name: "page_cursor",
|
|
55542
|
+
schema: {
|
|
55543
|
+
description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
55544
|
+
nullable: true,
|
|
55545
|
+
type: "string"
|
|
55546
|
+
}
|
|
55547
|
+
}
|
|
55548
|
+
],
|
|
55549
|
+
responses: {
|
|
55550
|
+
200: {
|
|
55551
|
+
content: {
|
|
55552
|
+
"application/json": {
|
|
55553
|
+
schema: {
|
|
55554
|
+
properties: {
|
|
55555
|
+
ok: { type: "boolean" },
|
|
55556
|
+
pagination: { $ref: "#/components/schemas/pagination" },
|
|
55557
|
+
staff_members: {
|
|
55558
|
+
items: { $ref: "#/components/schemas/staff_member" },
|
|
55559
|
+
type: "array"
|
|
55560
|
+
}
|
|
55561
|
+
},
|
|
55562
|
+
required: ["staff_members", "pagination", "ok"],
|
|
55563
|
+
type: "object"
|
|
55564
|
+
}
|
|
55565
|
+
}
|
|
55566
|
+
},
|
|
55567
|
+
description: "OK"
|
|
55568
|
+
},
|
|
55569
|
+
400: { description: "Bad Request" },
|
|
55570
|
+
401: { description: "Unauthorized" }
|
|
55571
|
+
},
|
|
55572
|
+
security: [{ client_session_with_customer: [] }],
|
|
55573
|
+
summary: "/seam/customer/v1/staff_members/list",
|
|
55574
|
+
tags: [],
|
|
55575
|
+
"x-fern-sdk-group-name": ["seam", "customer", "v1", "staff_members"],
|
|
55576
|
+
"x-fern-sdk-method-name": "list",
|
|
55577
|
+
"x-fern-sdk-return-value": "staff_members",
|
|
55578
|
+
"x-response-key": "staff_members",
|
|
55579
|
+
"x-title": "List Staff Members for Customer Space",
|
|
55580
|
+
"x-undocumented": "Internal endpoint for customer portals."
|
|
55581
|
+
},
|
|
55582
|
+
post: {
|
|
55583
|
+
description: "Returns a list of staff members for a specific customer. This endpoint is designed for customer portals and supports filtering by space_key.\nProvided space_key or space_id can be a child space, in which case the staff members for the parent space will be returned.",
|
|
55584
|
+
operationId: "seamCustomerV1StaffMembersListPost",
|
|
55585
|
+
requestBody: {
|
|
55586
|
+
content: {
|
|
55587
|
+
"application/json": {
|
|
55588
|
+
schema: {
|
|
55589
|
+
properties: {
|
|
55590
|
+
created_before: {
|
|
55591
|
+
description: "Timestamp by which to limit returned staff members. Returns staff members created before this timestamp.",
|
|
55592
|
+
format: "date-time",
|
|
55593
|
+
type: "string"
|
|
55594
|
+
},
|
|
55595
|
+
limit: {
|
|
55596
|
+
default: 500,
|
|
55597
|
+
description: "Maximum number of records to return per page.",
|
|
55598
|
+
exclusiveMinimum: true,
|
|
55599
|
+
minimum: 0,
|
|
55600
|
+
type: "integer"
|
|
55601
|
+
},
|
|
55602
|
+
page_cursor: {
|
|
55603
|
+
description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
|
|
55604
|
+
nullable: true,
|
|
55605
|
+
type: "string"
|
|
55606
|
+
},
|
|
55607
|
+
space_id: {
|
|
55608
|
+
description: "Filter staff members by space ID (UUID).",
|
|
55609
|
+
format: "uuid",
|
|
55610
|
+
type: "string"
|
|
55611
|
+
},
|
|
55612
|
+
space_key: {
|
|
55613
|
+
description: "Filter staff members by space key.",
|
|
55614
|
+
type: "string"
|
|
55615
|
+
}
|
|
55616
|
+
},
|
|
55617
|
+
type: "object"
|
|
55618
|
+
}
|
|
55619
|
+
}
|
|
55620
|
+
}
|
|
55621
|
+
},
|
|
55622
|
+
responses: {
|
|
55623
|
+
200: {
|
|
55624
|
+
content: {
|
|
55625
|
+
"application/json": {
|
|
55626
|
+
schema: {
|
|
55627
|
+
properties: {
|
|
55628
|
+
ok: { type: "boolean" },
|
|
55629
|
+
pagination: { $ref: "#/components/schemas/pagination" },
|
|
55630
|
+
staff_members: {
|
|
55631
|
+
items: { $ref: "#/components/schemas/staff_member" },
|
|
55632
|
+
type: "array"
|
|
55633
|
+
}
|
|
55634
|
+
},
|
|
55635
|
+
required: ["staff_members", "pagination", "ok"],
|
|
55636
|
+
type: "object"
|
|
55637
|
+
}
|
|
55638
|
+
}
|
|
55639
|
+
},
|
|
55640
|
+
description: "OK"
|
|
55641
|
+
},
|
|
55642
|
+
400: { description: "Bad Request" },
|
|
55643
|
+
401: { description: "Unauthorized" }
|
|
55644
|
+
},
|
|
55645
|
+
security: [{ client_session_with_customer: [] }],
|
|
55646
|
+
summary: "/seam/customer/v1/staff_members/list",
|
|
55647
|
+
tags: [],
|
|
55648
|
+
"x-fern-sdk-group-name": ["seam", "customer", "v1", "staff_members"],
|
|
55649
|
+
"x-fern-sdk-method-name": "list",
|
|
55650
|
+
"x-fern-sdk-return-value": "staff_members",
|
|
55651
|
+
"x-response-key": "staff_members",
|
|
55652
|
+
"x-title": "List Staff Members for Customer Space",
|
|
55653
|
+
"x-undocumented": "Internal endpoint for customer portals."
|
|
55654
|
+
}
|
|
55655
|
+
},
|
|
55249
55656
|
"/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]": {
|
|
55250
55657
|
post: {
|
|
55251
55658
|
description: "Receives webhook events from external connector APIs and processes them into partner resources.",
|