@seamapi/types 1.737.0 → 1.739.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 +1867 -18
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +4282 -348
- package/dist/index.cjs +1867 -18
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +590 -0
- package/lib/seam/connect/models/acs/acs-access-group.js +4 -0
- package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-access-groups/index.d.ts +1 -0
- package/lib/seam/connect/models/acs/acs-access-groups/index.js +2 -0
- package/lib/seam/connect/models/acs/acs-access-groups/index.js.map +1 -0
- package/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.d.ts +511 -0
- package/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.js +126 -0
- package/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.js.map +1 -0
- package/lib/seam/connect/models/acs/acs-credential.d.ts +4 -4
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +4 -4
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +12 -12
- package/lib/seam/connect/models/acs/index.d.ts +1 -0
- package/lib/seam/connect/models/acs/index.js +1 -0
- package/lib/seam/connect/models/acs/index.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +20 -20
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +8 -8
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +12 -12
- package/lib/seam/connect/models/batch.d.ts +868 -74
- package/lib/seam/connect/models/events/acs/entrances.d.ts +8 -8
- package/lib/seam/connect/models/events/acs/index.d.ts +8 -8
- package/lib/seam/connect/models/events/acs/users.d.ts +8 -8
- package/lib/seam/connect/models/events/devices.d.ts +4 -4
- package/lib/seam/connect/models/events/seam-event.d.ts +10 -10
- package/lib/seam/connect/models/phones/phone-session.d.ts +30 -30
- package/lib/seam/connect/models/user-identities/user-identity.d.ts +12 -12
- package/lib/seam/connect/openapi.d.ts +1761 -0
- package/lib/seam/connect/openapi.js +1758 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +789 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-access-group.ts +6 -0
- package/src/lib/seam/connect/models/acs/acs-access-groups/index.ts +1 -0
- package/src/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.ts +171 -0
- package/src/lib/seam/connect/models/acs/index.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +1800 -0
- package/src/lib/seam/connect/route-types.ts +902 -0
|
@@ -2768,6 +2768,296 @@ export default {
|
|
|
2768
2768
|
},
|
|
2769
2769
|
is_managed: { enum: [true], type: 'boolean' },
|
|
2770
2770
|
name: { description: 'Name of the access group.', type: 'string' },
|
|
2771
|
+
pending_mutations: {
|
|
2772
|
+
description:
|
|
2773
|
+
'Collection of pending mutations for the access group. Represents operations that have been requested but not yet completed on the integrated access system.',
|
|
2774
|
+
items: {
|
|
2775
|
+
discriminator: { propertyName: 'mutation_code' },
|
|
2776
|
+
oneOf: [
|
|
2777
|
+
{
|
|
2778
|
+
description:
|
|
2779
|
+
'Seam is in the process of pushing an access group creation to the integrated access system.',
|
|
2780
|
+
properties: {
|
|
2781
|
+
created_at: {
|
|
2782
|
+
description:
|
|
2783
|
+
'Date and time at which the mutation was created.',
|
|
2784
|
+
format: 'date-time',
|
|
2785
|
+
type: 'string',
|
|
2786
|
+
},
|
|
2787
|
+
message: {
|
|
2788
|
+
description: 'Detailed description of the mutation.',
|
|
2789
|
+
type: 'string',
|
|
2790
|
+
},
|
|
2791
|
+
mutation_code: {
|
|
2792
|
+
description:
|
|
2793
|
+
'Mutation code to indicate that Seam is in the process of pushing an access group creation to the integrated access system.',
|
|
2794
|
+
enum: ['creating'],
|
|
2795
|
+
type: 'string',
|
|
2796
|
+
},
|
|
2797
|
+
},
|
|
2798
|
+
required: ['created_at', 'message', 'mutation_code'],
|
|
2799
|
+
type: 'object',
|
|
2800
|
+
},
|
|
2801
|
+
{
|
|
2802
|
+
description:
|
|
2803
|
+
'Seam is in the process of pushing an access group deletion to the integrated access system.',
|
|
2804
|
+
properties: {
|
|
2805
|
+
created_at: {
|
|
2806
|
+
description:
|
|
2807
|
+
'Date and time at which the mutation was created.',
|
|
2808
|
+
format: 'date-time',
|
|
2809
|
+
type: 'string',
|
|
2810
|
+
},
|
|
2811
|
+
message: {
|
|
2812
|
+
description: 'Detailed description of the mutation.',
|
|
2813
|
+
type: 'string',
|
|
2814
|
+
},
|
|
2815
|
+
mutation_code: {
|
|
2816
|
+
description:
|
|
2817
|
+
'Mutation code to indicate that Seam is in the process of pushing an access group deletion to the integrated access system.',
|
|
2818
|
+
enum: ['deleting'],
|
|
2819
|
+
type: 'string',
|
|
2820
|
+
},
|
|
2821
|
+
},
|
|
2822
|
+
required: ['created_at', 'message', 'mutation_code'],
|
|
2823
|
+
type: 'object',
|
|
2824
|
+
},
|
|
2825
|
+
{
|
|
2826
|
+
description:
|
|
2827
|
+
'Seam is in the process of pushing an access group information update to the integrated access system.',
|
|
2828
|
+
properties: {
|
|
2829
|
+
created_at: {
|
|
2830
|
+
description:
|
|
2831
|
+
'Date and time at which the mutation was created.',
|
|
2832
|
+
format: 'date-time',
|
|
2833
|
+
type: 'string',
|
|
2834
|
+
},
|
|
2835
|
+
from: {
|
|
2836
|
+
description: 'Old access group information.',
|
|
2837
|
+
properties: {
|
|
2838
|
+
name: {
|
|
2839
|
+
description: 'Name of the access group.',
|
|
2840
|
+
nullable: true,
|
|
2841
|
+
type: 'string',
|
|
2842
|
+
},
|
|
2843
|
+
},
|
|
2844
|
+
type: 'object',
|
|
2845
|
+
},
|
|
2846
|
+
message: {
|
|
2847
|
+
description: 'Detailed description of the mutation.',
|
|
2848
|
+
type: 'string',
|
|
2849
|
+
},
|
|
2850
|
+
mutation_code: {
|
|
2851
|
+
description:
|
|
2852
|
+
'Mutation code to indicate that Seam is in the process of pushing updated access group information to the integrated access system.',
|
|
2853
|
+
enum: ['updating_group_information'],
|
|
2854
|
+
type: 'string',
|
|
2855
|
+
},
|
|
2856
|
+
to: {
|
|
2857
|
+
description: 'New access group information.',
|
|
2858
|
+
properties: {
|
|
2859
|
+
name: {
|
|
2860
|
+
description: 'Name of the access group.',
|
|
2861
|
+
nullable: true,
|
|
2862
|
+
type: 'string',
|
|
2863
|
+
},
|
|
2864
|
+
},
|
|
2865
|
+
type: 'object',
|
|
2866
|
+
},
|
|
2867
|
+
},
|
|
2868
|
+
required: [
|
|
2869
|
+
'created_at',
|
|
2870
|
+
'message',
|
|
2871
|
+
'mutation_code',
|
|
2872
|
+
'from',
|
|
2873
|
+
'to',
|
|
2874
|
+
],
|
|
2875
|
+
type: 'object',
|
|
2876
|
+
},
|
|
2877
|
+
{
|
|
2878
|
+
description:
|
|
2879
|
+
'Seam is in the process of pushing an access schedule update to the integrated access system.',
|
|
2880
|
+
properties: {
|
|
2881
|
+
created_at: {
|
|
2882
|
+
description:
|
|
2883
|
+
'Date and time at which the mutation was created.',
|
|
2884
|
+
format: 'date-time',
|
|
2885
|
+
type: 'string',
|
|
2886
|
+
},
|
|
2887
|
+
from: {
|
|
2888
|
+
description: 'Old access schedule information.',
|
|
2889
|
+
properties: {
|
|
2890
|
+
ends_at: {
|
|
2891
|
+
description: 'Ending time for the access schedule.',
|
|
2892
|
+
format: 'date-time',
|
|
2893
|
+
nullable: true,
|
|
2894
|
+
type: 'string',
|
|
2895
|
+
},
|
|
2896
|
+
starts_at: {
|
|
2897
|
+
description: 'Starting time for the access schedule.',
|
|
2898
|
+
format: 'date-time',
|
|
2899
|
+
nullable: true,
|
|
2900
|
+
type: 'string',
|
|
2901
|
+
},
|
|
2902
|
+
},
|
|
2903
|
+
required: ['starts_at', 'ends_at'],
|
|
2904
|
+
type: 'object',
|
|
2905
|
+
},
|
|
2906
|
+
message: {
|
|
2907
|
+
description: 'Detailed description of the mutation.',
|
|
2908
|
+
type: 'string',
|
|
2909
|
+
},
|
|
2910
|
+
mutation_code: {
|
|
2911
|
+
description:
|
|
2912
|
+
'Mutation code to indicate that Seam is in the process of pushing updated access schedule information to the integrated access system.',
|
|
2913
|
+
enum: ['updating_access_schedule'],
|
|
2914
|
+
type: 'string',
|
|
2915
|
+
},
|
|
2916
|
+
to: {
|
|
2917
|
+
description: 'New access schedule information.',
|
|
2918
|
+
properties: {
|
|
2919
|
+
ends_at: {
|
|
2920
|
+
description: 'Ending time for the access schedule.',
|
|
2921
|
+
format: 'date-time',
|
|
2922
|
+
nullable: true,
|
|
2923
|
+
type: 'string',
|
|
2924
|
+
},
|
|
2925
|
+
starts_at: {
|
|
2926
|
+
description: 'Starting time for the access schedule.',
|
|
2927
|
+
format: 'date-time',
|
|
2928
|
+
nullable: true,
|
|
2929
|
+
type: 'string',
|
|
2930
|
+
},
|
|
2931
|
+
},
|
|
2932
|
+
required: ['starts_at', 'ends_at'],
|
|
2933
|
+
type: 'object',
|
|
2934
|
+
},
|
|
2935
|
+
},
|
|
2936
|
+
required: [
|
|
2937
|
+
'created_at',
|
|
2938
|
+
'message',
|
|
2939
|
+
'mutation_code',
|
|
2940
|
+
'from',
|
|
2941
|
+
'to',
|
|
2942
|
+
],
|
|
2943
|
+
type: 'object',
|
|
2944
|
+
},
|
|
2945
|
+
{
|
|
2946
|
+
description:
|
|
2947
|
+
'Seam is in the process of pushing a user membership update to the integrated access system.',
|
|
2948
|
+
properties: {
|
|
2949
|
+
created_at: {
|
|
2950
|
+
description:
|
|
2951
|
+
'Date and time at which the mutation was created.',
|
|
2952
|
+
format: 'date-time',
|
|
2953
|
+
type: 'string',
|
|
2954
|
+
},
|
|
2955
|
+
from: {
|
|
2956
|
+
description: 'Old user membership.',
|
|
2957
|
+
properties: {
|
|
2958
|
+
acs_user_id: {
|
|
2959
|
+
description: 'Old user ID.',
|
|
2960
|
+
format: 'uuid',
|
|
2961
|
+
nullable: true,
|
|
2962
|
+
type: 'string',
|
|
2963
|
+
},
|
|
2964
|
+
},
|
|
2965
|
+
required: ['acs_user_id'],
|
|
2966
|
+
type: 'object',
|
|
2967
|
+
},
|
|
2968
|
+
message: {
|
|
2969
|
+
description: 'Detailed description of the mutation.',
|
|
2970
|
+
type: 'string',
|
|
2971
|
+
},
|
|
2972
|
+
mutation_code: {
|
|
2973
|
+
description:
|
|
2974
|
+
'Mutation code to indicate that Seam is in the process of pushing updated user membership information to the integrated access system.',
|
|
2975
|
+
enum: ['updating_user_membership'],
|
|
2976
|
+
type: 'string',
|
|
2977
|
+
},
|
|
2978
|
+
to: {
|
|
2979
|
+
description: 'New user membership.',
|
|
2980
|
+
properties: {
|
|
2981
|
+
acs_user_id: {
|
|
2982
|
+
description: 'New user ID.',
|
|
2983
|
+
format: 'uuid',
|
|
2984
|
+
nullable: true,
|
|
2985
|
+
type: 'string',
|
|
2986
|
+
},
|
|
2987
|
+
},
|
|
2988
|
+
required: ['acs_user_id'],
|
|
2989
|
+
type: 'object',
|
|
2990
|
+
},
|
|
2991
|
+
},
|
|
2992
|
+
required: [
|
|
2993
|
+
'created_at',
|
|
2994
|
+
'message',
|
|
2995
|
+
'mutation_code',
|
|
2996
|
+
'from',
|
|
2997
|
+
'to',
|
|
2998
|
+
],
|
|
2999
|
+
type: 'object',
|
|
3000
|
+
},
|
|
3001
|
+
{
|
|
3002
|
+
description:
|
|
3003
|
+
'Seam is in the process of pushing an entrance membership update to the integrated access system.',
|
|
3004
|
+
properties: {
|
|
3005
|
+
created_at: {
|
|
3006
|
+
description:
|
|
3007
|
+
'Date and time at which the mutation was created.',
|
|
3008
|
+
format: 'date-time',
|
|
3009
|
+
type: 'string',
|
|
3010
|
+
},
|
|
3011
|
+
from: {
|
|
3012
|
+
description: 'Old entrance membership.',
|
|
3013
|
+
properties: {
|
|
3014
|
+
acs_entrance_id: {
|
|
3015
|
+
description: 'Old entrance ID.',
|
|
3016
|
+
format: 'uuid',
|
|
3017
|
+
nullable: true,
|
|
3018
|
+
type: 'string',
|
|
3019
|
+
},
|
|
3020
|
+
},
|
|
3021
|
+
required: ['acs_entrance_id'],
|
|
3022
|
+
type: 'object',
|
|
3023
|
+
},
|
|
3024
|
+
message: {
|
|
3025
|
+
description: 'Detailed description of the mutation.',
|
|
3026
|
+
type: 'string',
|
|
3027
|
+
},
|
|
3028
|
+
mutation_code: {
|
|
3029
|
+
description:
|
|
3030
|
+
'Mutation code to indicate that Seam is in the process of pushing updated entrance membership information to the integrated access system.',
|
|
3031
|
+
enum: ['updating_entrance_membership'],
|
|
3032
|
+
type: 'string',
|
|
3033
|
+
},
|
|
3034
|
+
to: {
|
|
3035
|
+
description: 'New entrance membership.',
|
|
3036
|
+
properties: {
|
|
3037
|
+
acs_entrance_id: {
|
|
3038
|
+
description: 'New entrance ID.',
|
|
3039
|
+
format: 'uuid',
|
|
3040
|
+
nullable: true,
|
|
3041
|
+
type: 'string',
|
|
3042
|
+
},
|
|
3043
|
+
},
|
|
3044
|
+
required: ['acs_entrance_id'],
|
|
3045
|
+
type: 'object',
|
|
3046
|
+
},
|
|
3047
|
+
},
|
|
3048
|
+
required: [
|
|
3049
|
+
'created_at',
|
|
3050
|
+
'message',
|
|
3051
|
+
'mutation_code',
|
|
3052
|
+
'from',
|
|
3053
|
+
'to',
|
|
3054
|
+
],
|
|
3055
|
+
type: 'object',
|
|
3056
|
+
},
|
|
3057
|
+
],
|
|
3058
|
+
},
|
|
3059
|
+
type: 'array',
|
|
3060
|
+
},
|
|
2771
3061
|
warnings: {
|
|
2772
3062
|
description: 'Warnings associated with the `acs_access_group`.',
|
|
2773
3063
|
items: {
|
|
@@ -2847,6 +3137,7 @@ export default {
|
|
|
2847
3137
|
'external_type_display_name',
|
|
2848
3138
|
'created_at',
|
|
2849
3139
|
'warnings',
|
|
3140
|
+
'pending_mutations',
|
|
2850
3141
|
'is_managed',
|
|
2851
3142
|
],
|
|
2852
3143
|
type: 'object',
|
|
@@ -26574,6 +26865,296 @@ export default {
|
|
|
26574
26865
|
},
|
|
26575
26866
|
is_managed: { enum: [false], type: 'boolean' },
|
|
26576
26867
|
name: { description: 'Name of the access group.', type: 'string' },
|
|
26868
|
+
pending_mutations: {
|
|
26869
|
+
description:
|
|
26870
|
+
'Collection of pending mutations for the access group. Represents operations that have been requested but not yet completed on the integrated access system.',
|
|
26871
|
+
items: {
|
|
26872
|
+
discriminator: { propertyName: 'mutation_code' },
|
|
26873
|
+
oneOf: [
|
|
26874
|
+
{
|
|
26875
|
+
description:
|
|
26876
|
+
'Seam is in the process of pushing an access group creation to the integrated access system.',
|
|
26877
|
+
properties: {
|
|
26878
|
+
created_at: {
|
|
26879
|
+
description:
|
|
26880
|
+
'Date and time at which the mutation was created.',
|
|
26881
|
+
format: 'date-time',
|
|
26882
|
+
type: 'string',
|
|
26883
|
+
},
|
|
26884
|
+
message: {
|
|
26885
|
+
description: 'Detailed description of the mutation.',
|
|
26886
|
+
type: 'string',
|
|
26887
|
+
},
|
|
26888
|
+
mutation_code: {
|
|
26889
|
+
description:
|
|
26890
|
+
'Mutation code to indicate that Seam is in the process of pushing an access group creation to the integrated access system.',
|
|
26891
|
+
enum: ['creating'],
|
|
26892
|
+
type: 'string',
|
|
26893
|
+
},
|
|
26894
|
+
},
|
|
26895
|
+
required: ['created_at', 'message', 'mutation_code'],
|
|
26896
|
+
type: 'object',
|
|
26897
|
+
},
|
|
26898
|
+
{
|
|
26899
|
+
description:
|
|
26900
|
+
'Seam is in the process of pushing an access group deletion to the integrated access system.',
|
|
26901
|
+
properties: {
|
|
26902
|
+
created_at: {
|
|
26903
|
+
description:
|
|
26904
|
+
'Date and time at which the mutation was created.',
|
|
26905
|
+
format: 'date-time',
|
|
26906
|
+
type: 'string',
|
|
26907
|
+
},
|
|
26908
|
+
message: {
|
|
26909
|
+
description: 'Detailed description of the mutation.',
|
|
26910
|
+
type: 'string',
|
|
26911
|
+
},
|
|
26912
|
+
mutation_code: {
|
|
26913
|
+
description:
|
|
26914
|
+
'Mutation code to indicate that Seam is in the process of pushing an access group deletion to the integrated access system.',
|
|
26915
|
+
enum: ['deleting'],
|
|
26916
|
+
type: 'string',
|
|
26917
|
+
},
|
|
26918
|
+
},
|
|
26919
|
+
required: ['created_at', 'message', 'mutation_code'],
|
|
26920
|
+
type: 'object',
|
|
26921
|
+
},
|
|
26922
|
+
{
|
|
26923
|
+
description:
|
|
26924
|
+
'Seam is in the process of pushing an access group information update to the integrated access system.',
|
|
26925
|
+
properties: {
|
|
26926
|
+
created_at: {
|
|
26927
|
+
description:
|
|
26928
|
+
'Date and time at which the mutation was created.',
|
|
26929
|
+
format: 'date-time',
|
|
26930
|
+
type: 'string',
|
|
26931
|
+
},
|
|
26932
|
+
from: {
|
|
26933
|
+
description: 'Old access group information.',
|
|
26934
|
+
properties: {
|
|
26935
|
+
name: {
|
|
26936
|
+
description: 'Name of the access group.',
|
|
26937
|
+
nullable: true,
|
|
26938
|
+
type: 'string',
|
|
26939
|
+
},
|
|
26940
|
+
},
|
|
26941
|
+
type: 'object',
|
|
26942
|
+
},
|
|
26943
|
+
message: {
|
|
26944
|
+
description: 'Detailed description of the mutation.',
|
|
26945
|
+
type: 'string',
|
|
26946
|
+
},
|
|
26947
|
+
mutation_code: {
|
|
26948
|
+
description:
|
|
26949
|
+
'Mutation code to indicate that Seam is in the process of pushing updated access group information to the integrated access system.',
|
|
26950
|
+
enum: ['updating_group_information'],
|
|
26951
|
+
type: 'string',
|
|
26952
|
+
},
|
|
26953
|
+
to: {
|
|
26954
|
+
description: 'New access group information.',
|
|
26955
|
+
properties: {
|
|
26956
|
+
name: {
|
|
26957
|
+
description: 'Name of the access group.',
|
|
26958
|
+
nullable: true,
|
|
26959
|
+
type: 'string',
|
|
26960
|
+
},
|
|
26961
|
+
},
|
|
26962
|
+
type: 'object',
|
|
26963
|
+
},
|
|
26964
|
+
},
|
|
26965
|
+
required: [
|
|
26966
|
+
'created_at',
|
|
26967
|
+
'message',
|
|
26968
|
+
'mutation_code',
|
|
26969
|
+
'from',
|
|
26970
|
+
'to',
|
|
26971
|
+
],
|
|
26972
|
+
type: 'object',
|
|
26973
|
+
},
|
|
26974
|
+
{
|
|
26975
|
+
description:
|
|
26976
|
+
'Seam is in the process of pushing an access schedule update to the integrated access system.',
|
|
26977
|
+
properties: {
|
|
26978
|
+
created_at: {
|
|
26979
|
+
description:
|
|
26980
|
+
'Date and time at which the mutation was created.',
|
|
26981
|
+
format: 'date-time',
|
|
26982
|
+
type: 'string',
|
|
26983
|
+
},
|
|
26984
|
+
from: {
|
|
26985
|
+
description: 'Old access schedule information.',
|
|
26986
|
+
properties: {
|
|
26987
|
+
ends_at: {
|
|
26988
|
+
description: 'Ending time for the access schedule.',
|
|
26989
|
+
format: 'date-time',
|
|
26990
|
+
nullable: true,
|
|
26991
|
+
type: 'string',
|
|
26992
|
+
},
|
|
26993
|
+
starts_at: {
|
|
26994
|
+
description: 'Starting time for the access schedule.',
|
|
26995
|
+
format: 'date-time',
|
|
26996
|
+
nullable: true,
|
|
26997
|
+
type: 'string',
|
|
26998
|
+
},
|
|
26999
|
+
},
|
|
27000
|
+
required: ['starts_at', 'ends_at'],
|
|
27001
|
+
type: 'object',
|
|
27002
|
+
},
|
|
27003
|
+
message: {
|
|
27004
|
+
description: 'Detailed description of the mutation.',
|
|
27005
|
+
type: 'string',
|
|
27006
|
+
},
|
|
27007
|
+
mutation_code: {
|
|
27008
|
+
description:
|
|
27009
|
+
'Mutation code to indicate that Seam is in the process of pushing updated access schedule information to the integrated access system.',
|
|
27010
|
+
enum: ['updating_access_schedule'],
|
|
27011
|
+
type: 'string',
|
|
27012
|
+
},
|
|
27013
|
+
to: {
|
|
27014
|
+
description: 'New access schedule information.',
|
|
27015
|
+
properties: {
|
|
27016
|
+
ends_at: {
|
|
27017
|
+
description: 'Ending time for the access schedule.',
|
|
27018
|
+
format: 'date-time',
|
|
27019
|
+
nullable: true,
|
|
27020
|
+
type: 'string',
|
|
27021
|
+
},
|
|
27022
|
+
starts_at: {
|
|
27023
|
+
description: 'Starting time for the access schedule.',
|
|
27024
|
+
format: 'date-time',
|
|
27025
|
+
nullable: true,
|
|
27026
|
+
type: 'string',
|
|
27027
|
+
},
|
|
27028
|
+
},
|
|
27029
|
+
required: ['starts_at', 'ends_at'],
|
|
27030
|
+
type: 'object',
|
|
27031
|
+
},
|
|
27032
|
+
},
|
|
27033
|
+
required: [
|
|
27034
|
+
'created_at',
|
|
27035
|
+
'message',
|
|
27036
|
+
'mutation_code',
|
|
27037
|
+
'from',
|
|
27038
|
+
'to',
|
|
27039
|
+
],
|
|
27040
|
+
type: 'object',
|
|
27041
|
+
},
|
|
27042
|
+
{
|
|
27043
|
+
description:
|
|
27044
|
+
'Seam is in the process of pushing a user membership update to the integrated access system.',
|
|
27045
|
+
properties: {
|
|
27046
|
+
created_at: {
|
|
27047
|
+
description:
|
|
27048
|
+
'Date and time at which the mutation was created.',
|
|
27049
|
+
format: 'date-time',
|
|
27050
|
+
type: 'string',
|
|
27051
|
+
},
|
|
27052
|
+
from: {
|
|
27053
|
+
description: 'Old user membership.',
|
|
27054
|
+
properties: {
|
|
27055
|
+
acs_user_id: {
|
|
27056
|
+
description: 'Old user ID.',
|
|
27057
|
+
format: 'uuid',
|
|
27058
|
+
nullable: true,
|
|
27059
|
+
type: 'string',
|
|
27060
|
+
},
|
|
27061
|
+
},
|
|
27062
|
+
required: ['acs_user_id'],
|
|
27063
|
+
type: 'object',
|
|
27064
|
+
},
|
|
27065
|
+
message: {
|
|
27066
|
+
description: 'Detailed description of the mutation.',
|
|
27067
|
+
type: 'string',
|
|
27068
|
+
},
|
|
27069
|
+
mutation_code: {
|
|
27070
|
+
description:
|
|
27071
|
+
'Mutation code to indicate that Seam is in the process of pushing updated user membership information to the integrated access system.',
|
|
27072
|
+
enum: ['updating_user_membership'],
|
|
27073
|
+
type: 'string',
|
|
27074
|
+
},
|
|
27075
|
+
to: {
|
|
27076
|
+
description: 'New user membership.',
|
|
27077
|
+
properties: {
|
|
27078
|
+
acs_user_id: {
|
|
27079
|
+
description: 'New user ID.',
|
|
27080
|
+
format: 'uuid',
|
|
27081
|
+
nullable: true,
|
|
27082
|
+
type: 'string',
|
|
27083
|
+
},
|
|
27084
|
+
},
|
|
27085
|
+
required: ['acs_user_id'],
|
|
27086
|
+
type: 'object',
|
|
27087
|
+
},
|
|
27088
|
+
},
|
|
27089
|
+
required: [
|
|
27090
|
+
'created_at',
|
|
27091
|
+
'message',
|
|
27092
|
+
'mutation_code',
|
|
27093
|
+
'from',
|
|
27094
|
+
'to',
|
|
27095
|
+
],
|
|
27096
|
+
type: 'object',
|
|
27097
|
+
},
|
|
27098
|
+
{
|
|
27099
|
+
description:
|
|
27100
|
+
'Seam is in the process of pushing an entrance membership update to the integrated access system.',
|
|
27101
|
+
properties: {
|
|
27102
|
+
created_at: {
|
|
27103
|
+
description:
|
|
27104
|
+
'Date and time at which the mutation was created.',
|
|
27105
|
+
format: 'date-time',
|
|
27106
|
+
type: 'string',
|
|
27107
|
+
},
|
|
27108
|
+
from: {
|
|
27109
|
+
description: 'Old entrance membership.',
|
|
27110
|
+
properties: {
|
|
27111
|
+
acs_entrance_id: {
|
|
27112
|
+
description: 'Old entrance ID.',
|
|
27113
|
+
format: 'uuid',
|
|
27114
|
+
nullable: true,
|
|
27115
|
+
type: 'string',
|
|
27116
|
+
},
|
|
27117
|
+
},
|
|
27118
|
+
required: ['acs_entrance_id'],
|
|
27119
|
+
type: 'object',
|
|
27120
|
+
},
|
|
27121
|
+
message: {
|
|
27122
|
+
description: 'Detailed description of the mutation.',
|
|
27123
|
+
type: 'string',
|
|
27124
|
+
},
|
|
27125
|
+
mutation_code: {
|
|
27126
|
+
description:
|
|
27127
|
+
'Mutation code to indicate that Seam is in the process of pushing updated entrance membership information to the integrated access system.',
|
|
27128
|
+
enum: ['updating_entrance_membership'],
|
|
27129
|
+
type: 'string',
|
|
27130
|
+
},
|
|
27131
|
+
to: {
|
|
27132
|
+
description: 'New entrance membership.',
|
|
27133
|
+
properties: {
|
|
27134
|
+
acs_entrance_id: {
|
|
27135
|
+
description: 'New entrance ID.',
|
|
27136
|
+
format: 'uuid',
|
|
27137
|
+
nullable: true,
|
|
27138
|
+
type: 'string',
|
|
27139
|
+
},
|
|
27140
|
+
},
|
|
27141
|
+
required: ['acs_entrance_id'],
|
|
27142
|
+
type: 'object',
|
|
27143
|
+
},
|
|
27144
|
+
},
|
|
27145
|
+
required: [
|
|
27146
|
+
'created_at',
|
|
27147
|
+
'message',
|
|
27148
|
+
'mutation_code',
|
|
27149
|
+
'from',
|
|
27150
|
+
'to',
|
|
27151
|
+
],
|
|
27152
|
+
type: 'object',
|
|
27153
|
+
},
|
|
27154
|
+
],
|
|
27155
|
+
},
|
|
27156
|
+
type: 'array',
|
|
27157
|
+
},
|
|
26577
27158
|
warnings: {
|
|
26578
27159
|
description: 'Warnings associated with the `acs_access_group`.',
|
|
26579
27160
|
items: {
|
|
@@ -26653,6 +27234,7 @@ export default {
|
|
|
26653
27234
|
'external_type_display_name',
|
|
26654
27235
|
'created_at',
|
|
26655
27236
|
'warnings',
|
|
27237
|
+
'pending_mutations',
|
|
26656
27238
|
'is_managed',
|
|
26657
27239
|
],
|
|
26658
27240
|
type: 'object',
|
|
@@ -62202,6 +62784,1224 @@ export default {
|
|
|
62202
62784
|
'x-undocumented': 'Internal endpoint for Console.',
|
|
62203
62785
|
},
|
|
62204
62786
|
},
|
|
62787
|
+
'/seam/customer/v1/customers/automations/get': {
|
|
62788
|
+
get: {
|
|
62789
|
+
description:
|
|
62790
|
+
'Gets the automation configuration for a specific customer.\nReturns the merged configuration (customer overrides on top of workspace defaults).',
|
|
62791
|
+
operationId: 'seamCustomerV1CustomersAutomationsGetGet',
|
|
62792
|
+
parameters: [
|
|
62793
|
+
{
|
|
62794
|
+
in: 'query',
|
|
62795
|
+
name: 'customer_key',
|
|
62796
|
+
required: true,
|
|
62797
|
+
schema: { description: 'Key of the customer.', type: 'string' },
|
|
62798
|
+
},
|
|
62799
|
+
],
|
|
62800
|
+
responses: {
|
|
62801
|
+
200: {
|
|
62802
|
+
content: {
|
|
62803
|
+
'application/json': {
|
|
62804
|
+
schema: {
|
|
62805
|
+
properties: {
|
|
62806
|
+
automation: {
|
|
62807
|
+
properties: {
|
|
62808
|
+
access_rules: {
|
|
62809
|
+
properties: {
|
|
62810
|
+
reservation_created: {
|
|
62811
|
+
properties: {
|
|
62812
|
+
config: {
|
|
62813
|
+
properties: {
|
|
62814
|
+
access_methods: {
|
|
62815
|
+
items: {
|
|
62816
|
+
enum: ['card', 'mobile_key', 'code'],
|
|
62817
|
+
type: 'string',
|
|
62818
|
+
},
|
|
62819
|
+
minItems: 1,
|
|
62820
|
+
type: 'array',
|
|
62821
|
+
},
|
|
62822
|
+
card_count_on_reservation_create: {
|
|
62823
|
+
minimum: 0,
|
|
62824
|
+
type: 'integer',
|
|
62825
|
+
},
|
|
62826
|
+
code_count_on_reservation_create: {
|
|
62827
|
+
minimum: 0,
|
|
62828
|
+
type: 'integer',
|
|
62829
|
+
},
|
|
62830
|
+
instant_key_max_use_count: {
|
|
62831
|
+
minimum: 1,
|
|
62832
|
+
type: 'integer',
|
|
62833
|
+
},
|
|
62834
|
+
method_issuance_strategy: {
|
|
62835
|
+
enum: [
|
|
62836
|
+
'first_available',
|
|
62837
|
+
'first_two_available',
|
|
62838
|
+
'all_available',
|
|
62839
|
+
],
|
|
62840
|
+
type: 'string',
|
|
62841
|
+
},
|
|
62842
|
+
},
|
|
62843
|
+
required: [
|
|
62844
|
+
'access_methods',
|
|
62845
|
+
'method_issuance_strategy',
|
|
62846
|
+
],
|
|
62847
|
+
type: 'object',
|
|
62848
|
+
},
|
|
62849
|
+
rule: {
|
|
62850
|
+
enum: ['reservation_created'],
|
|
62851
|
+
type: 'string',
|
|
62852
|
+
},
|
|
62853
|
+
},
|
|
62854
|
+
required: ['rule', 'config'],
|
|
62855
|
+
type: 'object',
|
|
62856
|
+
},
|
|
62857
|
+
reservation_deleted: {
|
|
62858
|
+
properties: {
|
|
62859
|
+
config: {
|
|
62860
|
+
$ref: '#/components/schemas/access_code',
|
|
62861
|
+
},
|
|
62862
|
+
rule: {
|
|
62863
|
+
enum: ['reservation_deleted'],
|
|
62864
|
+
type: 'string',
|
|
62865
|
+
},
|
|
62866
|
+
},
|
|
62867
|
+
required: ['rule'],
|
|
62868
|
+
type: 'object',
|
|
62869
|
+
},
|
|
62870
|
+
reservation_spaces_updated: {
|
|
62871
|
+
properties: {
|
|
62872
|
+
config: {
|
|
62873
|
+
$ref: '#/components/schemas/access_code',
|
|
62874
|
+
},
|
|
62875
|
+
rule: {
|
|
62876
|
+
enum: ['reservation_spaces_updated'],
|
|
62877
|
+
type: 'string',
|
|
62878
|
+
},
|
|
62879
|
+
},
|
|
62880
|
+
required: ['rule'],
|
|
62881
|
+
type: 'object',
|
|
62882
|
+
},
|
|
62883
|
+
reservation_time_updated: {
|
|
62884
|
+
properties: {
|
|
62885
|
+
config: {
|
|
62886
|
+
$ref: '#/components/schemas/access_code',
|
|
62887
|
+
},
|
|
62888
|
+
rule: {
|
|
62889
|
+
enum: ['reservation_time_updated'],
|
|
62890
|
+
type: 'string',
|
|
62891
|
+
},
|
|
62892
|
+
},
|
|
62893
|
+
required: ['rule'],
|
|
62894
|
+
type: 'object',
|
|
62895
|
+
},
|
|
62896
|
+
space_name_updated: {
|
|
62897
|
+
properties: {
|
|
62898
|
+
config: {
|
|
62899
|
+
$ref: '#/components/schemas/access_code',
|
|
62900
|
+
},
|
|
62901
|
+
rule: {
|
|
62902
|
+
enum: ['space_name_updated'],
|
|
62903
|
+
type: 'string',
|
|
62904
|
+
},
|
|
62905
|
+
},
|
|
62906
|
+
required: ['rule'],
|
|
62907
|
+
type: 'object',
|
|
62908
|
+
},
|
|
62909
|
+
staff_member_created: {
|
|
62910
|
+
properties: {
|
|
62911
|
+
config: {
|
|
62912
|
+
$ref: '#/components/schemas/access_code',
|
|
62913
|
+
},
|
|
62914
|
+
rule: {
|
|
62915
|
+
enum: ['staff_member_created'],
|
|
62916
|
+
type: 'string',
|
|
62917
|
+
},
|
|
62918
|
+
},
|
|
62919
|
+
required: ['rule', 'config'],
|
|
62920
|
+
type: 'object',
|
|
62921
|
+
},
|
|
62922
|
+
staff_member_name_updated: {
|
|
62923
|
+
properties: {
|
|
62924
|
+
config: {
|
|
62925
|
+
$ref: '#/components/schemas/access_code',
|
|
62926
|
+
},
|
|
62927
|
+
rule: {
|
|
62928
|
+
enum: ['staff_member_name_updated'],
|
|
62929
|
+
type: 'string',
|
|
62930
|
+
},
|
|
62931
|
+
},
|
|
62932
|
+
required: ['rule'],
|
|
62933
|
+
type: 'object',
|
|
62934
|
+
},
|
|
62935
|
+
user_identity_name_updated: {
|
|
62936
|
+
properties: {
|
|
62937
|
+
config: {
|
|
62938
|
+
$ref: '#/components/schemas/access_code',
|
|
62939
|
+
},
|
|
62940
|
+
rule: {
|
|
62941
|
+
enum: ['user_identity_name_updated'],
|
|
62942
|
+
type: 'string',
|
|
62943
|
+
},
|
|
62944
|
+
},
|
|
62945
|
+
required: ['rule'],
|
|
62946
|
+
type: 'object',
|
|
62947
|
+
},
|
|
62948
|
+
},
|
|
62949
|
+
type: 'object',
|
|
62950
|
+
},
|
|
62951
|
+
climate_rules: {
|
|
62952
|
+
properties: {
|
|
62953
|
+
rules: {
|
|
62954
|
+
properties: {
|
|
62955
|
+
reservation_created: {
|
|
62956
|
+
properties: {
|
|
62957
|
+
automated_occupied_preset: {
|
|
62958
|
+
properties: {
|
|
62959
|
+
cooling_set_point_celsius: {
|
|
62960
|
+
format: 'float',
|
|
62961
|
+
type: 'number',
|
|
62962
|
+
},
|
|
62963
|
+
cooling_set_point_fahrenheit: {
|
|
62964
|
+
format: 'float',
|
|
62965
|
+
type: 'number',
|
|
62966
|
+
},
|
|
62967
|
+
fan_mode: {
|
|
62968
|
+
enum: ['on', 'auto', 'circulate'],
|
|
62969
|
+
type: 'string',
|
|
62970
|
+
},
|
|
62971
|
+
heating_set_point_celsius: {
|
|
62972
|
+
format: 'float',
|
|
62973
|
+
type: 'number',
|
|
62974
|
+
},
|
|
62975
|
+
heating_set_point_fahrenheit: {
|
|
62976
|
+
format: 'float',
|
|
62977
|
+
type: 'number',
|
|
62978
|
+
},
|
|
62979
|
+
is_override_allowed: {
|
|
62980
|
+
type: 'boolean',
|
|
62981
|
+
},
|
|
62982
|
+
max_override_period_minutes: {
|
|
62983
|
+
format: 'float',
|
|
62984
|
+
type: 'number',
|
|
62985
|
+
},
|
|
62986
|
+
mode: {
|
|
62987
|
+
enum: ['heat', 'cool', 'auto'],
|
|
62988
|
+
type: 'string',
|
|
62989
|
+
},
|
|
62990
|
+
},
|
|
62991
|
+
required: [
|
|
62992
|
+
'mode',
|
|
62993
|
+
'fan_mode',
|
|
62994
|
+
'is_override_allowed',
|
|
62995
|
+
'max_override_period_minutes',
|
|
62996
|
+
],
|
|
62997
|
+
type: 'object',
|
|
62998
|
+
},
|
|
62999
|
+
automated_unoccupied_preset: {
|
|
63000
|
+
properties: {
|
|
63001
|
+
cooling_set_point_celsius: {
|
|
63002
|
+
format: 'float',
|
|
63003
|
+
type: 'number',
|
|
63004
|
+
},
|
|
63005
|
+
cooling_set_point_fahrenheit: {
|
|
63006
|
+
format: 'float',
|
|
63007
|
+
type: 'number',
|
|
63008
|
+
},
|
|
63009
|
+
fan_mode: {
|
|
63010
|
+
enum: ['on', 'auto', 'circulate'],
|
|
63011
|
+
type: 'string',
|
|
63012
|
+
},
|
|
63013
|
+
heating_set_point_celsius: {
|
|
63014
|
+
format: 'float',
|
|
63015
|
+
type: 'number',
|
|
63016
|
+
},
|
|
63017
|
+
heating_set_point_fahrenheit: {
|
|
63018
|
+
format: 'float',
|
|
63019
|
+
type: 'number',
|
|
63020
|
+
},
|
|
63021
|
+
is_override_allowed: {
|
|
63022
|
+
type: 'boolean',
|
|
63023
|
+
},
|
|
63024
|
+
max_override_period_minutes: {
|
|
63025
|
+
format: 'float',
|
|
63026
|
+
type: 'number',
|
|
63027
|
+
},
|
|
63028
|
+
mode: {
|
|
63029
|
+
enum: ['heat', 'cool', 'auto'],
|
|
63030
|
+
type: 'string',
|
|
63031
|
+
},
|
|
63032
|
+
},
|
|
63033
|
+
required: [
|
|
63034
|
+
'mode',
|
|
63035
|
+
'fan_mode',
|
|
63036
|
+
'is_override_allowed',
|
|
63037
|
+
'max_override_period_minutes',
|
|
63038
|
+
],
|
|
63039
|
+
type: 'object',
|
|
63040
|
+
},
|
|
63041
|
+
occupied_preset_key: { type: 'string' },
|
|
63042
|
+
precondition_minutes_before_reservation: {
|
|
63043
|
+
format: 'float',
|
|
63044
|
+
type: 'number',
|
|
63045
|
+
},
|
|
63046
|
+
unoccupied_preset_key: { type: 'string' },
|
|
63047
|
+
},
|
|
63048
|
+
type: 'object',
|
|
63049
|
+
},
|
|
63050
|
+
reservation_deleted: {
|
|
63051
|
+
$ref: '#/components/schemas/access_code',
|
|
63052
|
+
},
|
|
63053
|
+
reservation_time_updated: {
|
|
63054
|
+
$ref: '#/components/schemas/access_code',
|
|
63055
|
+
},
|
|
63056
|
+
},
|
|
63057
|
+
type: 'object',
|
|
63058
|
+
},
|
|
63059
|
+
},
|
|
63060
|
+
required: ['rules'],
|
|
63061
|
+
type: 'object',
|
|
63062
|
+
},
|
|
63063
|
+
},
|
|
63064
|
+
type: 'object',
|
|
63065
|
+
},
|
|
63066
|
+
ok: { type: 'boolean' },
|
|
63067
|
+
},
|
|
63068
|
+
required: ['automation', 'ok'],
|
|
63069
|
+
type: 'object',
|
|
63070
|
+
},
|
|
63071
|
+
},
|
|
63072
|
+
},
|
|
63073
|
+
description: 'OK',
|
|
63074
|
+
},
|
|
63075
|
+
400: { description: 'Bad Request' },
|
|
63076
|
+
401: { description: 'Unauthorized' },
|
|
63077
|
+
},
|
|
63078
|
+
security: [
|
|
63079
|
+
{ pat_with_workspace: [] },
|
|
63080
|
+
{ console_session_with_workspace: [] },
|
|
63081
|
+
{ api_key: [] },
|
|
63082
|
+
],
|
|
63083
|
+
summary: '/seam/customer/v1/customers/automations/get',
|
|
63084
|
+
tags: [],
|
|
63085
|
+
'x-fern-sdk-group-name': [
|
|
63086
|
+
'seam',
|
|
63087
|
+
'customer',
|
|
63088
|
+
'v1',
|
|
63089
|
+
'customers',
|
|
63090
|
+
'automations',
|
|
63091
|
+
],
|
|
63092
|
+
'x-fern-sdk-method-name': 'get',
|
|
63093
|
+
'x-fern-sdk-return-value': 'automation',
|
|
63094
|
+
'x-response-key': 'automation',
|
|
63095
|
+
'x-title': 'Get Customer Automation Configuration',
|
|
63096
|
+
},
|
|
63097
|
+
post: {
|
|
63098
|
+
description:
|
|
63099
|
+
'Gets the automation configuration for a specific customer.\nReturns the merged configuration (customer overrides on top of workspace defaults).',
|
|
63100
|
+
operationId: 'seamCustomerV1CustomersAutomationsGetPost',
|
|
63101
|
+
requestBody: {
|
|
63102
|
+
content: {
|
|
63103
|
+
'application/json': {
|
|
63104
|
+
schema: {
|
|
63105
|
+
properties: {
|
|
63106
|
+
customer_key: {
|
|
63107
|
+
description: 'Key of the customer.',
|
|
63108
|
+
type: 'string',
|
|
63109
|
+
},
|
|
63110
|
+
},
|
|
63111
|
+
required: ['customer_key'],
|
|
63112
|
+
type: 'object',
|
|
63113
|
+
},
|
|
63114
|
+
},
|
|
63115
|
+
},
|
|
63116
|
+
},
|
|
63117
|
+
responses: {
|
|
63118
|
+
200: {
|
|
63119
|
+
content: {
|
|
63120
|
+
'application/json': {
|
|
63121
|
+
schema: {
|
|
63122
|
+
properties: {
|
|
63123
|
+
automation: {
|
|
63124
|
+
properties: {
|
|
63125
|
+
access_rules: {
|
|
63126
|
+
properties: {
|
|
63127
|
+
reservation_created: {
|
|
63128
|
+
properties: {
|
|
63129
|
+
config: {
|
|
63130
|
+
properties: {
|
|
63131
|
+
access_methods: {
|
|
63132
|
+
items: {
|
|
63133
|
+
enum: ['card', 'mobile_key', 'code'],
|
|
63134
|
+
type: 'string',
|
|
63135
|
+
},
|
|
63136
|
+
minItems: 1,
|
|
63137
|
+
type: 'array',
|
|
63138
|
+
},
|
|
63139
|
+
card_count_on_reservation_create: {
|
|
63140
|
+
minimum: 0,
|
|
63141
|
+
type: 'integer',
|
|
63142
|
+
},
|
|
63143
|
+
code_count_on_reservation_create: {
|
|
63144
|
+
minimum: 0,
|
|
63145
|
+
type: 'integer',
|
|
63146
|
+
},
|
|
63147
|
+
instant_key_max_use_count: {
|
|
63148
|
+
minimum: 1,
|
|
63149
|
+
type: 'integer',
|
|
63150
|
+
},
|
|
63151
|
+
method_issuance_strategy: {
|
|
63152
|
+
enum: [
|
|
63153
|
+
'first_available',
|
|
63154
|
+
'first_two_available',
|
|
63155
|
+
'all_available',
|
|
63156
|
+
],
|
|
63157
|
+
type: 'string',
|
|
63158
|
+
},
|
|
63159
|
+
},
|
|
63160
|
+
required: [
|
|
63161
|
+
'access_methods',
|
|
63162
|
+
'method_issuance_strategy',
|
|
63163
|
+
],
|
|
63164
|
+
type: 'object',
|
|
63165
|
+
},
|
|
63166
|
+
rule: {
|
|
63167
|
+
enum: ['reservation_created'],
|
|
63168
|
+
type: 'string',
|
|
63169
|
+
},
|
|
63170
|
+
},
|
|
63171
|
+
required: ['rule', 'config'],
|
|
63172
|
+
type: 'object',
|
|
63173
|
+
},
|
|
63174
|
+
reservation_deleted: {
|
|
63175
|
+
properties: {
|
|
63176
|
+
config: {
|
|
63177
|
+
$ref: '#/components/schemas/access_code',
|
|
63178
|
+
},
|
|
63179
|
+
rule: {
|
|
63180
|
+
enum: ['reservation_deleted'],
|
|
63181
|
+
type: 'string',
|
|
63182
|
+
},
|
|
63183
|
+
},
|
|
63184
|
+
required: ['rule'],
|
|
63185
|
+
type: 'object',
|
|
63186
|
+
},
|
|
63187
|
+
reservation_spaces_updated: {
|
|
63188
|
+
properties: {
|
|
63189
|
+
config: {
|
|
63190
|
+
$ref: '#/components/schemas/access_code',
|
|
63191
|
+
},
|
|
63192
|
+
rule: {
|
|
63193
|
+
enum: ['reservation_spaces_updated'],
|
|
63194
|
+
type: 'string',
|
|
63195
|
+
},
|
|
63196
|
+
},
|
|
63197
|
+
required: ['rule'],
|
|
63198
|
+
type: 'object',
|
|
63199
|
+
},
|
|
63200
|
+
reservation_time_updated: {
|
|
63201
|
+
properties: {
|
|
63202
|
+
config: {
|
|
63203
|
+
$ref: '#/components/schemas/access_code',
|
|
63204
|
+
},
|
|
63205
|
+
rule: {
|
|
63206
|
+
enum: ['reservation_time_updated'],
|
|
63207
|
+
type: 'string',
|
|
63208
|
+
},
|
|
63209
|
+
},
|
|
63210
|
+
required: ['rule'],
|
|
63211
|
+
type: 'object',
|
|
63212
|
+
},
|
|
63213
|
+
space_name_updated: {
|
|
63214
|
+
properties: {
|
|
63215
|
+
config: {
|
|
63216
|
+
$ref: '#/components/schemas/access_code',
|
|
63217
|
+
},
|
|
63218
|
+
rule: {
|
|
63219
|
+
enum: ['space_name_updated'],
|
|
63220
|
+
type: 'string',
|
|
63221
|
+
},
|
|
63222
|
+
},
|
|
63223
|
+
required: ['rule'],
|
|
63224
|
+
type: 'object',
|
|
63225
|
+
},
|
|
63226
|
+
staff_member_created: {
|
|
63227
|
+
properties: {
|
|
63228
|
+
config: {
|
|
63229
|
+
$ref: '#/components/schemas/access_code',
|
|
63230
|
+
},
|
|
63231
|
+
rule: {
|
|
63232
|
+
enum: ['staff_member_created'],
|
|
63233
|
+
type: 'string',
|
|
63234
|
+
},
|
|
63235
|
+
},
|
|
63236
|
+
required: ['rule', 'config'],
|
|
63237
|
+
type: 'object',
|
|
63238
|
+
},
|
|
63239
|
+
staff_member_name_updated: {
|
|
63240
|
+
properties: {
|
|
63241
|
+
config: {
|
|
63242
|
+
$ref: '#/components/schemas/access_code',
|
|
63243
|
+
},
|
|
63244
|
+
rule: {
|
|
63245
|
+
enum: ['staff_member_name_updated'],
|
|
63246
|
+
type: 'string',
|
|
63247
|
+
},
|
|
63248
|
+
},
|
|
63249
|
+
required: ['rule'],
|
|
63250
|
+
type: 'object',
|
|
63251
|
+
},
|
|
63252
|
+
user_identity_name_updated: {
|
|
63253
|
+
properties: {
|
|
63254
|
+
config: {
|
|
63255
|
+
$ref: '#/components/schemas/access_code',
|
|
63256
|
+
},
|
|
63257
|
+
rule: {
|
|
63258
|
+
enum: ['user_identity_name_updated'],
|
|
63259
|
+
type: 'string',
|
|
63260
|
+
},
|
|
63261
|
+
},
|
|
63262
|
+
required: ['rule'],
|
|
63263
|
+
type: 'object',
|
|
63264
|
+
},
|
|
63265
|
+
},
|
|
63266
|
+
type: 'object',
|
|
63267
|
+
},
|
|
63268
|
+
climate_rules: {
|
|
63269
|
+
properties: {
|
|
63270
|
+
rules: {
|
|
63271
|
+
properties: {
|
|
63272
|
+
reservation_created: {
|
|
63273
|
+
properties: {
|
|
63274
|
+
automated_occupied_preset: {
|
|
63275
|
+
properties: {
|
|
63276
|
+
cooling_set_point_celsius: {
|
|
63277
|
+
format: 'float',
|
|
63278
|
+
type: 'number',
|
|
63279
|
+
},
|
|
63280
|
+
cooling_set_point_fahrenheit: {
|
|
63281
|
+
format: 'float',
|
|
63282
|
+
type: 'number',
|
|
63283
|
+
},
|
|
63284
|
+
fan_mode: {
|
|
63285
|
+
enum: ['on', 'auto', 'circulate'],
|
|
63286
|
+
type: 'string',
|
|
63287
|
+
},
|
|
63288
|
+
heating_set_point_celsius: {
|
|
63289
|
+
format: 'float',
|
|
63290
|
+
type: 'number',
|
|
63291
|
+
},
|
|
63292
|
+
heating_set_point_fahrenheit: {
|
|
63293
|
+
format: 'float',
|
|
63294
|
+
type: 'number',
|
|
63295
|
+
},
|
|
63296
|
+
is_override_allowed: {
|
|
63297
|
+
type: 'boolean',
|
|
63298
|
+
},
|
|
63299
|
+
max_override_period_minutes: {
|
|
63300
|
+
format: 'float',
|
|
63301
|
+
type: 'number',
|
|
63302
|
+
},
|
|
63303
|
+
mode: {
|
|
63304
|
+
enum: ['heat', 'cool', 'auto'],
|
|
63305
|
+
type: 'string',
|
|
63306
|
+
},
|
|
63307
|
+
},
|
|
63308
|
+
required: [
|
|
63309
|
+
'mode',
|
|
63310
|
+
'fan_mode',
|
|
63311
|
+
'is_override_allowed',
|
|
63312
|
+
'max_override_period_minutes',
|
|
63313
|
+
],
|
|
63314
|
+
type: 'object',
|
|
63315
|
+
},
|
|
63316
|
+
automated_unoccupied_preset: {
|
|
63317
|
+
properties: {
|
|
63318
|
+
cooling_set_point_celsius: {
|
|
63319
|
+
format: 'float',
|
|
63320
|
+
type: 'number',
|
|
63321
|
+
},
|
|
63322
|
+
cooling_set_point_fahrenheit: {
|
|
63323
|
+
format: 'float',
|
|
63324
|
+
type: 'number',
|
|
63325
|
+
},
|
|
63326
|
+
fan_mode: {
|
|
63327
|
+
enum: ['on', 'auto', 'circulate'],
|
|
63328
|
+
type: 'string',
|
|
63329
|
+
},
|
|
63330
|
+
heating_set_point_celsius: {
|
|
63331
|
+
format: 'float',
|
|
63332
|
+
type: 'number',
|
|
63333
|
+
},
|
|
63334
|
+
heating_set_point_fahrenheit: {
|
|
63335
|
+
format: 'float',
|
|
63336
|
+
type: 'number',
|
|
63337
|
+
},
|
|
63338
|
+
is_override_allowed: {
|
|
63339
|
+
type: 'boolean',
|
|
63340
|
+
},
|
|
63341
|
+
max_override_period_minutes: {
|
|
63342
|
+
format: 'float',
|
|
63343
|
+
type: 'number',
|
|
63344
|
+
},
|
|
63345
|
+
mode: {
|
|
63346
|
+
enum: ['heat', 'cool', 'auto'],
|
|
63347
|
+
type: 'string',
|
|
63348
|
+
},
|
|
63349
|
+
},
|
|
63350
|
+
required: [
|
|
63351
|
+
'mode',
|
|
63352
|
+
'fan_mode',
|
|
63353
|
+
'is_override_allowed',
|
|
63354
|
+
'max_override_period_minutes',
|
|
63355
|
+
],
|
|
63356
|
+
type: 'object',
|
|
63357
|
+
},
|
|
63358
|
+
occupied_preset_key: { type: 'string' },
|
|
63359
|
+
precondition_minutes_before_reservation: {
|
|
63360
|
+
format: 'float',
|
|
63361
|
+
type: 'number',
|
|
63362
|
+
},
|
|
63363
|
+
unoccupied_preset_key: { type: 'string' },
|
|
63364
|
+
},
|
|
63365
|
+
type: 'object',
|
|
63366
|
+
},
|
|
63367
|
+
reservation_deleted: {
|
|
63368
|
+
$ref: '#/components/schemas/access_code',
|
|
63369
|
+
},
|
|
63370
|
+
reservation_time_updated: {
|
|
63371
|
+
$ref: '#/components/schemas/access_code',
|
|
63372
|
+
},
|
|
63373
|
+
},
|
|
63374
|
+
type: 'object',
|
|
63375
|
+
},
|
|
63376
|
+
},
|
|
63377
|
+
required: ['rules'],
|
|
63378
|
+
type: 'object',
|
|
63379
|
+
},
|
|
63380
|
+
},
|
|
63381
|
+
type: 'object',
|
|
63382
|
+
},
|
|
63383
|
+
ok: { type: 'boolean' },
|
|
63384
|
+
},
|
|
63385
|
+
required: ['automation', 'ok'],
|
|
63386
|
+
type: 'object',
|
|
63387
|
+
},
|
|
63388
|
+
},
|
|
63389
|
+
},
|
|
63390
|
+
description: 'OK',
|
|
63391
|
+
},
|
|
63392
|
+
400: { description: 'Bad Request' },
|
|
63393
|
+
401: { description: 'Unauthorized' },
|
|
63394
|
+
},
|
|
63395
|
+
security: [
|
|
63396
|
+
{ pat_with_workspace: [] },
|
|
63397
|
+
{ console_session_with_workspace: [] },
|
|
63398
|
+
{ api_key: [] },
|
|
63399
|
+
],
|
|
63400
|
+
summary: '/seam/customer/v1/customers/automations/get',
|
|
63401
|
+
tags: [],
|
|
63402
|
+
'x-fern-sdk-group-name': [
|
|
63403
|
+
'seam',
|
|
63404
|
+
'customer',
|
|
63405
|
+
'v1',
|
|
63406
|
+
'customers',
|
|
63407
|
+
'automations',
|
|
63408
|
+
],
|
|
63409
|
+
'x-fern-sdk-method-name': 'get',
|
|
63410
|
+
'x-fern-sdk-return-value': 'automation',
|
|
63411
|
+
'x-response-key': 'automation',
|
|
63412
|
+
'x-title': 'Get Customer Automation Configuration',
|
|
63413
|
+
},
|
|
63414
|
+
},
|
|
63415
|
+
'/seam/customer/v1/customers/automations/update': {
|
|
63416
|
+
patch: {
|
|
63417
|
+
description:
|
|
63418
|
+
'Updates the automation configuration for a specific customer.\nCreates a customer-level override if one does not already exist.',
|
|
63419
|
+
operationId: 'seamCustomerV1CustomersAutomationsUpdatePatch',
|
|
63420
|
+
requestBody: {
|
|
63421
|
+
content: {
|
|
63422
|
+
'application/json': {
|
|
63423
|
+
schema: {
|
|
63424
|
+
properties: {
|
|
63425
|
+
access_rules: {
|
|
63426
|
+
description: 'Access automation rules configuration.',
|
|
63427
|
+
properties: {
|
|
63428
|
+
reservation_created: {
|
|
63429
|
+
properties: {
|
|
63430
|
+
config: {
|
|
63431
|
+
properties: {
|
|
63432
|
+
access_methods: {
|
|
63433
|
+
items: {
|
|
63434
|
+
enum: ['card', 'mobile_key', 'code'],
|
|
63435
|
+
type: 'string',
|
|
63436
|
+
},
|
|
63437
|
+
minItems: 1,
|
|
63438
|
+
type: 'array',
|
|
63439
|
+
},
|
|
63440
|
+
card_count_on_reservation_create: {
|
|
63441
|
+
minimum: 0,
|
|
63442
|
+
type: 'integer',
|
|
63443
|
+
},
|
|
63444
|
+
code_count_on_reservation_create: {
|
|
63445
|
+
minimum: 0,
|
|
63446
|
+
type: 'integer',
|
|
63447
|
+
},
|
|
63448
|
+
instant_key_max_use_count: {
|
|
63449
|
+
minimum: 1,
|
|
63450
|
+
type: 'integer',
|
|
63451
|
+
},
|
|
63452
|
+
method_issuance_strategy: {
|
|
63453
|
+
enum: [
|
|
63454
|
+
'first_available',
|
|
63455
|
+
'first_two_available',
|
|
63456
|
+
'all_available',
|
|
63457
|
+
],
|
|
63458
|
+
type: 'string',
|
|
63459
|
+
},
|
|
63460
|
+
},
|
|
63461
|
+
required: [
|
|
63462
|
+
'access_methods',
|
|
63463
|
+
'method_issuance_strategy',
|
|
63464
|
+
],
|
|
63465
|
+
type: 'object',
|
|
63466
|
+
},
|
|
63467
|
+
rule: {
|
|
63468
|
+
enum: ['reservation_created'],
|
|
63469
|
+
type: 'string',
|
|
63470
|
+
},
|
|
63471
|
+
},
|
|
63472
|
+
required: ['rule', 'config'],
|
|
63473
|
+
type: 'object',
|
|
63474
|
+
},
|
|
63475
|
+
reservation_deleted: {
|
|
63476
|
+
properties: {
|
|
63477
|
+
config: { properties: {}, type: 'object' },
|
|
63478
|
+
rule: {
|
|
63479
|
+
enum: ['reservation_deleted'],
|
|
63480
|
+
type: 'string',
|
|
63481
|
+
},
|
|
63482
|
+
},
|
|
63483
|
+
required: ['rule'],
|
|
63484
|
+
type: 'object',
|
|
63485
|
+
},
|
|
63486
|
+
reservation_spaces_updated: {
|
|
63487
|
+
properties: {
|
|
63488
|
+
config: { properties: {}, type: 'object' },
|
|
63489
|
+
rule: {
|
|
63490
|
+
enum: ['reservation_spaces_updated'],
|
|
63491
|
+
type: 'string',
|
|
63492
|
+
},
|
|
63493
|
+
},
|
|
63494
|
+
required: ['rule'],
|
|
63495
|
+
type: 'object',
|
|
63496
|
+
},
|
|
63497
|
+
reservation_time_updated: {
|
|
63498
|
+
properties: {
|
|
63499
|
+
config: { properties: {}, type: 'object' },
|
|
63500
|
+
rule: {
|
|
63501
|
+
enum: ['reservation_time_updated'],
|
|
63502
|
+
type: 'string',
|
|
63503
|
+
},
|
|
63504
|
+
},
|
|
63505
|
+
required: ['rule'],
|
|
63506
|
+
type: 'object',
|
|
63507
|
+
},
|
|
63508
|
+
space_name_updated: {
|
|
63509
|
+
properties: {
|
|
63510
|
+
config: { properties: {}, type: 'object' },
|
|
63511
|
+
rule: {
|
|
63512
|
+
enum: ['space_name_updated'],
|
|
63513
|
+
type: 'string',
|
|
63514
|
+
},
|
|
63515
|
+
},
|
|
63516
|
+
required: ['rule'],
|
|
63517
|
+
type: 'object',
|
|
63518
|
+
},
|
|
63519
|
+
staff_member_created: {
|
|
63520
|
+
properties: {
|
|
63521
|
+
config: { properties: {}, type: 'object' },
|
|
63522
|
+
rule: {
|
|
63523
|
+
enum: ['staff_member_created'],
|
|
63524
|
+
type: 'string',
|
|
63525
|
+
},
|
|
63526
|
+
},
|
|
63527
|
+
required: ['rule', 'config'],
|
|
63528
|
+
type: 'object',
|
|
63529
|
+
},
|
|
63530
|
+
staff_member_name_updated: {
|
|
63531
|
+
properties: {
|
|
63532
|
+
config: { properties: {}, type: 'object' },
|
|
63533
|
+
rule: {
|
|
63534
|
+
enum: ['staff_member_name_updated'],
|
|
63535
|
+
type: 'string',
|
|
63536
|
+
},
|
|
63537
|
+
},
|
|
63538
|
+
required: ['rule'],
|
|
63539
|
+
type: 'object',
|
|
63540
|
+
},
|
|
63541
|
+
user_identity_name_updated: {
|
|
63542
|
+
properties: {
|
|
63543
|
+
config: { properties: {}, type: 'object' },
|
|
63544
|
+
rule: {
|
|
63545
|
+
enum: ['user_identity_name_updated'],
|
|
63546
|
+
type: 'string',
|
|
63547
|
+
},
|
|
63548
|
+
},
|
|
63549
|
+
required: ['rule'],
|
|
63550
|
+
type: 'object',
|
|
63551
|
+
},
|
|
63552
|
+
},
|
|
63553
|
+
type: 'object',
|
|
63554
|
+
},
|
|
63555
|
+
climate_rules: {
|
|
63556
|
+
description: 'Climate automation rules configuration.',
|
|
63557
|
+
properties: {
|
|
63558
|
+
rules: {
|
|
63559
|
+
properties: {
|
|
63560
|
+
reservation_created: {
|
|
63561
|
+
properties: {
|
|
63562
|
+
automated_occupied_preset: {
|
|
63563
|
+
properties: {
|
|
63564
|
+
cooling_set_point_celsius: {
|
|
63565
|
+
format: 'float',
|
|
63566
|
+
type: 'number',
|
|
63567
|
+
},
|
|
63568
|
+
cooling_set_point_fahrenheit: {
|
|
63569
|
+
format: 'float',
|
|
63570
|
+
type: 'number',
|
|
63571
|
+
},
|
|
63572
|
+
fan_mode: {
|
|
63573
|
+
enum: ['on', 'auto', 'circulate'],
|
|
63574
|
+
type: 'string',
|
|
63575
|
+
},
|
|
63576
|
+
heating_set_point_celsius: {
|
|
63577
|
+
format: 'float',
|
|
63578
|
+
type: 'number',
|
|
63579
|
+
},
|
|
63580
|
+
heating_set_point_fahrenheit: {
|
|
63581
|
+
format: 'float',
|
|
63582
|
+
type: 'number',
|
|
63583
|
+
},
|
|
63584
|
+
is_override_allowed: { type: 'boolean' },
|
|
63585
|
+
max_override_period_minutes: {
|
|
63586
|
+
format: 'float',
|
|
63587
|
+
type: 'number',
|
|
63588
|
+
},
|
|
63589
|
+
mode: {
|
|
63590
|
+
enum: ['heat', 'cool', 'auto'],
|
|
63591
|
+
type: 'string',
|
|
63592
|
+
},
|
|
63593
|
+
},
|
|
63594
|
+
required: [
|
|
63595
|
+
'mode',
|
|
63596
|
+
'fan_mode',
|
|
63597
|
+
'is_override_allowed',
|
|
63598
|
+
'max_override_period_minutes',
|
|
63599
|
+
],
|
|
63600
|
+
type: 'object',
|
|
63601
|
+
},
|
|
63602
|
+
automated_unoccupied_preset: {
|
|
63603
|
+
properties: {
|
|
63604
|
+
cooling_set_point_celsius: {
|
|
63605
|
+
format: 'float',
|
|
63606
|
+
type: 'number',
|
|
63607
|
+
},
|
|
63608
|
+
cooling_set_point_fahrenheit: {
|
|
63609
|
+
format: 'float',
|
|
63610
|
+
type: 'number',
|
|
63611
|
+
},
|
|
63612
|
+
fan_mode: {
|
|
63613
|
+
enum: ['on', 'auto', 'circulate'],
|
|
63614
|
+
type: 'string',
|
|
63615
|
+
},
|
|
63616
|
+
heating_set_point_celsius: {
|
|
63617
|
+
format: 'float',
|
|
63618
|
+
type: 'number',
|
|
63619
|
+
},
|
|
63620
|
+
heating_set_point_fahrenheit: {
|
|
63621
|
+
format: 'float',
|
|
63622
|
+
type: 'number',
|
|
63623
|
+
},
|
|
63624
|
+
is_override_allowed: { type: 'boolean' },
|
|
63625
|
+
max_override_period_minutes: {
|
|
63626
|
+
format: 'float',
|
|
63627
|
+
type: 'number',
|
|
63628
|
+
},
|
|
63629
|
+
mode: {
|
|
63630
|
+
enum: ['heat', 'cool', 'auto'],
|
|
63631
|
+
type: 'string',
|
|
63632
|
+
},
|
|
63633
|
+
},
|
|
63634
|
+
required: [
|
|
63635
|
+
'mode',
|
|
63636
|
+
'fan_mode',
|
|
63637
|
+
'is_override_allowed',
|
|
63638
|
+
'max_override_period_minutes',
|
|
63639
|
+
],
|
|
63640
|
+
type: 'object',
|
|
63641
|
+
},
|
|
63642
|
+
occupied_preset_key: { type: 'string' },
|
|
63643
|
+
precondition_minutes_before_reservation: {
|
|
63644
|
+
format: 'float',
|
|
63645
|
+
type: 'number',
|
|
63646
|
+
},
|
|
63647
|
+
unoccupied_preset_key: { type: 'string' },
|
|
63648
|
+
},
|
|
63649
|
+
type: 'object',
|
|
63650
|
+
},
|
|
63651
|
+
reservation_deleted: {
|
|
63652
|
+
properties: {},
|
|
63653
|
+
type: 'object',
|
|
63654
|
+
},
|
|
63655
|
+
reservation_time_updated: {
|
|
63656
|
+
properties: {},
|
|
63657
|
+
type: 'object',
|
|
63658
|
+
},
|
|
63659
|
+
},
|
|
63660
|
+
type: 'object',
|
|
63661
|
+
},
|
|
63662
|
+
},
|
|
63663
|
+
type: 'object',
|
|
63664
|
+
},
|
|
63665
|
+
customer_key: {
|
|
63666
|
+
description: 'Key of the customer.',
|
|
63667
|
+
type: 'string',
|
|
63668
|
+
},
|
|
63669
|
+
},
|
|
63670
|
+
required: ['customer_key'],
|
|
63671
|
+
type: 'object',
|
|
63672
|
+
},
|
|
63673
|
+
},
|
|
63674
|
+
},
|
|
63675
|
+
},
|
|
63676
|
+
responses: {
|
|
63677
|
+
200: {
|
|
63678
|
+
content: {
|
|
63679
|
+
'application/json': {
|
|
63680
|
+
schema: {
|
|
63681
|
+
properties: { ok: { type: 'boolean' } },
|
|
63682
|
+
required: ['ok'],
|
|
63683
|
+
type: 'object',
|
|
63684
|
+
},
|
|
63685
|
+
},
|
|
63686
|
+
},
|
|
63687
|
+
description: 'OK',
|
|
63688
|
+
},
|
|
63689
|
+
400: { description: 'Bad Request' },
|
|
63690
|
+
401: { description: 'Unauthorized' },
|
|
63691
|
+
},
|
|
63692
|
+
security: [
|
|
63693
|
+
{ pat_with_workspace: [] },
|
|
63694
|
+
{ console_session_with_workspace: [] },
|
|
63695
|
+
{ api_key: [] },
|
|
63696
|
+
],
|
|
63697
|
+
summary: '/seam/customer/v1/customers/automations/update',
|
|
63698
|
+
tags: [],
|
|
63699
|
+
'x-fern-sdk-group-name': [
|
|
63700
|
+
'seam',
|
|
63701
|
+
'customer',
|
|
63702
|
+
'v1',
|
|
63703
|
+
'customers',
|
|
63704
|
+
'automations',
|
|
63705
|
+
],
|
|
63706
|
+
'x-fern-sdk-method-name': 'update',
|
|
63707
|
+
'x-response-key': null,
|
|
63708
|
+
'x-title': 'Update Customer Automation Configuration',
|
|
63709
|
+
},
|
|
63710
|
+
post: {
|
|
63711
|
+
description:
|
|
63712
|
+
'Updates the automation configuration for a specific customer.\nCreates a customer-level override if one does not already exist.',
|
|
63713
|
+
operationId: 'seamCustomerV1CustomersAutomationsUpdatePost',
|
|
63714
|
+
requestBody: {
|
|
63715
|
+
content: {
|
|
63716
|
+
'application/json': {
|
|
63717
|
+
schema: {
|
|
63718
|
+
properties: {
|
|
63719
|
+
access_rules: {
|
|
63720
|
+
description: 'Access automation rules configuration.',
|
|
63721
|
+
properties: {
|
|
63722
|
+
reservation_created: {
|
|
63723
|
+
properties: {
|
|
63724
|
+
config: {
|
|
63725
|
+
properties: {
|
|
63726
|
+
access_methods: {
|
|
63727
|
+
items: {
|
|
63728
|
+
enum: ['card', 'mobile_key', 'code'],
|
|
63729
|
+
type: 'string',
|
|
63730
|
+
},
|
|
63731
|
+
minItems: 1,
|
|
63732
|
+
type: 'array',
|
|
63733
|
+
},
|
|
63734
|
+
card_count_on_reservation_create: {
|
|
63735
|
+
minimum: 0,
|
|
63736
|
+
type: 'integer',
|
|
63737
|
+
},
|
|
63738
|
+
code_count_on_reservation_create: {
|
|
63739
|
+
minimum: 0,
|
|
63740
|
+
type: 'integer',
|
|
63741
|
+
},
|
|
63742
|
+
instant_key_max_use_count: {
|
|
63743
|
+
minimum: 1,
|
|
63744
|
+
type: 'integer',
|
|
63745
|
+
},
|
|
63746
|
+
method_issuance_strategy: {
|
|
63747
|
+
enum: [
|
|
63748
|
+
'first_available',
|
|
63749
|
+
'first_two_available',
|
|
63750
|
+
'all_available',
|
|
63751
|
+
],
|
|
63752
|
+
type: 'string',
|
|
63753
|
+
},
|
|
63754
|
+
},
|
|
63755
|
+
required: [
|
|
63756
|
+
'access_methods',
|
|
63757
|
+
'method_issuance_strategy',
|
|
63758
|
+
],
|
|
63759
|
+
type: 'object',
|
|
63760
|
+
},
|
|
63761
|
+
rule: {
|
|
63762
|
+
enum: ['reservation_created'],
|
|
63763
|
+
type: 'string',
|
|
63764
|
+
},
|
|
63765
|
+
},
|
|
63766
|
+
required: ['rule', 'config'],
|
|
63767
|
+
type: 'object',
|
|
63768
|
+
},
|
|
63769
|
+
reservation_deleted: {
|
|
63770
|
+
properties: {
|
|
63771
|
+
config: { properties: {}, type: 'object' },
|
|
63772
|
+
rule: {
|
|
63773
|
+
enum: ['reservation_deleted'],
|
|
63774
|
+
type: 'string',
|
|
63775
|
+
},
|
|
63776
|
+
},
|
|
63777
|
+
required: ['rule'],
|
|
63778
|
+
type: 'object',
|
|
63779
|
+
},
|
|
63780
|
+
reservation_spaces_updated: {
|
|
63781
|
+
properties: {
|
|
63782
|
+
config: { properties: {}, type: 'object' },
|
|
63783
|
+
rule: {
|
|
63784
|
+
enum: ['reservation_spaces_updated'],
|
|
63785
|
+
type: 'string',
|
|
63786
|
+
},
|
|
63787
|
+
},
|
|
63788
|
+
required: ['rule'],
|
|
63789
|
+
type: 'object',
|
|
63790
|
+
},
|
|
63791
|
+
reservation_time_updated: {
|
|
63792
|
+
properties: {
|
|
63793
|
+
config: { properties: {}, type: 'object' },
|
|
63794
|
+
rule: {
|
|
63795
|
+
enum: ['reservation_time_updated'],
|
|
63796
|
+
type: 'string',
|
|
63797
|
+
},
|
|
63798
|
+
},
|
|
63799
|
+
required: ['rule'],
|
|
63800
|
+
type: 'object',
|
|
63801
|
+
},
|
|
63802
|
+
space_name_updated: {
|
|
63803
|
+
properties: {
|
|
63804
|
+
config: { properties: {}, type: 'object' },
|
|
63805
|
+
rule: {
|
|
63806
|
+
enum: ['space_name_updated'],
|
|
63807
|
+
type: 'string',
|
|
63808
|
+
},
|
|
63809
|
+
},
|
|
63810
|
+
required: ['rule'],
|
|
63811
|
+
type: 'object',
|
|
63812
|
+
},
|
|
63813
|
+
staff_member_created: {
|
|
63814
|
+
properties: {
|
|
63815
|
+
config: { properties: {}, type: 'object' },
|
|
63816
|
+
rule: {
|
|
63817
|
+
enum: ['staff_member_created'],
|
|
63818
|
+
type: 'string',
|
|
63819
|
+
},
|
|
63820
|
+
},
|
|
63821
|
+
required: ['rule', 'config'],
|
|
63822
|
+
type: 'object',
|
|
63823
|
+
},
|
|
63824
|
+
staff_member_name_updated: {
|
|
63825
|
+
properties: {
|
|
63826
|
+
config: { properties: {}, type: 'object' },
|
|
63827
|
+
rule: {
|
|
63828
|
+
enum: ['staff_member_name_updated'],
|
|
63829
|
+
type: 'string',
|
|
63830
|
+
},
|
|
63831
|
+
},
|
|
63832
|
+
required: ['rule'],
|
|
63833
|
+
type: 'object',
|
|
63834
|
+
},
|
|
63835
|
+
user_identity_name_updated: {
|
|
63836
|
+
properties: {
|
|
63837
|
+
config: { properties: {}, type: 'object' },
|
|
63838
|
+
rule: {
|
|
63839
|
+
enum: ['user_identity_name_updated'],
|
|
63840
|
+
type: 'string',
|
|
63841
|
+
},
|
|
63842
|
+
},
|
|
63843
|
+
required: ['rule'],
|
|
63844
|
+
type: 'object',
|
|
63845
|
+
},
|
|
63846
|
+
},
|
|
63847
|
+
type: 'object',
|
|
63848
|
+
},
|
|
63849
|
+
climate_rules: {
|
|
63850
|
+
description: 'Climate automation rules configuration.',
|
|
63851
|
+
properties: {
|
|
63852
|
+
rules: {
|
|
63853
|
+
properties: {
|
|
63854
|
+
reservation_created: {
|
|
63855
|
+
properties: {
|
|
63856
|
+
automated_occupied_preset: {
|
|
63857
|
+
properties: {
|
|
63858
|
+
cooling_set_point_celsius: {
|
|
63859
|
+
format: 'float',
|
|
63860
|
+
type: 'number',
|
|
63861
|
+
},
|
|
63862
|
+
cooling_set_point_fahrenheit: {
|
|
63863
|
+
format: 'float',
|
|
63864
|
+
type: 'number',
|
|
63865
|
+
},
|
|
63866
|
+
fan_mode: {
|
|
63867
|
+
enum: ['on', 'auto', 'circulate'],
|
|
63868
|
+
type: 'string',
|
|
63869
|
+
},
|
|
63870
|
+
heating_set_point_celsius: {
|
|
63871
|
+
format: 'float',
|
|
63872
|
+
type: 'number',
|
|
63873
|
+
},
|
|
63874
|
+
heating_set_point_fahrenheit: {
|
|
63875
|
+
format: 'float',
|
|
63876
|
+
type: 'number',
|
|
63877
|
+
},
|
|
63878
|
+
is_override_allowed: { type: 'boolean' },
|
|
63879
|
+
max_override_period_minutes: {
|
|
63880
|
+
format: 'float',
|
|
63881
|
+
type: 'number',
|
|
63882
|
+
},
|
|
63883
|
+
mode: {
|
|
63884
|
+
enum: ['heat', 'cool', 'auto'],
|
|
63885
|
+
type: 'string',
|
|
63886
|
+
},
|
|
63887
|
+
},
|
|
63888
|
+
required: [
|
|
63889
|
+
'mode',
|
|
63890
|
+
'fan_mode',
|
|
63891
|
+
'is_override_allowed',
|
|
63892
|
+
'max_override_period_minutes',
|
|
63893
|
+
],
|
|
63894
|
+
type: 'object',
|
|
63895
|
+
},
|
|
63896
|
+
automated_unoccupied_preset: {
|
|
63897
|
+
properties: {
|
|
63898
|
+
cooling_set_point_celsius: {
|
|
63899
|
+
format: 'float',
|
|
63900
|
+
type: 'number',
|
|
63901
|
+
},
|
|
63902
|
+
cooling_set_point_fahrenheit: {
|
|
63903
|
+
format: 'float',
|
|
63904
|
+
type: 'number',
|
|
63905
|
+
},
|
|
63906
|
+
fan_mode: {
|
|
63907
|
+
enum: ['on', 'auto', 'circulate'],
|
|
63908
|
+
type: 'string',
|
|
63909
|
+
},
|
|
63910
|
+
heating_set_point_celsius: {
|
|
63911
|
+
format: 'float',
|
|
63912
|
+
type: 'number',
|
|
63913
|
+
},
|
|
63914
|
+
heating_set_point_fahrenheit: {
|
|
63915
|
+
format: 'float',
|
|
63916
|
+
type: 'number',
|
|
63917
|
+
},
|
|
63918
|
+
is_override_allowed: { type: 'boolean' },
|
|
63919
|
+
max_override_period_minutes: {
|
|
63920
|
+
format: 'float',
|
|
63921
|
+
type: 'number',
|
|
63922
|
+
},
|
|
63923
|
+
mode: {
|
|
63924
|
+
enum: ['heat', 'cool', 'auto'],
|
|
63925
|
+
type: 'string',
|
|
63926
|
+
},
|
|
63927
|
+
},
|
|
63928
|
+
required: [
|
|
63929
|
+
'mode',
|
|
63930
|
+
'fan_mode',
|
|
63931
|
+
'is_override_allowed',
|
|
63932
|
+
'max_override_period_minutes',
|
|
63933
|
+
],
|
|
63934
|
+
type: 'object',
|
|
63935
|
+
},
|
|
63936
|
+
occupied_preset_key: { type: 'string' },
|
|
63937
|
+
precondition_minutes_before_reservation: {
|
|
63938
|
+
format: 'float',
|
|
63939
|
+
type: 'number',
|
|
63940
|
+
},
|
|
63941
|
+
unoccupied_preset_key: { type: 'string' },
|
|
63942
|
+
},
|
|
63943
|
+
type: 'object',
|
|
63944
|
+
},
|
|
63945
|
+
reservation_deleted: {
|
|
63946
|
+
properties: {},
|
|
63947
|
+
type: 'object',
|
|
63948
|
+
},
|
|
63949
|
+
reservation_time_updated: {
|
|
63950
|
+
properties: {},
|
|
63951
|
+
type: 'object',
|
|
63952
|
+
},
|
|
63953
|
+
},
|
|
63954
|
+
type: 'object',
|
|
63955
|
+
},
|
|
63956
|
+
},
|
|
63957
|
+
type: 'object',
|
|
63958
|
+
},
|
|
63959
|
+
customer_key: {
|
|
63960
|
+
description: 'Key of the customer.',
|
|
63961
|
+
type: 'string',
|
|
63962
|
+
},
|
|
63963
|
+
},
|
|
63964
|
+
required: ['customer_key'],
|
|
63965
|
+
type: 'object',
|
|
63966
|
+
},
|
|
63967
|
+
},
|
|
63968
|
+
},
|
|
63969
|
+
},
|
|
63970
|
+
responses: {
|
|
63971
|
+
200: {
|
|
63972
|
+
content: {
|
|
63973
|
+
'application/json': {
|
|
63974
|
+
schema: {
|
|
63975
|
+
properties: { ok: { type: 'boolean' } },
|
|
63976
|
+
required: ['ok'],
|
|
63977
|
+
type: 'object',
|
|
63978
|
+
},
|
|
63979
|
+
},
|
|
63980
|
+
},
|
|
63981
|
+
description: 'OK',
|
|
63982
|
+
},
|
|
63983
|
+
400: { description: 'Bad Request' },
|
|
63984
|
+
401: { description: 'Unauthorized' },
|
|
63985
|
+
},
|
|
63986
|
+
security: [
|
|
63987
|
+
{ pat_with_workspace: [] },
|
|
63988
|
+
{ console_session_with_workspace: [] },
|
|
63989
|
+
{ api_key: [] },
|
|
63990
|
+
],
|
|
63991
|
+
summary: '/seam/customer/v1/customers/automations/update',
|
|
63992
|
+
tags: [],
|
|
63993
|
+
'x-fern-sdk-group-name': [
|
|
63994
|
+
'seam',
|
|
63995
|
+
'customer',
|
|
63996
|
+
'v1',
|
|
63997
|
+
'customers',
|
|
63998
|
+
'automations',
|
|
63999
|
+
],
|
|
64000
|
+
'x-fern-sdk-method-name': 'update',
|
|
64001
|
+
'x-response-key': null,
|
|
64002
|
+
'x-title': 'Update Customer Automation Configuration',
|
|
64003
|
+
},
|
|
64004
|
+
},
|
|
62205
64005
|
'/seam/customer/v1/customers/list': {
|
|
62206
64006
|
get: {
|
|
62207
64007
|
description: 'Returns a list of all customers within the workspace.',
|