@seamapi/types 1.738.0 → 1.740.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 +1391 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +2600 -532
- package/dist/index.cjs +1391 -3
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +62 -0
- package/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.d.ts +53 -0
- package/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.js +19 -0
- package/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +62 -0
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +53 -0
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.js +19 -0
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +172 -0
- package/lib/seam/connect/openapi.d.ts +1664 -241
- package/lib/seam/connect/openapi.js +1362 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +349 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.ts +26 -0
- package/src/lib/seam/connect/models/acs/acs-users/pending-mutations.ts +26 -0
- package/src/lib/seam/connect/openapi.ts +1386 -0
- package/src/lib/seam/connect/route-types.ts +429 -0
package/dist/index.cjs
CHANGED
|
@@ -2906,6 +2906,17 @@ var updating_entrance_membership = common_pending_mutation3.extend({
|
|
|
2906
2906
|
}).describe(
|
|
2907
2907
|
"Seam is in the process of pushing an entrance membership update to the integrated access system."
|
|
2908
2908
|
);
|
|
2909
|
+
var deferring_user_membership_update = common_pending_mutation3.extend({
|
|
2910
|
+
mutation_code: zod.z.literal("deferring_user_membership_update").describe(
|
|
2911
|
+
"Mutation code to indicate that a scheduled user membership change is pending for this access group."
|
|
2912
|
+
),
|
|
2913
|
+
acs_user_id: zod.z.string().uuid().describe("ID of the user involved in the scheduled change."),
|
|
2914
|
+
variant: zod.z.enum(["adding", "removing"]).describe(
|
|
2915
|
+
"Whether the user is scheduled to be added to or removed from this access group."
|
|
2916
|
+
)
|
|
2917
|
+
}).describe(
|
|
2918
|
+
"A scheduled user membership change is pending for this access group."
|
|
2919
|
+
);
|
|
2909
2920
|
var acs_access_group_pending_mutations = zod.z.discriminatedUnion(
|
|
2910
2921
|
"mutation_code",
|
|
2911
2922
|
[
|
|
@@ -2914,7 +2925,8 @@ var acs_access_group_pending_mutations = zod.z.discriminatedUnion(
|
|
|
2914
2925
|
updating_group_information,
|
|
2915
2926
|
updating_access_schedule,
|
|
2916
2927
|
updating_user_membership,
|
|
2917
|
-
updating_entrance_membership
|
|
2928
|
+
updating_entrance_membership,
|
|
2929
|
+
deferring_user_membership_update
|
|
2918
2930
|
]
|
|
2919
2931
|
);
|
|
2920
2932
|
zod.z.object({
|
|
@@ -2923,7 +2935,8 @@ zod.z.object({
|
|
|
2923
2935
|
updating_name: updating_group_information.optional().nullable(),
|
|
2924
2936
|
updating_access_schedule: updating_access_schedule.optional().nullable(),
|
|
2925
2937
|
updating_user_membership: zod.z.record(zod.z.string().uuid(), updating_user_membership).optional().nullable(),
|
|
2926
|
-
updating_entrance_membership: zod.z.record(zod.z.string().uuid(), updating_entrance_membership).optional().nullable()
|
|
2938
|
+
updating_entrance_membership: zod.z.record(zod.z.string().uuid(), updating_entrance_membership).optional().nullable(),
|
|
2939
|
+
deferring_user_membership_update: zod.z.record(zod.z.string().uuid(), deferring_user_membership_update).optional().nullable()
|
|
2927
2940
|
});
|
|
2928
2941
|
|
|
2929
2942
|
// src/lib/seam/connect/models/acs/acs-access-group.ts
|
|
@@ -3784,6 +3797,17 @@ var updating_group_membership_mutation = common_pending_mutation4.extend({
|
|
|
3784
3797
|
}).describe(
|
|
3785
3798
|
"Seam is in the process of pushing an access group membership update to the integrated access system."
|
|
3786
3799
|
);
|
|
3800
|
+
var deferring_group_membership_update_mutation = common_pending_mutation4.extend({
|
|
3801
|
+
mutation_code: zod.z.literal("deferring_group_membership_update").describe(
|
|
3802
|
+
"Mutation code to indicate that a scheduled access group membership change is pending for this user."
|
|
3803
|
+
),
|
|
3804
|
+
acs_access_group_id: zod.z.string().uuid().describe("ID of the access group involved in the scheduled change."),
|
|
3805
|
+
variant: zod.z.enum(["adding", "removing"]).describe(
|
|
3806
|
+
"Whether the user is scheduled to be added to or removed from the access group."
|
|
3807
|
+
)
|
|
3808
|
+
}).describe(
|
|
3809
|
+
"A scheduled access group membership change is pending for this user."
|
|
3810
|
+
);
|
|
3787
3811
|
var acs_user_pending_mutations = zod.z.discriminatedUnion(
|
|
3788
3812
|
"mutation_code",
|
|
3789
3813
|
[
|
|
@@ -3793,7 +3817,8 @@ var acs_user_pending_mutations = zod.z.discriminatedUnion(
|
|
|
3793
3817
|
updating_user_information_mutation,
|
|
3794
3818
|
updating_access_schedule_mutation,
|
|
3795
3819
|
updating_suspension_state_mutation,
|
|
3796
|
-
updating_group_membership_mutation
|
|
3820
|
+
updating_group_membership_mutation,
|
|
3821
|
+
deferring_group_membership_update_mutation
|
|
3797
3822
|
]
|
|
3798
3823
|
);
|
|
3799
3824
|
zod.z.object({
|
|
@@ -3802,6 +3827,7 @@ zod.z.object({
|
|
|
3802
3827
|
deferring_creation: deferring_creation.optional().nullable(),
|
|
3803
3828
|
updating_access_schedule: updating_access_schedule_mutation.optional().nullable(),
|
|
3804
3829
|
updating_group_membership: zod.z.record(zod.z.string().uuid(), updating_group_membership_mutation).optional().nullable(),
|
|
3830
|
+
deferring_group_membership_update: zod.z.record(zod.z.string().uuid(), deferring_group_membership_update_mutation).optional().nullable(),
|
|
3805
3831
|
updating_suspension_state: updating_suspension_state_mutation.optional().nullable(),
|
|
3806
3832
|
"updating_user_information.full_name": common_pending_mutation4.extend({
|
|
3807
3833
|
mutation_code: zod.z.literal("updating_user_information"),
|
|
@@ -9169,6 +9195,43 @@ var openapi_default = {
|
|
|
9169
9195
|
"to"
|
|
9170
9196
|
],
|
|
9171
9197
|
type: "object"
|
|
9198
|
+
},
|
|
9199
|
+
{
|
|
9200
|
+
description: "A scheduled user membership change is pending for this access group.",
|
|
9201
|
+
properties: {
|
|
9202
|
+
acs_user_id: {
|
|
9203
|
+
description: "ID of the user involved in the scheduled change.",
|
|
9204
|
+
format: "uuid",
|
|
9205
|
+
type: "string"
|
|
9206
|
+
},
|
|
9207
|
+
created_at: {
|
|
9208
|
+
description: "Date and time at which the mutation was created.",
|
|
9209
|
+
format: "date-time",
|
|
9210
|
+
type: "string"
|
|
9211
|
+
},
|
|
9212
|
+
message: {
|
|
9213
|
+
description: "Detailed description of the mutation.",
|
|
9214
|
+
type: "string"
|
|
9215
|
+
},
|
|
9216
|
+
mutation_code: {
|
|
9217
|
+
description: "Mutation code to indicate that a scheduled user membership change is pending for this access group.",
|
|
9218
|
+
enum: ["deferring_user_membership_update"],
|
|
9219
|
+
type: "string"
|
|
9220
|
+
},
|
|
9221
|
+
variant: {
|
|
9222
|
+
description: "Whether the user is scheduled to be added to or removed from this access group.",
|
|
9223
|
+
enum: ["adding", "removing"],
|
|
9224
|
+
type: "string"
|
|
9225
|
+
}
|
|
9226
|
+
},
|
|
9227
|
+
required: [
|
|
9228
|
+
"created_at",
|
|
9229
|
+
"message",
|
|
9230
|
+
"mutation_code",
|
|
9231
|
+
"acs_user_id",
|
|
9232
|
+
"variant"
|
|
9233
|
+
],
|
|
9234
|
+
type: "object"
|
|
9172
9235
|
}
|
|
9173
9236
|
]
|
|
9174
9237
|
},
|
|
@@ -10934,6 +10997,43 @@ var openapi_default = {
|
|
|
10934
10997
|
"to"
|
|
10935
10998
|
],
|
|
10936
10999
|
type: "object"
|
|
11000
|
+
},
|
|
11001
|
+
{
|
|
11002
|
+
description: "A scheduled access group membership change is pending for this user.",
|
|
11003
|
+
properties: {
|
|
11004
|
+
acs_access_group_id: {
|
|
11005
|
+
description: "ID of the access group involved in the scheduled change.",
|
|
11006
|
+
format: "uuid",
|
|
11007
|
+
type: "string"
|
|
11008
|
+
},
|
|
11009
|
+
created_at: {
|
|
11010
|
+
description: "Date and time at which the mutation was created.",
|
|
11011
|
+
format: "date-time",
|
|
11012
|
+
type: "string"
|
|
11013
|
+
},
|
|
11014
|
+
message: {
|
|
11015
|
+
description: "Detailed description of the mutation.",
|
|
11016
|
+
type: "string"
|
|
11017
|
+
},
|
|
11018
|
+
mutation_code: {
|
|
11019
|
+
description: "Mutation code to indicate that a scheduled access group membership change is pending for this user.",
|
|
11020
|
+
enum: ["deferring_group_membership_update"],
|
|
11021
|
+
type: "string"
|
|
11022
|
+
},
|
|
11023
|
+
variant: {
|
|
11024
|
+
description: "Whether the user is scheduled to be added to or removed from the access group.",
|
|
11025
|
+
enum: ["adding", "removing"],
|
|
11026
|
+
type: "string"
|
|
11027
|
+
}
|
|
11028
|
+
},
|
|
11029
|
+
required: [
|
|
11030
|
+
"created_at",
|
|
11031
|
+
"message",
|
|
11032
|
+
"mutation_code",
|
|
11033
|
+
"acs_access_group_id",
|
|
11034
|
+
"variant"
|
|
11035
|
+
],
|
|
11036
|
+
type: "object"
|
|
10937
11037
|
}
|
|
10938
11038
|
]
|
|
10939
11039
|
},
|
|
@@ -30834,6 +30934,43 @@ var openapi_default = {
|
|
|
30834
30934
|
"to"
|
|
30835
30935
|
],
|
|
30836
30936
|
type: "object"
|
|
30937
|
+
},
|
|
30938
|
+
{
|
|
30939
|
+
description: "A scheduled user membership change is pending for this access group.",
|
|
30940
|
+
properties: {
|
|
30941
|
+
acs_user_id: {
|
|
30942
|
+
description: "ID of the user involved in the scheduled change.",
|
|
30943
|
+
format: "uuid",
|
|
30944
|
+
type: "string"
|
|
30945
|
+
},
|
|
30946
|
+
created_at: {
|
|
30947
|
+
description: "Date and time at which the mutation was created.",
|
|
30948
|
+
format: "date-time",
|
|
30949
|
+
type: "string"
|
|
30950
|
+
},
|
|
30951
|
+
message: {
|
|
30952
|
+
description: "Detailed description of the mutation.",
|
|
30953
|
+
type: "string"
|
|
30954
|
+
},
|
|
30955
|
+
mutation_code: {
|
|
30956
|
+
description: "Mutation code to indicate that a scheduled user membership change is pending for this access group.",
|
|
30957
|
+
enum: ["deferring_user_membership_update"],
|
|
30958
|
+
type: "string"
|
|
30959
|
+
},
|
|
30960
|
+
variant: {
|
|
30961
|
+
description: "Whether the user is scheduled to be added to or removed from this access group.",
|
|
30962
|
+
enum: ["adding", "removing"],
|
|
30963
|
+
type: "string"
|
|
30964
|
+
}
|
|
30965
|
+
},
|
|
30966
|
+
required: [
|
|
30967
|
+
"created_at",
|
|
30968
|
+
"message",
|
|
30969
|
+
"mutation_code",
|
|
30970
|
+
"acs_user_id",
|
|
30971
|
+
"variant"
|
|
30972
|
+
],
|
|
30973
|
+
type: "object"
|
|
30837
30974
|
}
|
|
30838
30975
|
]
|
|
30839
30976
|
},
|
|
@@ -31799,6 +31936,43 @@ var openapi_default = {
|
|
|
31799
31936
|
"to"
|
|
31800
31937
|
],
|
|
31801
31938
|
type: "object"
|
|
31939
|
+
},
|
|
31940
|
+
{
|
|
31941
|
+
description: "A scheduled access group membership change is pending for this user.",
|
|
31942
|
+
properties: {
|
|
31943
|
+
acs_access_group_id: {
|
|
31944
|
+
description: "ID of the access group involved in the scheduled change.",
|
|
31945
|
+
format: "uuid",
|
|
31946
|
+
type: "string"
|
|
31947
|
+
},
|
|
31948
|
+
created_at: {
|
|
31949
|
+
description: "Date and time at which the mutation was created.",
|
|
31950
|
+
format: "date-time",
|
|
31951
|
+
type: "string"
|
|
31952
|
+
},
|
|
31953
|
+
message: {
|
|
31954
|
+
description: "Detailed description of the mutation.",
|
|
31955
|
+
type: "string"
|
|
31956
|
+
},
|
|
31957
|
+
mutation_code: {
|
|
31958
|
+
description: "Mutation code to indicate that a scheduled access group membership change is pending for this user.",
|
|
31959
|
+
enum: ["deferring_group_membership_update"],
|
|
31960
|
+
type: "string"
|
|
31961
|
+
},
|
|
31962
|
+
variant: {
|
|
31963
|
+
description: "Whether the user is scheduled to be added to or removed from the access group.",
|
|
31964
|
+
enum: ["adding", "removing"],
|
|
31965
|
+
type: "string"
|
|
31966
|
+
}
|
|
31967
|
+
},
|
|
31968
|
+
required: [
|
|
31969
|
+
"created_at",
|
|
31970
|
+
"message",
|
|
31971
|
+
"mutation_code",
|
|
31972
|
+
"acs_access_group_id",
|
|
31973
|
+
"variant"
|
|
31974
|
+
],
|
|
31975
|
+
type: "object"
|
|
31802
31976
|
}
|
|
31803
31977
|
]
|
|
31804
31978
|
},
|
|
@@ -64176,6 +64350,1220 @@ var openapi_default = {
|
|
|
64176
64350
|
"x-undocumented": "Internal endpoint for Console."
|
|
64177
64351
|
}
|
|
64178
64352
|
},
|
|
64353
|
+
"/seam/customer/v1/customers/automations/get": {
|
|
64354
|
+
get: {
|
|
64355
|
+
description: "Gets the automation configuration for a specific customer.\nReturns the merged configuration (customer overrides on top of workspace defaults).",
|
|
64356
|
+
operationId: "seamCustomerV1CustomersAutomationsGetGet",
|
|
64357
|
+
parameters: [
|
|
64358
|
+
{
|
|
64359
|
+
in: "query",
|
|
64360
|
+
name: "customer_key",
|
|
64361
|
+
required: true,
|
|
64362
|
+
schema: { description: "Key of the customer.", type: "string" }
|
|
64363
|
+
}
|
|
64364
|
+
],
|
|
64365
|
+
responses: {
|
|
64366
|
+
200: {
|
|
64367
|
+
content: {
|
|
64368
|
+
"application/json": {
|
|
64369
|
+
schema: {
|
|
64370
|
+
properties: {
|
|
64371
|
+
automation: {
|
|
64372
|
+
properties: {
|
|
64373
|
+
access_rules: {
|
|
64374
|
+
properties: {
|
|
64375
|
+
reservation_created: {
|
|
64376
|
+
properties: {
|
|
64377
|
+
config: {
|
|
64378
|
+
properties: {
|
|
64379
|
+
access_methods: {
|
|
64380
|
+
items: {
|
|
64381
|
+
enum: ["card", "mobile_key", "code"],
|
|
64382
|
+
type: "string"
|
|
64383
|
+
},
|
|
64384
|
+
minItems: 1,
|
|
64385
|
+
type: "array"
|
|
64386
|
+
},
|
|
64387
|
+
card_count_on_reservation_create: {
|
|
64388
|
+
minimum: 0,
|
|
64389
|
+
type: "integer"
|
|
64390
|
+
},
|
|
64391
|
+
code_count_on_reservation_create: {
|
|
64392
|
+
minimum: 0,
|
|
64393
|
+
type: "integer"
|
|
64394
|
+
},
|
|
64395
|
+
instant_key_max_use_count: {
|
|
64396
|
+
minimum: 1,
|
|
64397
|
+
type: "integer"
|
|
64398
|
+
},
|
|
64399
|
+
method_issuance_strategy: {
|
|
64400
|
+
enum: [
|
|
64401
|
+
"first_available",
|
|
64402
|
+
"first_two_available",
|
|
64403
|
+
"all_available"
|
|
64404
|
+
],
|
|
64405
|
+
type: "string"
|
|
64406
|
+
}
|
|
64407
|
+
},
|
|
64408
|
+
required: [
|
|
64409
|
+
"access_methods",
|
|
64410
|
+
"method_issuance_strategy"
|
|
64411
|
+
],
|
|
64412
|
+
type: "object"
|
|
64413
|
+
},
|
|
64414
|
+
rule: {
|
|
64415
|
+
enum: ["reservation_created"],
|
|
64416
|
+
type: "string"
|
|
64417
|
+
}
|
|
64418
|
+
},
|
|
64419
|
+
required: ["rule", "config"],
|
|
64420
|
+
type: "object"
|
|
64421
|
+
},
|
|
64422
|
+
reservation_deleted: {
|
|
64423
|
+
properties: {
|
|
64424
|
+
config: {
|
|
64425
|
+
$ref: "#/components/schemas/access_code"
|
|
64426
|
+
},
|
|
64427
|
+
rule: {
|
|
64428
|
+
enum: ["reservation_deleted"],
|
|
64429
|
+
type: "string"
|
|
64430
|
+
}
|
|
64431
|
+
},
|
|
64432
|
+
required: ["rule"],
|
|
64433
|
+
type: "object"
|
|
64434
|
+
},
|
|
64435
|
+
reservation_spaces_updated: {
|
|
64436
|
+
properties: {
|
|
64437
|
+
config: {
|
|
64438
|
+
$ref: "#/components/schemas/access_code"
|
|
64439
|
+
},
|
|
64440
|
+
rule: {
|
|
64441
|
+
enum: ["reservation_spaces_updated"],
|
|
64442
|
+
type: "string"
|
|
64443
|
+
}
|
|
64444
|
+
},
|
|
64445
|
+
required: ["rule"],
|
|
64446
|
+
type: "object"
|
|
64447
|
+
},
|
|
64448
|
+
reservation_time_updated: {
|
|
64449
|
+
properties: {
|
|
64450
|
+
config: {
|
|
64451
|
+
$ref: "#/components/schemas/access_code"
|
|
64452
|
+
},
|
|
64453
|
+
rule: {
|
|
64454
|
+
enum: ["reservation_time_updated"],
|
|
64455
|
+
type: "string"
|
|
64456
|
+
}
|
|
64457
|
+
},
|
|
64458
|
+
required: ["rule"],
|
|
64459
|
+
type: "object"
|
|
64460
|
+
},
|
|
64461
|
+
space_name_updated: {
|
|
64462
|
+
properties: {
|
|
64463
|
+
config: {
|
|
64464
|
+
$ref: "#/components/schemas/access_code"
|
|
64465
|
+
},
|
|
64466
|
+
rule: {
|
|
64467
|
+
enum: ["space_name_updated"],
|
|
64468
|
+
type: "string"
|
|
64469
|
+
}
|
|
64470
|
+
},
|
|
64471
|
+
required: ["rule"],
|
|
64472
|
+
type: "object"
|
|
64473
|
+
},
|
|
64474
|
+
staff_member_created: {
|
|
64475
|
+
properties: {
|
|
64476
|
+
config: {
|
|
64477
|
+
$ref: "#/components/schemas/access_code"
|
|
64478
|
+
},
|
|
64479
|
+
rule: {
|
|
64480
|
+
enum: ["staff_member_created"],
|
|
64481
|
+
type: "string"
|
|
64482
|
+
}
|
|
64483
|
+
},
|
|
64484
|
+
required: ["rule", "config"],
|
|
64485
|
+
type: "object"
|
|
64486
|
+
},
|
|
64487
|
+
staff_member_name_updated: {
|
|
64488
|
+
properties: {
|
|
64489
|
+
config: {
|
|
64490
|
+
$ref: "#/components/schemas/access_code"
|
|
64491
|
+
},
|
|
64492
|
+
rule: {
|
|
64493
|
+
enum: ["staff_member_name_updated"],
|
|
64494
|
+
type: "string"
|
|
64495
|
+
}
|
|
64496
|
+
},
|
|
64497
|
+
required: ["rule"],
|
|
64498
|
+
type: "object"
|
|
64499
|
+
},
|
|
64500
|
+
user_identity_name_updated: {
|
|
64501
|
+
properties: {
|
|
64502
|
+
config: {
|
|
64503
|
+
$ref: "#/components/schemas/access_code"
|
|
64504
|
+
},
|
|
64505
|
+
rule: {
|
|
64506
|
+
enum: ["user_identity_name_updated"],
|
|
64507
|
+
type: "string"
|
|
64508
|
+
}
|
|
64509
|
+
},
|
|
64510
|
+
required: ["rule"],
|
|
64511
|
+
type: "object"
|
|
64512
|
+
}
|
|
64513
|
+
},
|
|
64514
|
+
type: "object"
|
|
64515
|
+
},
|
|
64516
|
+
climate_rules: {
|
|
64517
|
+
properties: {
|
|
64518
|
+
rules: {
|
|
64519
|
+
properties: {
|
|
64520
|
+
reservation_created: {
|
|
64521
|
+
properties: {
|
|
64522
|
+
automated_occupied_preset: {
|
|
64523
|
+
properties: {
|
|
64524
|
+
cooling_set_point_celsius: {
|
|
64525
|
+
format: "float",
|
|
64526
|
+
type: "number"
|
|
64527
|
+
},
|
|
64528
|
+
cooling_set_point_fahrenheit: {
|
|
64529
|
+
format: "float",
|
|
64530
|
+
type: "number"
|
|
64531
|
+
},
|
|
64532
|
+
fan_mode: {
|
|
64533
|
+
enum: ["on", "auto", "circulate"],
|
|
64534
|
+
type: "string"
|
|
64535
|
+
},
|
|
64536
|
+
heating_set_point_celsius: {
|
|
64537
|
+
format: "float",
|
|
64538
|
+
type: "number"
|
|
64539
|
+
},
|
|
64540
|
+
heating_set_point_fahrenheit: {
|
|
64541
|
+
format: "float",
|
|
64542
|
+
type: "number"
|
|
64543
|
+
},
|
|
64544
|
+
is_override_allowed: {
|
|
64545
|
+
type: "boolean"
|
|
64546
|
+
},
|
|
64547
|
+
max_override_period_minutes: {
|
|
64548
|
+
format: "float",
|
|
64549
|
+
type: "number"
|
|
64550
|
+
},
|
|
64551
|
+
mode: {
|
|
64552
|
+
enum: ["heat", "cool", "auto"],
|
|
64553
|
+
type: "string"
|
|
64554
|
+
}
|
|
64555
|
+
},
|
|
64556
|
+
required: [
|
|
64557
|
+
"mode",
|
|
64558
|
+
"fan_mode",
|
|
64559
|
+
"is_override_allowed",
|
|
64560
|
+
"max_override_period_minutes"
|
|
64561
|
+
],
|
|
64562
|
+
type: "object"
|
|
64563
|
+
},
|
|
64564
|
+
automated_unoccupied_preset: {
|
|
64565
|
+
properties: {
|
|
64566
|
+
cooling_set_point_celsius: {
|
|
64567
|
+
format: "float",
|
|
64568
|
+
type: "number"
|
|
64569
|
+
},
|
|
64570
|
+
cooling_set_point_fahrenheit: {
|
|
64571
|
+
format: "float",
|
|
64572
|
+
type: "number"
|
|
64573
|
+
},
|
|
64574
|
+
fan_mode: {
|
|
64575
|
+
enum: ["on", "auto", "circulate"],
|
|
64576
|
+
type: "string"
|
|
64577
|
+
},
|
|
64578
|
+
heating_set_point_celsius: {
|
|
64579
|
+
format: "float",
|
|
64580
|
+
type: "number"
|
|
64581
|
+
},
|
|
64582
|
+
heating_set_point_fahrenheit: {
|
|
64583
|
+
format: "float",
|
|
64584
|
+
type: "number"
|
|
64585
|
+
},
|
|
64586
|
+
is_override_allowed: {
|
|
64587
|
+
type: "boolean"
|
|
64588
|
+
},
|
|
64589
|
+
max_override_period_minutes: {
|
|
64590
|
+
format: "float",
|
|
64591
|
+
type: "number"
|
|
64592
|
+
},
|
|
64593
|
+
mode: {
|
|
64594
|
+
enum: ["heat", "cool", "auto"],
|
|
64595
|
+
type: "string"
|
|
64596
|
+
}
|
|
64597
|
+
},
|
|
64598
|
+
required: [
|
|
64599
|
+
"mode",
|
|
64600
|
+
"fan_mode",
|
|
64601
|
+
"is_override_allowed",
|
|
64602
|
+
"max_override_period_minutes"
|
|
64603
|
+
],
|
|
64604
|
+
type: "object"
|
|
64605
|
+
},
|
|
64606
|
+
occupied_preset_key: { type: "string" },
|
|
64607
|
+
precondition_minutes_before_reservation: {
|
|
64608
|
+
format: "float",
|
|
64609
|
+
type: "number"
|
|
64610
|
+
},
|
|
64611
|
+
unoccupied_preset_key: { type: "string" }
|
|
64612
|
+
},
|
|
64613
|
+
type: "object"
|
|
64614
|
+
},
|
|
64615
|
+
reservation_deleted: {
|
|
64616
|
+
$ref: "#/components/schemas/access_code"
|
|
64617
|
+
},
|
|
64618
|
+
reservation_time_updated: {
|
|
64619
|
+
$ref: "#/components/schemas/access_code"
|
|
64620
|
+
}
|
|
64621
|
+
},
|
|
64622
|
+
type: "object"
|
|
64623
|
+
}
|
|
64624
|
+
},
|
|
64625
|
+
required: ["rules"],
|
|
64626
|
+
type: "object"
|
|
64627
|
+
}
|
|
64628
|
+
},
|
|
64629
|
+
type: "object"
|
|
64630
|
+
},
|
|
64631
|
+
ok: { type: "boolean" }
|
|
64632
|
+
},
|
|
64633
|
+
required: ["automation", "ok"],
|
|
64634
|
+
type: "object"
|
|
64635
|
+
}
|
|
64636
|
+
}
|
|
64637
|
+
},
|
|
64638
|
+
description: "OK"
|
|
64639
|
+
},
|
|
64640
|
+
400: { description: "Bad Request" },
|
|
64641
|
+
401: { description: "Unauthorized" }
|
|
64642
|
+
},
|
|
64643
|
+
security: [
|
|
64644
|
+
{ pat_with_workspace: [] },
|
|
64645
|
+
{ console_session_with_workspace: [] },
|
|
64646
|
+
{ api_key: [] }
|
|
64647
|
+
],
|
|
64648
|
+
summary: "/seam/customer/v1/customers/automations/get",
|
|
64649
|
+
tags: [],
|
|
64650
|
+
"x-fern-sdk-group-name": [
|
|
64651
|
+
"seam",
|
|
64652
|
+
"customer",
|
|
64653
|
+
"v1",
|
|
64654
|
+
"customers",
|
|
64655
|
+
"automations"
|
|
64656
|
+
],
|
|
64657
|
+
"x-fern-sdk-method-name": "get",
|
|
64658
|
+
"x-fern-sdk-return-value": "automation",
|
|
64659
|
+
"x-response-key": "automation",
|
|
64660
|
+
"x-title": "Get Customer Automation Configuration"
|
|
64661
|
+
},
|
|
64662
|
+
post: {
|
|
64663
|
+
description: "Gets the automation configuration for a specific customer.\nReturns the merged configuration (customer overrides on top of workspace defaults).",
|
|
64664
|
+
operationId: "seamCustomerV1CustomersAutomationsGetPost",
|
|
64665
|
+
requestBody: {
|
|
64666
|
+
content: {
|
|
64667
|
+
"application/json": {
|
|
64668
|
+
schema: {
|
|
64669
|
+
properties: {
|
|
64670
|
+
customer_key: {
|
|
64671
|
+
description: "Key of the customer.",
|
|
64672
|
+
type: "string"
|
|
64673
|
+
}
|
|
64674
|
+
},
|
|
64675
|
+
required: ["customer_key"],
|
|
64676
|
+
type: "object"
|
|
64677
|
+
}
|
|
64678
|
+
}
|
|
64679
|
+
}
|
|
64680
|
+
},
|
|
64681
|
+
responses: {
|
|
64682
|
+
200: {
|
|
64683
|
+
content: {
|
|
64684
|
+
"application/json": {
|
|
64685
|
+
schema: {
|
|
64686
|
+
properties: {
|
|
64687
|
+
automation: {
|
|
64688
|
+
properties: {
|
|
64689
|
+
access_rules: {
|
|
64690
|
+
properties: {
|
|
64691
|
+
reservation_created: {
|
|
64692
|
+
properties: {
|
|
64693
|
+
config: {
|
|
64694
|
+
properties: {
|
|
64695
|
+
access_methods: {
|
|
64696
|
+
items: {
|
|
64697
|
+
enum: ["card", "mobile_key", "code"],
|
|
64698
|
+
type: "string"
|
|
64699
|
+
},
|
|
64700
|
+
minItems: 1,
|
|
64701
|
+
type: "array"
|
|
64702
|
+
},
|
|
64703
|
+
card_count_on_reservation_create: {
|
|
64704
|
+
minimum: 0,
|
|
64705
|
+
type: "integer"
|
|
64706
|
+
},
|
|
64707
|
+
code_count_on_reservation_create: {
|
|
64708
|
+
minimum: 0,
|
|
64709
|
+
type: "integer"
|
|
64710
|
+
},
|
|
64711
|
+
instant_key_max_use_count: {
|
|
64712
|
+
minimum: 1,
|
|
64713
|
+
type: "integer"
|
|
64714
|
+
},
|
|
64715
|
+
method_issuance_strategy: {
|
|
64716
|
+
enum: [
|
|
64717
|
+
"first_available",
|
|
64718
|
+
"first_two_available",
|
|
64719
|
+
"all_available"
|
|
64720
|
+
],
|
|
64721
|
+
type: "string"
|
|
64722
|
+
}
|
|
64723
|
+
},
|
|
64724
|
+
required: [
|
|
64725
|
+
"access_methods",
|
|
64726
|
+
"method_issuance_strategy"
|
|
64727
|
+
],
|
|
64728
|
+
type: "object"
|
|
64729
|
+
},
|
|
64730
|
+
rule: {
|
|
64731
|
+
enum: ["reservation_created"],
|
|
64732
|
+
type: "string"
|
|
64733
|
+
}
|
|
64734
|
+
},
|
|
64735
|
+
required: ["rule", "config"],
|
|
64736
|
+
type: "object"
|
|
64737
|
+
},
|
|
64738
|
+
reservation_deleted: {
|
|
64739
|
+
properties: {
|
|
64740
|
+
config: {
|
|
64741
|
+
$ref: "#/components/schemas/access_code"
|
|
64742
|
+
},
|
|
64743
|
+
rule: {
|
|
64744
|
+
enum: ["reservation_deleted"],
|
|
64745
|
+
type: "string"
|
|
64746
|
+
}
|
|
64747
|
+
},
|
|
64748
|
+
required: ["rule"],
|
|
64749
|
+
type: "object"
|
|
64750
|
+
},
|
|
64751
|
+
reservation_spaces_updated: {
|
|
64752
|
+
properties: {
|
|
64753
|
+
config: {
|
|
64754
|
+
$ref: "#/components/schemas/access_code"
|
|
64755
|
+
},
|
|
64756
|
+
rule: {
|
|
64757
|
+
enum: ["reservation_spaces_updated"],
|
|
64758
|
+
type: "string"
|
|
64759
|
+
}
|
|
64760
|
+
},
|
|
64761
|
+
required: ["rule"],
|
|
64762
|
+
type: "object"
|
|
64763
|
+
},
|
|
64764
|
+
reservation_time_updated: {
|
|
64765
|
+
properties: {
|
|
64766
|
+
config: {
|
|
64767
|
+
$ref: "#/components/schemas/access_code"
|
|
64768
|
+
},
|
|
64769
|
+
rule: {
|
|
64770
|
+
enum: ["reservation_time_updated"],
|
|
64771
|
+
type: "string"
|
|
64772
|
+
}
|
|
64773
|
+
},
|
|
64774
|
+
required: ["rule"],
|
|
64775
|
+
type: "object"
|
|
64776
|
+
},
|
|
64777
|
+
space_name_updated: {
|
|
64778
|
+
properties: {
|
|
64779
|
+
config: {
|
|
64780
|
+
$ref: "#/components/schemas/access_code"
|
|
64781
|
+
},
|
|
64782
|
+
rule: {
|
|
64783
|
+
enum: ["space_name_updated"],
|
|
64784
|
+
type: "string"
|
|
64785
|
+
}
|
|
64786
|
+
},
|
|
64787
|
+
required: ["rule"],
|
|
64788
|
+
type: "object"
|
|
64789
|
+
},
|
|
64790
|
+
staff_member_created: {
|
|
64791
|
+
properties: {
|
|
64792
|
+
config: {
|
|
64793
|
+
$ref: "#/components/schemas/access_code"
|
|
64794
|
+
},
|
|
64795
|
+
rule: {
|
|
64796
|
+
enum: ["staff_member_created"],
|
|
64797
|
+
type: "string"
|
|
64798
|
+
}
|
|
64799
|
+
},
|
|
64800
|
+
required: ["rule", "config"],
|
|
64801
|
+
type: "object"
|
|
64802
|
+
},
|
|
64803
|
+
staff_member_name_updated: {
|
|
64804
|
+
properties: {
|
|
64805
|
+
config: {
|
|
64806
|
+
$ref: "#/components/schemas/access_code"
|
|
64807
|
+
},
|
|
64808
|
+
rule: {
|
|
64809
|
+
enum: ["staff_member_name_updated"],
|
|
64810
|
+
type: "string"
|
|
64811
|
+
}
|
|
64812
|
+
},
|
|
64813
|
+
required: ["rule"],
|
|
64814
|
+
type: "object"
|
|
64815
|
+
},
|
|
64816
|
+
user_identity_name_updated: {
|
|
64817
|
+
properties: {
|
|
64818
|
+
config: {
|
|
64819
|
+
$ref: "#/components/schemas/access_code"
|
|
64820
|
+
},
|
|
64821
|
+
rule: {
|
|
64822
|
+
enum: ["user_identity_name_updated"],
|
|
64823
|
+
type: "string"
|
|
64824
|
+
}
|
|
64825
|
+
},
|
|
64826
|
+
required: ["rule"],
|
|
64827
|
+
type: "object"
|
|
64828
|
+
}
|
|
64829
|
+
},
|
|
64830
|
+
type: "object"
|
|
64831
|
+
},
|
|
64832
|
+
climate_rules: {
|
|
64833
|
+
properties: {
|
|
64834
|
+
rules: {
|
|
64835
|
+
properties: {
|
|
64836
|
+
reservation_created: {
|
|
64837
|
+
properties: {
|
|
64838
|
+
automated_occupied_preset: {
|
|
64839
|
+
properties: {
|
|
64840
|
+
cooling_set_point_celsius: {
|
|
64841
|
+
format: "float",
|
|
64842
|
+
type: "number"
|
|
64843
|
+
},
|
|
64844
|
+
cooling_set_point_fahrenheit: {
|
|
64845
|
+
format: "float",
|
|
64846
|
+
type: "number"
|
|
64847
|
+
},
|
|
64848
|
+
fan_mode: {
|
|
64849
|
+
enum: ["on", "auto", "circulate"],
|
|
64850
|
+
type: "string"
|
|
64851
|
+
},
|
|
64852
|
+
heating_set_point_celsius: {
|
|
64853
|
+
format: "float",
|
|
64854
|
+
type: "number"
|
|
64855
|
+
},
|
|
64856
|
+
heating_set_point_fahrenheit: {
|
|
64857
|
+
format: "float",
|
|
64858
|
+
type: "number"
|
|
64859
|
+
},
|
|
64860
|
+
is_override_allowed: {
|
|
64861
|
+
type: "boolean"
|
|
64862
|
+
},
|
|
64863
|
+
max_override_period_minutes: {
|
|
64864
|
+
format: "float",
|
|
64865
|
+
type: "number"
|
|
64866
|
+
},
|
|
64867
|
+
mode: {
|
|
64868
|
+
enum: ["heat", "cool", "auto"],
|
|
64869
|
+
type: "string"
|
|
64870
|
+
}
|
|
64871
|
+
},
|
|
64872
|
+
required: [
|
|
64873
|
+
"mode",
|
|
64874
|
+
"fan_mode",
|
|
64875
|
+
"is_override_allowed",
|
|
64876
|
+
"max_override_period_minutes"
|
|
64877
|
+
],
|
|
64878
|
+
type: "object"
|
|
64879
|
+
},
|
|
64880
|
+
automated_unoccupied_preset: {
|
|
64881
|
+
properties: {
|
|
64882
|
+
cooling_set_point_celsius: {
|
|
64883
|
+
format: "float",
|
|
64884
|
+
type: "number"
|
|
64885
|
+
},
|
|
64886
|
+
cooling_set_point_fahrenheit: {
|
|
64887
|
+
format: "float",
|
|
64888
|
+
type: "number"
|
|
64889
|
+
},
|
|
64890
|
+
fan_mode: {
|
|
64891
|
+
enum: ["on", "auto", "circulate"],
|
|
64892
|
+
type: "string"
|
|
64893
|
+
},
|
|
64894
|
+
heating_set_point_celsius: {
|
|
64895
|
+
format: "float",
|
|
64896
|
+
type: "number"
|
|
64897
|
+
},
|
|
64898
|
+
heating_set_point_fahrenheit: {
|
|
64899
|
+
format: "float",
|
|
64900
|
+
type: "number"
|
|
64901
|
+
},
|
|
64902
|
+
is_override_allowed: {
|
|
64903
|
+
type: "boolean"
|
|
64904
|
+
},
|
|
64905
|
+
max_override_period_minutes: {
|
|
64906
|
+
format: "float",
|
|
64907
|
+
type: "number"
|
|
64908
|
+
},
|
|
64909
|
+
mode: {
|
|
64910
|
+
enum: ["heat", "cool", "auto"],
|
|
64911
|
+
type: "string"
|
|
64912
|
+
}
|
|
64913
|
+
},
|
|
64914
|
+
required: [
|
|
64915
|
+
"mode",
|
|
64916
|
+
"fan_mode",
|
|
64917
|
+
"is_override_allowed",
|
|
64918
|
+
"max_override_period_minutes"
|
|
64919
|
+
],
|
|
64920
|
+
type: "object"
|
|
64921
|
+
},
|
|
64922
|
+
occupied_preset_key: { type: "string" },
|
|
64923
|
+
precondition_minutes_before_reservation: {
|
|
64924
|
+
format: "float",
|
|
64925
|
+
type: "number"
|
|
64926
|
+
},
|
|
64927
|
+
unoccupied_preset_key: { type: "string" }
|
|
64928
|
+
},
|
|
64929
|
+
type: "object"
|
|
64930
|
+
},
|
|
64931
|
+
reservation_deleted: {
|
|
64932
|
+
$ref: "#/components/schemas/access_code"
|
|
64933
|
+
},
|
|
64934
|
+
reservation_time_updated: {
|
|
64935
|
+
$ref: "#/components/schemas/access_code"
|
|
64936
|
+
}
|
|
64937
|
+
},
|
|
64938
|
+
type: "object"
|
|
64939
|
+
}
|
|
64940
|
+
},
|
|
64941
|
+
required: ["rules"],
|
|
64942
|
+
type: "object"
|
|
64943
|
+
}
|
|
64944
|
+
},
|
|
64945
|
+
type: "object"
|
|
64946
|
+
},
|
|
64947
|
+
ok: { type: "boolean" }
|
|
64948
|
+
},
|
|
64949
|
+
required: ["automation", "ok"],
|
|
64950
|
+
type: "object"
|
|
64951
|
+
}
|
|
64952
|
+
}
|
|
64953
|
+
},
|
|
64954
|
+
description: "OK"
|
|
64955
|
+
},
|
|
64956
|
+
400: { description: "Bad Request" },
|
|
64957
|
+
401: { description: "Unauthorized" }
|
|
64958
|
+
},
|
|
64959
|
+
security: [
|
|
64960
|
+
{ pat_with_workspace: [] },
|
|
64961
|
+
{ console_session_with_workspace: [] },
|
|
64962
|
+
{ api_key: [] }
|
|
64963
|
+
],
|
|
64964
|
+
summary: "/seam/customer/v1/customers/automations/get",
|
|
64965
|
+
tags: [],
|
|
64966
|
+
"x-fern-sdk-group-name": [
|
|
64967
|
+
"seam",
|
|
64968
|
+
"customer",
|
|
64969
|
+
"v1",
|
|
64970
|
+
"customers",
|
|
64971
|
+
"automations"
|
|
64972
|
+
],
|
|
64973
|
+
"x-fern-sdk-method-name": "get",
|
|
64974
|
+
"x-fern-sdk-return-value": "automation",
|
|
64975
|
+
"x-response-key": "automation",
|
|
64976
|
+
"x-title": "Get Customer Automation Configuration"
|
|
64977
|
+
}
|
|
64978
|
+
},
|
|
64979
|
+
"/seam/customer/v1/customers/automations/update": {
|
|
64980
|
+
patch: {
|
|
64981
|
+
description: "Updates the automation configuration for a specific customer.\nCreates a customer-level override if one does not already exist.",
|
|
64982
|
+
operationId: "seamCustomerV1CustomersAutomationsUpdatePatch",
|
|
64983
|
+
requestBody: {
|
|
64984
|
+
content: {
|
|
64985
|
+
"application/json": {
|
|
64986
|
+
schema: {
|
|
64987
|
+
properties: {
|
|
64988
|
+
access_rules: {
|
|
64989
|
+
description: "Access automation rules configuration.",
|
|
64990
|
+
properties: {
|
|
64991
|
+
reservation_created: {
|
|
64992
|
+
properties: {
|
|
64993
|
+
config: {
|
|
64994
|
+
properties: {
|
|
64995
|
+
access_methods: {
|
|
64996
|
+
items: {
|
|
64997
|
+
enum: ["card", "mobile_key", "code"],
|
|
64998
|
+
type: "string"
|
|
64999
|
+
},
|
|
65000
|
+
minItems: 1,
|
|
65001
|
+
type: "array"
|
|
65002
|
+
},
|
|
65003
|
+
card_count_on_reservation_create: {
|
|
65004
|
+
minimum: 0,
|
|
65005
|
+
type: "integer"
|
|
65006
|
+
},
|
|
65007
|
+
code_count_on_reservation_create: {
|
|
65008
|
+
minimum: 0,
|
|
65009
|
+
type: "integer"
|
|
65010
|
+
},
|
|
65011
|
+
instant_key_max_use_count: {
|
|
65012
|
+
minimum: 1,
|
|
65013
|
+
type: "integer"
|
|
65014
|
+
},
|
|
65015
|
+
method_issuance_strategy: {
|
|
65016
|
+
enum: [
|
|
65017
|
+
"first_available",
|
|
65018
|
+
"first_two_available",
|
|
65019
|
+
"all_available"
|
|
65020
|
+
],
|
|
65021
|
+
type: "string"
|
|
65022
|
+
}
|
|
65023
|
+
},
|
|
65024
|
+
required: [
|
|
65025
|
+
"access_methods",
|
|
65026
|
+
"method_issuance_strategy"
|
|
65027
|
+
],
|
|
65028
|
+
type: "object"
|
|
65029
|
+
},
|
|
65030
|
+
rule: {
|
|
65031
|
+
enum: ["reservation_created"],
|
|
65032
|
+
type: "string"
|
|
65033
|
+
}
|
|
65034
|
+
},
|
|
65035
|
+
required: ["rule", "config"],
|
|
65036
|
+
type: "object"
|
|
65037
|
+
},
|
|
65038
|
+
reservation_deleted: {
|
|
65039
|
+
properties: {
|
|
65040
|
+
config: { properties: {}, type: "object" },
|
|
65041
|
+
rule: {
|
|
65042
|
+
enum: ["reservation_deleted"],
|
|
65043
|
+
type: "string"
|
|
65044
|
+
}
|
|
65045
|
+
},
|
|
65046
|
+
required: ["rule"],
|
|
65047
|
+
type: "object"
|
|
65048
|
+
},
|
|
65049
|
+
reservation_spaces_updated: {
|
|
65050
|
+
properties: {
|
|
65051
|
+
config: { properties: {}, type: "object" },
|
|
65052
|
+
rule: {
|
|
65053
|
+
enum: ["reservation_spaces_updated"],
|
|
65054
|
+
type: "string"
|
|
65055
|
+
}
|
|
65056
|
+
},
|
|
65057
|
+
required: ["rule"],
|
|
65058
|
+
type: "object"
|
|
65059
|
+
},
|
|
65060
|
+
reservation_time_updated: {
|
|
65061
|
+
properties: {
|
|
65062
|
+
config: { properties: {}, type: "object" },
|
|
65063
|
+
rule: {
|
|
65064
|
+
enum: ["reservation_time_updated"],
|
|
65065
|
+
type: "string"
|
|
65066
|
+
}
|
|
65067
|
+
},
|
|
65068
|
+
required: ["rule"],
|
|
65069
|
+
type: "object"
|
|
65070
|
+
},
|
|
65071
|
+
space_name_updated: {
|
|
65072
|
+
properties: {
|
|
65073
|
+
config: { properties: {}, type: "object" },
|
|
65074
|
+
rule: {
|
|
65075
|
+
enum: ["space_name_updated"],
|
|
65076
|
+
type: "string"
|
|
65077
|
+
}
|
|
65078
|
+
},
|
|
65079
|
+
required: ["rule"],
|
|
65080
|
+
type: "object"
|
|
65081
|
+
},
|
|
65082
|
+
staff_member_created: {
|
|
65083
|
+
properties: {
|
|
65084
|
+
config: { properties: {}, type: "object" },
|
|
65085
|
+
rule: {
|
|
65086
|
+
enum: ["staff_member_created"],
|
|
65087
|
+
type: "string"
|
|
65088
|
+
}
|
|
65089
|
+
},
|
|
65090
|
+
required: ["rule", "config"],
|
|
65091
|
+
type: "object"
|
|
65092
|
+
},
|
|
65093
|
+
staff_member_name_updated: {
|
|
65094
|
+
properties: {
|
|
65095
|
+
config: { properties: {}, type: "object" },
|
|
65096
|
+
rule: {
|
|
65097
|
+
enum: ["staff_member_name_updated"],
|
|
65098
|
+
type: "string"
|
|
65099
|
+
}
|
|
65100
|
+
},
|
|
65101
|
+
required: ["rule"],
|
|
65102
|
+
type: "object"
|
|
65103
|
+
},
|
|
65104
|
+
user_identity_name_updated: {
|
|
65105
|
+
properties: {
|
|
65106
|
+
config: { properties: {}, type: "object" },
|
|
65107
|
+
rule: {
|
|
65108
|
+
enum: ["user_identity_name_updated"],
|
|
65109
|
+
type: "string"
|
|
65110
|
+
}
|
|
65111
|
+
},
|
|
65112
|
+
required: ["rule"],
|
|
65113
|
+
type: "object"
|
|
65114
|
+
}
|
|
65115
|
+
},
|
|
65116
|
+
type: "object"
|
|
65117
|
+
},
|
|
65118
|
+
climate_rules: {
|
|
65119
|
+
description: "Climate automation rules configuration.",
|
|
65120
|
+
properties: {
|
|
65121
|
+
rules: {
|
|
65122
|
+
properties: {
|
|
65123
|
+
reservation_created: {
|
|
65124
|
+
properties: {
|
|
65125
|
+
automated_occupied_preset: {
|
|
65126
|
+
properties: {
|
|
65127
|
+
cooling_set_point_celsius: {
|
|
65128
|
+
format: "float",
|
|
65129
|
+
type: "number"
|
|
65130
|
+
},
|
|
65131
|
+
cooling_set_point_fahrenheit: {
|
|
65132
|
+
format: "float",
|
|
65133
|
+
type: "number"
|
|
65134
|
+
},
|
|
65135
|
+
fan_mode: {
|
|
65136
|
+
enum: ["on", "auto", "circulate"],
|
|
65137
|
+
type: "string"
|
|
65138
|
+
},
|
|
65139
|
+
heating_set_point_celsius: {
|
|
65140
|
+
format: "float",
|
|
65141
|
+
type: "number"
|
|
65142
|
+
},
|
|
65143
|
+
heating_set_point_fahrenheit: {
|
|
65144
|
+
format: "float",
|
|
65145
|
+
type: "number"
|
|
65146
|
+
},
|
|
65147
|
+
is_override_allowed: { type: "boolean" },
|
|
65148
|
+
max_override_period_minutes: {
|
|
65149
|
+
format: "float",
|
|
65150
|
+
type: "number"
|
|
65151
|
+
},
|
|
65152
|
+
mode: {
|
|
65153
|
+
enum: ["heat", "cool", "auto"],
|
|
65154
|
+
type: "string"
|
|
65155
|
+
}
|
|
65156
|
+
},
|
|
65157
|
+
required: [
|
|
65158
|
+
"mode",
|
|
65159
|
+
"fan_mode",
|
|
65160
|
+
"is_override_allowed",
|
|
65161
|
+
"max_override_period_minutes"
|
|
65162
|
+
],
|
|
65163
|
+
type: "object"
|
|
65164
|
+
},
|
|
65165
|
+
automated_unoccupied_preset: {
|
|
65166
|
+
properties: {
|
|
65167
|
+
cooling_set_point_celsius: {
|
|
65168
|
+
format: "float",
|
|
65169
|
+
type: "number"
|
|
65170
|
+
},
|
|
65171
|
+
cooling_set_point_fahrenheit: {
|
|
65172
|
+
format: "float",
|
|
65173
|
+
type: "number"
|
|
65174
|
+
},
|
|
65175
|
+
fan_mode: {
|
|
65176
|
+
enum: ["on", "auto", "circulate"],
|
|
65177
|
+
type: "string"
|
|
65178
|
+
},
|
|
65179
|
+
heating_set_point_celsius: {
|
|
65180
|
+
format: "float",
|
|
65181
|
+
type: "number"
|
|
65182
|
+
},
|
|
65183
|
+
heating_set_point_fahrenheit: {
|
|
65184
|
+
format: "float",
|
|
65185
|
+
type: "number"
|
|
65186
|
+
},
|
|
65187
|
+
is_override_allowed: { type: "boolean" },
|
|
65188
|
+
max_override_period_minutes: {
|
|
65189
|
+
format: "float",
|
|
65190
|
+
type: "number"
|
|
65191
|
+
},
|
|
65192
|
+
mode: {
|
|
65193
|
+
enum: ["heat", "cool", "auto"],
|
|
65194
|
+
type: "string"
|
|
65195
|
+
}
|
|
65196
|
+
},
|
|
65197
|
+
required: [
|
|
65198
|
+
"mode",
|
|
65199
|
+
"fan_mode",
|
|
65200
|
+
"is_override_allowed",
|
|
65201
|
+
"max_override_period_minutes"
|
|
65202
|
+
],
|
|
65203
|
+
type: "object"
|
|
65204
|
+
},
|
|
65205
|
+
occupied_preset_key: { type: "string" },
|
|
65206
|
+
precondition_minutes_before_reservation: {
|
|
65207
|
+
format: "float",
|
|
65208
|
+
type: "number"
|
|
65209
|
+
},
|
|
65210
|
+
unoccupied_preset_key: { type: "string" }
|
|
65211
|
+
},
|
|
65212
|
+
type: "object"
|
|
65213
|
+
},
|
|
65214
|
+
reservation_deleted: {
|
|
65215
|
+
properties: {},
|
|
65216
|
+
type: "object"
|
|
65217
|
+
},
|
|
65218
|
+
reservation_time_updated: {
|
|
65219
|
+
properties: {},
|
|
65220
|
+
type: "object"
|
|
65221
|
+
}
|
|
65222
|
+
},
|
|
65223
|
+
type: "object"
|
|
65224
|
+
}
|
|
65225
|
+
},
|
|
65226
|
+
type: "object"
|
|
65227
|
+
},
|
|
65228
|
+
customer_key: {
|
|
65229
|
+
description: "Key of the customer.",
|
|
65230
|
+
type: "string"
|
|
65231
|
+
}
|
|
65232
|
+
},
|
|
65233
|
+
required: ["customer_key"],
|
|
65234
|
+
type: "object"
|
|
65235
|
+
}
|
|
65236
|
+
}
|
|
65237
|
+
}
|
|
65238
|
+
},
|
|
65239
|
+
responses: {
|
|
65240
|
+
200: {
|
|
65241
|
+
content: {
|
|
65242
|
+
"application/json": {
|
|
65243
|
+
schema: {
|
|
65244
|
+
properties: { ok: { type: "boolean" } },
|
|
65245
|
+
required: ["ok"],
|
|
65246
|
+
type: "object"
|
|
65247
|
+
}
|
|
65248
|
+
}
|
|
65249
|
+
},
|
|
65250
|
+
description: "OK"
|
|
65251
|
+
},
|
|
65252
|
+
400: { description: "Bad Request" },
|
|
65253
|
+
401: { description: "Unauthorized" }
|
|
65254
|
+
},
|
|
65255
|
+
security: [
|
|
65256
|
+
{ pat_with_workspace: [] },
|
|
65257
|
+
{ console_session_with_workspace: [] },
|
|
65258
|
+
{ api_key: [] }
|
|
65259
|
+
],
|
|
65260
|
+
summary: "/seam/customer/v1/customers/automations/update",
|
|
65261
|
+
tags: [],
|
|
65262
|
+
"x-fern-sdk-group-name": [
|
|
65263
|
+
"seam",
|
|
65264
|
+
"customer",
|
|
65265
|
+
"v1",
|
|
65266
|
+
"customers",
|
|
65267
|
+
"automations"
|
|
65268
|
+
],
|
|
65269
|
+
"x-fern-sdk-method-name": "update",
|
|
65270
|
+
"x-response-key": null,
|
|
65271
|
+
"x-title": "Update Customer Automation Configuration"
|
|
65272
|
+
},
|
|
65273
|
+
post: {
|
|
65274
|
+
description: "Updates the automation configuration for a specific customer.\nCreates a customer-level override if one does not already exist.",
|
|
65275
|
+
operationId: "seamCustomerV1CustomersAutomationsUpdatePost",
|
|
65276
|
+
requestBody: {
|
|
65277
|
+
content: {
|
|
65278
|
+
"application/json": {
|
|
65279
|
+
schema: {
|
|
65280
|
+
properties: {
|
|
65281
|
+
access_rules: {
|
|
65282
|
+
description: "Access automation rules configuration.",
|
|
65283
|
+
properties: {
|
|
65284
|
+
reservation_created: {
|
|
65285
|
+
properties: {
|
|
65286
|
+
config: {
|
|
65287
|
+
properties: {
|
|
65288
|
+
access_methods: {
|
|
65289
|
+
items: {
|
|
65290
|
+
enum: ["card", "mobile_key", "code"],
|
|
65291
|
+
type: "string"
|
|
65292
|
+
},
|
|
65293
|
+
minItems: 1,
|
|
65294
|
+
type: "array"
|
|
65295
|
+
},
|
|
65296
|
+
card_count_on_reservation_create: {
|
|
65297
|
+
minimum: 0,
|
|
65298
|
+
type: "integer"
|
|
65299
|
+
},
|
|
65300
|
+
code_count_on_reservation_create: {
|
|
65301
|
+
minimum: 0,
|
|
65302
|
+
type: "integer"
|
|
65303
|
+
},
|
|
65304
|
+
instant_key_max_use_count: {
|
|
65305
|
+
minimum: 1,
|
|
65306
|
+
type: "integer"
|
|
65307
|
+
},
|
|
65308
|
+
method_issuance_strategy: {
|
|
65309
|
+
enum: [
|
|
65310
|
+
"first_available",
|
|
65311
|
+
"first_two_available",
|
|
65312
|
+
"all_available"
|
|
65313
|
+
],
|
|
65314
|
+
type: "string"
|
|
65315
|
+
}
|
|
65316
|
+
},
|
|
65317
|
+
required: [
|
|
65318
|
+
"access_methods",
|
|
65319
|
+
"method_issuance_strategy"
|
|
65320
|
+
],
|
|
65321
|
+
type: "object"
|
|
65322
|
+
},
|
|
65323
|
+
rule: {
|
|
65324
|
+
enum: ["reservation_created"],
|
|
65325
|
+
type: "string"
|
|
65326
|
+
}
|
|
65327
|
+
},
|
|
65328
|
+
required: ["rule", "config"],
|
|
65329
|
+
type: "object"
|
|
65330
|
+
},
|
|
65331
|
+
reservation_deleted: {
|
|
65332
|
+
properties: {
|
|
65333
|
+
config: { properties: {}, type: "object" },
|
|
65334
|
+
rule: {
|
|
65335
|
+
enum: ["reservation_deleted"],
|
|
65336
|
+
type: "string"
|
|
65337
|
+
}
|
|
65338
|
+
},
|
|
65339
|
+
required: ["rule"],
|
|
65340
|
+
type: "object"
|
|
65341
|
+
},
|
|
65342
|
+
reservation_spaces_updated: {
|
|
65343
|
+
properties: {
|
|
65344
|
+
config: { properties: {}, type: "object" },
|
|
65345
|
+
rule: {
|
|
65346
|
+
enum: ["reservation_spaces_updated"],
|
|
65347
|
+
type: "string"
|
|
65348
|
+
}
|
|
65349
|
+
},
|
|
65350
|
+
required: ["rule"],
|
|
65351
|
+
type: "object"
|
|
65352
|
+
},
|
|
65353
|
+
reservation_time_updated: {
|
|
65354
|
+
properties: {
|
|
65355
|
+
config: { properties: {}, type: "object" },
|
|
65356
|
+
rule: {
|
|
65357
|
+
enum: ["reservation_time_updated"],
|
|
65358
|
+
type: "string"
|
|
65359
|
+
}
|
|
65360
|
+
},
|
|
65361
|
+
required: ["rule"],
|
|
65362
|
+
type: "object"
|
|
65363
|
+
},
|
|
65364
|
+
space_name_updated: {
|
|
65365
|
+
properties: {
|
|
65366
|
+
config: { properties: {}, type: "object" },
|
|
65367
|
+
rule: {
|
|
65368
|
+
enum: ["space_name_updated"],
|
|
65369
|
+
type: "string"
|
|
65370
|
+
}
|
|
65371
|
+
},
|
|
65372
|
+
required: ["rule"],
|
|
65373
|
+
type: "object"
|
|
65374
|
+
},
|
|
65375
|
+
staff_member_created: {
|
|
65376
|
+
properties: {
|
|
65377
|
+
config: { properties: {}, type: "object" },
|
|
65378
|
+
rule: {
|
|
65379
|
+
enum: ["staff_member_created"],
|
|
65380
|
+
type: "string"
|
|
65381
|
+
}
|
|
65382
|
+
},
|
|
65383
|
+
required: ["rule", "config"],
|
|
65384
|
+
type: "object"
|
|
65385
|
+
},
|
|
65386
|
+
staff_member_name_updated: {
|
|
65387
|
+
properties: {
|
|
65388
|
+
config: { properties: {}, type: "object" },
|
|
65389
|
+
rule: {
|
|
65390
|
+
enum: ["staff_member_name_updated"],
|
|
65391
|
+
type: "string"
|
|
65392
|
+
}
|
|
65393
|
+
},
|
|
65394
|
+
required: ["rule"],
|
|
65395
|
+
type: "object"
|
|
65396
|
+
},
|
|
65397
|
+
user_identity_name_updated: {
|
|
65398
|
+
properties: {
|
|
65399
|
+
config: { properties: {}, type: "object" },
|
|
65400
|
+
rule: {
|
|
65401
|
+
enum: ["user_identity_name_updated"],
|
|
65402
|
+
type: "string"
|
|
65403
|
+
}
|
|
65404
|
+
},
|
|
65405
|
+
required: ["rule"],
|
|
65406
|
+
type: "object"
|
|
65407
|
+
}
|
|
65408
|
+
},
|
|
65409
|
+
type: "object"
|
|
65410
|
+
},
|
|
65411
|
+
climate_rules: {
|
|
65412
|
+
description: "Climate automation rules configuration.",
|
|
65413
|
+
properties: {
|
|
65414
|
+
rules: {
|
|
65415
|
+
properties: {
|
|
65416
|
+
reservation_created: {
|
|
65417
|
+
properties: {
|
|
65418
|
+
automated_occupied_preset: {
|
|
65419
|
+
properties: {
|
|
65420
|
+
cooling_set_point_celsius: {
|
|
65421
|
+
format: "float",
|
|
65422
|
+
type: "number"
|
|
65423
|
+
},
|
|
65424
|
+
cooling_set_point_fahrenheit: {
|
|
65425
|
+
format: "float",
|
|
65426
|
+
type: "number"
|
|
65427
|
+
},
|
|
65428
|
+
fan_mode: {
|
|
65429
|
+
enum: ["on", "auto", "circulate"],
|
|
65430
|
+
type: "string"
|
|
65431
|
+
},
|
|
65432
|
+
heating_set_point_celsius: {
|
|
65433
|
+
format: "float",
|
|
65434
|
+
type: "number"
|
|
65435
|
+
},
|
|
65436
|
+
heating_set_point_fahrenheit: {
|
|
65437
|
+
format: "float",
|
|
65438
|
+
type: "number"
|
|
65439
|
+
},
|
|
65440
|
+
is_override_allowed: { type: "boolean" },
|
|
65441
|
+
max_override_period_minutes: {
|
|
65442
|
+
format: "float",
|
|
65443
|
+
type: "number"
|
|
65444
|
+
},
|
|
65445
|
+
mode: {
|
|
65446
|
+
enum: ["heat", "cool", "auto"],
|
|
65447
|
+
type: "string"
|
|
65448
|
+
}
|
|
65449
|
+
},
|
|
65450
|
+
required: [
|
|
65451
|
+
"mode",
|
|
65452
|
+
"fan_mode",
|
|
65453
|
+
"is_override_allowed",
|
|
65454
|
+
"max_override_period_minutes"
|
|
65455
|
+
],
|
|
65456
|
+
type: "object"
|
|
65457
|
+
},
|
|
65458
|
+
automated_unoccupied_preset: {
|
|
65459
|
+
properties: {
|
|
65460
|
+
cooling_set_point_celsius: {
|
|
65461
|
+
format: "float",
|
|
65462
|
+
type: "number"
|
|
65463
|
+
},
|
|
65464
|
+
cooling_set_point_fahrenheit: {
|
|
65465
|
+
format: "float",
|
|
65466
|
+
type: "number"
|
|
65467
|
+
},
|
|
65468
|
+
fan_mode: {
|
|
65469
|
+
enum: ["on", "auto", "circulate"],
|
|
65470
|
+
type: "string"
|
|
65471
|
+
},
|
|
65472
|
+
heating_set_point_celsius: {
|
|
65473
|
+
format: "float",
|
|
65474
|
+
type: "number"
|
|
65475
|
+
},
|
|
65476
|
+
heating_set_point_fahrenheit: {
|
|
65477
|
+
format: "float",
|
|
65478
|
+
type: "number"
|
|
65479
|
+
},
|
|
65480
|
+
is_override_allowed: { type: "boolean" },
|
|
65481
|
+
max_override_period_minutes: {
|
|
65482
|
+
format: "float",
|
|
65483
|
+
type: "number"
|
|
65484
|
+
},
|
|
65485
|
+
mode: {
|
|
65486
|
+
enum: ["heat", "cool", "auto"],
|
|
65487
|
+
type: "string"
|
|
65488
|
+
}
|
|
65489
|
+
},
|
|
65490
|
+
required: [
|
|
65491
|
+
"mode",
|
|
65492
|
+
"fan_mode",
|
|
65493
|
+
"is_override_allowed",
|
|
65494
|
+
"max_override_period_minutes"
|
|
65495
|
+
],
|
|
65496
|
+
type: "object"
|
|
65497
|
+
},
|
|
65498
|
+
occupied_preset_key: { type: "string" },
|
|
65499
|
+
precondition_minutes_before_reservation: {
|
|
65500
|
+
format: "float",
|
|
65501
|
+
type: "number"
|
|
65502
|
+
},
|
|
65503
|
+
unoccupied_preset_key: { type: "string" }
|
|
65504
|
+
},
|
|
65505
|
+
type: "object"
|
|
65506
|
+
},
|
|
65507
|
+
reservation_deleted: {
|
|
65508
|
+
properties: {},
|
|
65509
|
+
type: "object"
|
|
65510
|
+
},
|
|
65511
|
+
reservation_time_updated: {
|
|
65512
|
+
properties: {},
|
|
65513
|
+
type: "object"
|
|
65514
|
+
}
|
|
65515
|
+
},
|
|
65516
|
+
type: "object"
|
|
65517
|
+
}
|
|
65518
|
+
},
|
|
65519
|
+
type: "object"
|
|
65520
|
+
},
|
|
65521
|
+
customer_key: {
|
|
65522
|
+
description: "Key of the customer.",
|
|
65523
|
+
type: "string"
|
|
65524
|
+
}
|
|
65525
|
+
},
|
|
65526
|
+
required: ["customer_key"],
|
|
65527
|
+
type: "object"
|
|
65528
|
+
}
|
|
65529
|
+
}
|
|
65530
|
+
}
|
|
65531
|
+
},
|
|
65532
|
+
responses: {
|
|
65533
|
+
200: {
|
|
65534
|
+
content: {
|
|
65535
|
+
"application/json": {
|
|
65536
|
+
schema: {
|
|
65537
|
+
properties: { ok: { type: "boolean" } },
|
|
65538
|
+
required: ["ok"],
|
|
65539
|
+
type: "object"
|
|
65540
|
+
}
|
|
65541
|
+
}
|
|
65542
|
+
},
|
|
65543
|
+
description: "OK"
|
|
65544
|
+
},
|
|
65545
|
+
400: { description: "Bad Request" },
|
|
65546
|
+
401: { description: "Unauthorized" }
|
|
65547
|
+
},
|
|
65548
|
+
security: [
|
|
65549
|
+
{ pat_with_workspace: [] },
|
|
65550
|
+
{ console_session_with_workspace: [] },
|
|
65551
|
+
{ api_key: [] }
|
|
65552
|
+
],
|
|
65553
|
+
summary: "/seam/customer/v1/customers/automations/update",
|
|
65554
|
+
tags: [],
|
|
65555
|
+
"x-fern-sdk-group-name": [
|
|
65556
|
+
"seam",
|
|
65557
|
+
"customer",
|
|
65558
|
+
"v1",
|
|
65559
|
+
"customers",
|
|
65560
|
+
"automations"
|
|
65561
|
+
],
|
|
65562
|
+
"x-fern-sdk-method-name": "update",
|
|
65563
|
+
"x-response-key": null,
|
|
65564
|
+
"x-title": "Update Customer Automation Configuration"
|
|
65565
|
+
}
|
|
65566
|
+
},
|
|
64179
65567
|
"/seam/customer/v1/customers/list": {
|
|
64180
65568
|
get: {
|
|
64181
65569
|
description: "Returns a list of all customers within the workspace.",
|