@seamapi/types 1.309.0 → 1.311.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.
Files changed (42) hide show
  1. package/dist/connect.cjs +43 -392
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +93 -2328
  4. package/lib/seam/connect/models/acs/acs-entrance.d.ts +33 -0
  5. package/lib/seam/connect/models/acs/acs-entrance.js +2 -0
  6. package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
  7. package/lib/seam/connect/models/acs/metadata/dormakaba-community.d.ts +6 -0
  8. package/lib/seam/connect/models/acs/metadata/dormakaba-community.js +2 -0
  9. package/lib/seam/connect/models/acs/metadata/dormakaba-community.js.map +1 -1
  10. package/lib/seam/connect/models/acs/metadata/salto-space.d.ts +15 -0
  11. package/lib/seam/connect/models/acs/metadata/salto-space.js +7 -0
  12. package/lib/seam/connect/models/acs/metadata/salto-space.js.map +1 -0
  13. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +0 -312
  14. package/lib/seam/connect/models/action-attempts/action-attempt.js +0 -8
  15. package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
  16. package/lib/seam/connect/openapi.d.ts +25 -0
  17. package/lib/seam/connect/openapi.js +17 -305
  18. package/lib/seam/connect/openapi.js.map +1 -1
  19. package/lib/seam/connect/route-types.d.ts +122 -2103
  20. package/package.json +1 -1
  21. package/src/lib/seam/connect/models/acs/acs-entrance.ts +2 -0
  22. package/src/lib/seam/connect/models/acs/metadata/dormakaba-community.ts +2 -0
  23. package/src/lib/seam/connect/models/acs/metadata/salto-space.ts +11 -0
  24. package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +0 -8
  25. package/src/lib/seam/connect/openapi.ts +17 -305
  26. package/src/lib/seam/connect/route-types.ts +45 -2268
  27. package/lib/seam/connect/models/action-attempts/set-cool.d.ts +0 -80
  28. package/lib/seam/connect/models/action-attempts/set-cool.js +0 -25
  29. package/lib/seam/connect/models/action-attempts/set-cool.js.map +0 -1
  30. package/lib/seam/connect/models/action-attempts/set-heat-cool.d.ts +0 -80
  31. package/lib/seam/connect/models/action-attempts/set-heat-cool.js +0 -25
  32. package/lib/seam/connect/models/action-attempts/set-heat-cool.js.map +0 -1
  33. package/lib/seam/connect/models/action-attempts/set-heat.d.ts +0 -80
  34. package/lib/seam/connect/models/action-attempts/set-heat.js +0 -25
  35. package/lib/seam/connect/models/action-attempts/set-heat.js.map +0 -1
  36. package/lib/seam/connect/models/action-attempts/set-thermostat-off.d.ts +0 -80
  37. package/lib/seam/connect/models/action-attempts/set-thermostat-off.js +0 -25
  38. package/lib/seam/connect/models/action-attempts/set-thermostat-off.js.map +0 -1
  39. package/src/lib/seam/connect/models/action-attempts/set-cool.ts +0 -33
  40. package/src/lib/seam/connect/models/action-attempts/set-heat-cool.ts +0 -33
  41. package/src/lib/seam/connect/models/action-attempts/set-heat.ts +0 -33
  42. package/src/lib/seam/connect/models/action-attempts/set-thermostat-off.ts +0 -36
@@ -554,7 +554,14 @@ export default {
554
554
  type: 'string',
555
555
  },
556
556
  dormakaba_community_metadata: {
557
- properties: { access_point_name: { type: 'string' } },
557
+ properties: {
558
+ access_point_name: { type: 'string' },
559
+ common_area_number: { format: 'float', type: 'number' },
560
+ inner_access_points_names: {
561
+ items: { type: 'string' },
562
+ type: 'array',
563
+ },
564
+ },
558
565
  required: ['access_point_name'],
559
566
  type: 'object',
560
567
  },
@@ -603,6 +610,15 @@ export default {
603
610
  ],
604
611
  type: 'object',
605
612
  },
613
+ salto_space_metadata: {
614
+ properties: {
615
+ door_description: { type: 'string' },
616
+ door_name: { type: 'string' },
617
+ ext_door_id: { type: 'string' },
618
+ },
619
+ required: ['door_name', 'ext_door_id'],
620
+ type: 'object',
621
+ },
606
622
  visionline_metadata: {
607
623
  properties: {
608
624
  door_category: {
@@ -2861,234 +2877,6 @@ export default {
2861
2877
  ],
2862
2878
  type: 'object',
2863
2879
  },
2864
- {
2865
- description: 'Setting HVAC to cool.',
2866
- properties: {
2867
- action_attempt_id: {
2868
- description: 'The ID of the action attempt.',
2869
- format: 'uuid',
2870
- type: 'string',
2871
- 'x-title': 'Action Attempt ID',
2872
- },
2873
- action_type: { enum: ['SET_COOL'], type: 'string' },
2874
- error: { nullable: true },
2875
- result: { nullable: true },
2876
- status: { enum: ['pending'], type: 'string' },
2877
- },
2878
- required: [
2879
- 'action_attempt_id',
2880
- 'status',
2881
- 'result',
2882
- 'error',
2883
- 'action_type',
2884
- ],
2885
- type: 'object',
2886
- },
2887
- {
2888
- description: 'Setting HVAC to cool succeeded.',
2889
- properties: {
2890
- action_attempt_id: {
2891
- description: 'The ID of the action attempt.',
2892
- format: 'uuid',
2893
- type: 'string',
2894
- 'x-title': 'Action Attempt ID',
2895
- },
2896
- action_type: { enum: ['SET_COOL'], type: 'string' },
2897
- error: { nullable: true },
2898
- result: { properties: {}, type: 'object' },
2899
- status: { enum: ['success'], type: 'string' },
2900
- },
2901
- required: [
2902
- 'action_attempt_id',
2903
- 'status',
2904
- 'error',
2905
- 'action_type',
2906
- 'result',
2907
- ],
2908
- type: 'object',
2909
- },
2910
- {
2911
- description: 'Setting HVAC to cool failed.',
2912
- properties: {
2913
- action_attempt_id: {
2914
- description: 'The ID of the action attempt.',
2915
- format: 'uuid',
2916
- type: 'string',
2917
- 'x-title': 'Action Attempt ID',
2918
- },
2919
- action_type: { enum: ['SET_COOL'], type: 'string' },
2920
- error: {
2921
- properties: {
2922
- message: { type: 'string' },
2923
- type: { type: 'string' },
2924
- },
2925
- required: ['type', 'message'],
2926
- type: 'object',
2927
- },
2928
- result: { nullable: true },
2929
- status: { enum: ['error'], type: 'string' },
2930
- },
2931
- required: [
2932
- 'action_attempt_id',
2933
- 'status',
2934
- 'result',
2935
- 'action_type',
2936
- 'error',
2937
- ],
2938
- type: 'object',
2939
- },
2940
- {
2941
- description: 'Setting HVAC to heat mode.',
2942
- properties: {
2943
- action_attempt_id: {
2944
- description: 'The ID of the action attempt.',
2945
- format: 'uuid',
2946
- type: 'string',
2947
- 'x-title': 'Action Attempt ID',
2948
- },
2949
- action_type: { enum: ['SET_HEAT'], type: 'string' },
2950
- error: { nullable: true },
2951
- result: { nullable: true },
2952
- status: { enum: ['pending'], type: 'string' },
2953
- },
2954
- required: [
2955
- 'action_attempt_id',
2956
- 'status',
2957
- 'result',
2958
- 'error',
2959
- 'action_type',
2960
- ],
2961
- type: 'object',
2962
- },
2963
- {
2964
- description: 'Setting HVAC to heat mode succeeded.',
2965
- properties: {
2966
- action_attempt_id: {
2967
- description: 'The ID of the action attempt.',
2968
- format: 'uuid',
2969
- type: 'string',
2970
- 'x-title': 'Action Attempt ID',
2971
- },
2972
- action_type: { enum: ['SET_HEAT'], type: 'string' },
2973
- error: { nullable: true },
2974
- result: { properties: {}, type: 'object' },
2975
- status: { enum: ['success'], type: 'string' },
2976
- },
2977
- required: [
2978
- 'action_attempt_id',
2979
- 'status',
2980
- 'error',
2981
- 'action_type',
2982
- 'result',
2983
- ],
2984
- type: 'object',
2985
- },
2986
- {
2987
- description: 'Setting HVAC to heat mode failed.',
2988
- properties: {
2989
- action_attempt_id: {
2990
- description: 'The ID of the action attempt.',
2991
- format: 'uuid',
2992
- type: 'string',
2993
- 'x-title': 'Action Attempt ID',
2994
- },
2995
- action_type: { enum: ['SET_HEAT'], type: 'string' },
2996
- error: {
2997
- properties: {
2998
- message: { type: 'string' },
2999
- type: { type: 'string' },
3000
- },
3001
- required: ['type', 'message'],
3002
- type: 'object',
3003
- },
3004
- result: { nullable: true },
3005
- status: { enum: ['error'], type: 'string' },
3006
- },
3007
- required: [
3008
- 'action_attempt_id',
3009
- 'status',
3010
- 'result',
3011
- 'action_type',
3012
- 'error',
3013
- ],
3014
- type: 'object',
3015
- },
3016
- {
3017
- description: 'Setting HVAC to heat-cool mode.',
3018
- properties: {
3019
- action_attempt_id: {
3020
- description: 'The ID of the action attempt.',
3021
- format: 'uuid',
3022
- type: 'string',
3023
- 'x-title': 'Action Attempt ID',
3024
- },
3025
- action_type: { enum: ['SET_HEAT_COOL'], type: 'string' },
3026
- error: { nullable: true },
3027
- result: { nullable: true },
3028
- status: { enum: ['pending'], type: 'string' },
3029
- },
3030
- required: [
3031
- 'action_attempt_id',
3032
- 'status',
3033
- 'result',
3034
- 'error',
3035
- 'action_type',
3036
- ],
3037
- type: 'object',
3038
- },
3039
- {
3040
- description: 'Setting HVAC to heat-cool mode succeeded.',
3041
- properties: {
3042
- action_attempt_id: {
3043
- description: 'The ID of the action attempt.',
3044
- format: 'uuid',
3045
- type: 'string',
3046
- 'x-title': 'Action Attempt ID',
3047
- },
3048
- action_type: { enum: ['SET_HEAT_COOL'], type: 'string' },
3049
- error: { nullable: true },
3050
- result: { properties: {}, type: 'object' },
3051
- status: { enum: ['success'], type: 'string' },
3052
- },
3053
- required: [
3054
- 'action_attempt_id',
3055
- 'status',
3056
- 'error',
3057
- 'action_type',
3058
- 'result',
3059
- ],
3060
- type: 'object',
3061
- },
3062
- {
3063
- description: 'Setting heat-cool mode failed.',
3064
- properties: {
3065
- action_attempt_id: {
3066
- description: 'The ID of the action attempt.',
3067
- format: 'uuid',
3068
- type: 'string',
3069
- 'x-title': 'Action Attempt ID',
3070
- },
3071
- action_type: { enum: ['SET_HEAT_COOL'], type: 'string' },
3072
- error: {
3073
- properties: {
3074
- message: { type: 'string' },
3075
- type: { type: 'string' },
3076
- },
3077
- required: ['type', 'message'],
3078
- type: 'object',
3079
- },
3080
- result: { nullable: true },
3081
- status: { enum: ['error'], type: 'string' },
3082
- },
3083
- required: [
3084
- 'action_attempt_id',
3085
- 'status',
3086
- 'result',
3087
- 'action_type',
3088
- 'error',
3089
- ],
3090
- type: 'object',
3091
- },
3092
2880
  {
3093
2881
  description: 'Setting fan mode.',
3094
2882
  properties: {
@@ -3165,82 +2953,6 @@ export default {
3165
2953
  ],
3166
2954
  type: 'object',
3167
2955
  },
3168
- {
3169
- description: 'Turning HVAC off.',
3170
- properties: {
3171
- action_attempt_id: {
3172
- description: 'The ID of the action attempt.',
3173
- format: 'uuid',
3174
- type: 'string',
3175
- 'x-title': 'Action Attempt ID',
3176
- },
3177
- action_type: { enum: ['SET_THERMOSTAT_OFF'], type: 'string' },
3178
- error: { nullable: true },
3179
- result: { nullable: true },
3180
- status: { enum: ['pending'], type: 'string' },
3181
- },
3182
- required: [
3183
- 'action_attempt_id',
3184
- 'status',
3185
- 'result',
3186
- 'error',
3187
- 'action_type',
3188
- ],
3189
- type: 'object',
3190
- },
3191
- {
3192
- description: 'Turning HVAC off succeeded.',
3193
- properties: {
3194
- action_attempt_id: {
3195
- description: 'The ID of the action attempt.',
3196
- format: 'uuid',
3197
- type: 'string',
3198
- 'x-title': 'Action Attempt ID',
3199
- },
3200
- action_type: { enum: ['SET_THERMOSTAT_OFF'], type: 'string' },
3201
- error: { nullable: true },
3202
- result: { properties: {}, type: 'object' },
3203
- status: { enum: ['success'], type: 'string' },
3204
- },
3205
- required: [
3206
- 'action_attempt_id',
3207
- 'status',
3208
- 'error',
3209
- 'action_type',
3210
- 'result',
3211
- ],
3212
- type: 'object',
3213
- },
3214
- {
3215
- description: 'Turning HVAC off failed.',
3216
- properties: {
3217
- action_attempt_id: {
3218
- description: 'The ID of the action attempt.',
3219
- format: 'uuid',
3220
- type: 'string',
3221
- 'x-title': 'Action Attempt ID',
3222
- },
3223
- action_type: { enum: ['SET_THERMOSTAT_OFF'], type: 'string' },
3224
- error: {
3225
- properties: {
3226
- message: { type: 'string' },
3227
- type: { type: 'string' },
3228
- },
3229
- required: ['type', 'message'],
3230
- type: 'object',
3231
- },
3232
- result: { nullable: true },
3233
- status: { enum: ['error'], type: 'string' },
3234
- },
3235
- required: [
3236
- 'action_attempt_id',
3237
- 'status',
3238
- 'result',
3239
- 'action_type',
3240
- 'error',
3241
- ],
3242
- type: 'object',
3243
- },
3244
2956
  {
3245
2957
  description: 'Setting HVAC mode.',
3246
2958
  properties: {