@seamapi/types 1.13.0 → 1.15.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.
@@ -12,6 +12,7 @@ export default {
12
12
  errors: { nullable: true },
13
13
  is_backup: { type: 'boolean' },
14
14
  is_backup_access_code_available: { type: 'boolean' },
15
+ is_external_modification_allowed: { type: 'boolean' },
15
16
  is_managed: { enum: [true], type: 'boolean' },
16
17
  is_scheduled_on_device: { type: 'boolean' },
17
18
  is_waiting_for_code_assignment: { type: 'boolean' },
@@ -40,6 +41,7 @@ export default {
40
41
  'is_managed',
41
42
  'status',
42
43
  'is_backup_access_code_available',
44
+ 'is_external_modification_allowed',
43
45
  ],
44
46
  type: 'object',
45
47
  },
@@ -1821,6 +1823,7 @@ export default {
1821
1823
  type: 'array',
1822
1824
  },
1823
1825
  device_id: { format: 'uuid', type: 'string' },
1826
+ user_identifier_key: { type: 'string' },
1824
1827
  },
1825
1828
  type: 'object',
1826
1829
  },
@@ -2455,6 +2458,7 @@ export default {
2455
2458
  },
2456
2459
  device_id: { format: 'uuid', type: 'string' },
2457
2460
  ends_at: { type: 'string' },
2461
+ is_managed: { type: 'boolean' },
2458
2462
  name: { type: 'string' },
2459
2463
  prefer_native_scheduling: { type: 'boolean' },
2460
2464
  starts_at: { type: 'string' },
@@ -2521,6 +2525,7 @@ export default {
2521
2525
  },
2522
2526
  device_id: { format: 'uuid', type: 'string' },
2523
2527
  ends_at: { type: 'string' },
2528
+ is_managed: { type: 'boolean' },
2524
2529
  name: { type: 'string' },
2525
2530
  prefer_native_scheduling: { type: 'boolean' },
2526
2531
  starts_at: { type: 'string' },
@@ -3017,17 +3022,18 @@ export default {
3017
3022
  'x-fern-sdk-method-name': 'update',
3018
3023
  },
3019
3024
  },
3020
- '/acs/systems/get': {
3025
+ '/acs/credentials/create': {
3021
3026
  post: {
3022
- operationId: 'acsSystemsGetPost',
3027
+ operationId: 'acsCredentialsCreatePost',
3023
3028
  requestBody: {
3024
3029
  content: {
3025
3030
  'application/json': {
3026
3031
  schema: {
3027
3032
  properties: {
3028
- acs_system_id: { format: 'uuid', type: 'string' },
3033
+ acs_user_id: { format: 'uuid', type: 'string' },
3034
+ code: { oneOf: [{ pattern: '^\\d+$', type: 'string' }, {}] },
3029
3035
  },
3030
- required: ['acs_system_id'],
3036
+ required: ['acs_user_id'],
3031
3037
  type: 'object',
3032
3038
  },
3033
3039
  },
@@ -3039,10 +3045,28 @@ export default {
3039
3045
  'application/json': {
3040
3046
  schema: {
3041
3047
  properties: {
3042
- acs_system: { $ref: '#/components/schemas/acs_system' },
3048
+ acs_credential: {
3049
+ properties: {
3050
+ acs_credential_id: { format: 'uuid', type: 'string' },
3051
+ acs_system_id: { format: 'uuid', type: 'string' },
3052
+ acs_user_id: { format: 'uuid', type: 'string' },
3053
+ code: { nullable: true, type: 'string' },
3054
+ created_at: { format: 'date-time', type: 'string' },
3055
+ workspace_id: { format: 'uuid', type: 'string' },
3056
+ },
3057
+ required: [
3058
+ 'acs_credential_id',
3059
+ 'acs_user_id',
3060
+ 'acs_system_id',
3061
+ 'code',
3062
+ 'created_at',
3063
+ 'workspace_id',
3064
+ ],
3065
+ type: 'object',
3066
+ },
3043
3067
  ok: { type: 'boolean' },
3044
3068
  },
3045
- required: ['acs_system', 'ok'],
3069
+ required: ['acs_credential', 'ok'],
3046
3070
  type: 'object',
3047
3071
  },
3048
3072
  },
@@ -3057,28 +3081,164 @@ export default {
3057
3081
  { seam_client_session_token: [] },
3058
3082
  { client_session_token: [] },
3059
3083
  ],
3060
- summary: '/acs/systems/get',
3084
+ summary: '/acs/credentials/create',
3061
3085
  tags: [],
3062
- 'x-fern-sdk-group-name': ['acs', 'systems'],
3086
+ 'x-fern-sdk-group-name': ['acs', 'credentials'],
3087
+ 'x-fern-sdk-method-name': 'create',
3088
+ },
3089
+ },
3090
+ '/acs/credentials/delete': {
3091
+ post: {
3092
+ operationId: 'acsCredentialsDeletePost',
3093
+ requestBody: {
3094
+ content: {
3095
+ 'application/json': {
3096
+ schema: {
3097
+ properties: {
3098
+ acs_credential_id: { format: 'uuid', type: 'string' },
3099
+ },
3100
+ required: ['acs_credential_id'],
3101
+ type: 'object',
3102
+ },
3103
+ },
3104
+ },
3105
+ },
3106
+ responses: {
3107
+ 200: {
3108
+ content: {
3109
+ 'application/json': {
3110
+ schema: {
3111
+ properties: { ok: { type: 'boolean' } },
3112
+ required: ['ok'],
3113
+ type: 'object',
3114
+ },
3115
+ },
3116
+ },
3117
+ description: 'OK',
3118
+ },
3119
+ 400: { description: 'Bad Request' },
3120
+ 401: { description: 'Unauthorized' },
3121
+ },
3122
+ security: [
3123
+ { access_token: [], seam_workspace: [] },
3124
+ { seam_client_session_token: [] },
3125
+ { client_session_token: [] },
3126
+ ],
3127
+ summary: '/acs/credentials/delete',
3128
+ tags: [],
3129
+ 'x-fern-sdk-group-name': ['acs', 'credentials'],
3130
+ 'x-fern-sdk-method-name': 'delete',
3131
+ },
3132
+ },
3133
+ '/acs/credentials/get': {
3134
+ post: {
3135
+ operationId: 'acsCredentialsGetPost',
3136
+ requestBody: {
3137
+ content: {
3138
+ 'application/json': {
3139
+ schema: {
3140
+ properties: {
3141
+ acs_credentials_id: { format: 'uuid', type: 'string' },
3142
+ },
3143
+ required: ['acs_credentials_id'],
3144
+ type: 'object',
3145
+ },
3146
+ },
3147
+ },
3148
+ },
3149
+ responses: {
3150
+ 200: {
3151
+ content: {
3152
+ 'application/json': {
3153
+ schema: {
3154
+ properties: {
3155
+ acs_credential: {
3156
+ properties: {
3157
+ acs_credential_id: { format: 'uuid', type: 'string' },
3158
+ acs_system_id: { format: 'uuid', type: 'string' },
3159
+ acs_user_id: { format: 'uuid', type: 'string' },
3160
+ code: { nullable: true, type: 'string' },
3161
+ created_at: { format: 'date-time', type: 'string' },
3162
+ workspace_id: { format: 'uuid', type: 'string' },
3163
+ },
3164
+ required: [
3165
+ 'acs_credential_id',
3166
+ 'acs_user_id',
3167
+ 'acs_system_id',
3168
+ 'code',
3169
+ 'created_at',
3170
+ 'workspace_id',
3171
+ ],
3172
+ type: 'object',
3173
+ },
3174
+ ok: { type: 'boolean' },
3175
+ },
3176
+ required: ['acs_credential', 'ok'],
3177
+ type: 'object',
3178
+ },
3179
+ },
3180
+ },
3181
+ description: 'OK',
3182
+ },
3183
+ 400: { description: 'Bad Request' },
3184
+ 401: { description: 'Unauthorized' },
3185
+ },
3186
+ security: [
3187
+ { access_token: [], seam_workspace: [] },
3188
+ { seam_client_session_token: [] },
3189
+ { client_session_token: [] },
3190
+ ],
3191
+ summary: '/acs/credentials/get',
3192
+ tags: [],
3193
+ 'x-fern-sdk-group-name': ['acs', 'credentials'],
3063
3194
  'x-fern-sdk-method-name': 'get',
3064
3195
  },
3065
3196
  },
3066
- '/acs/systems/list': {
3067
- get: {
3068
- operationId: 'acsSystemsListGet',
3197
+ '/acs/credentials/list': {
3198
+ post: {
3199
+ operationId: 'acsCredentialsListPost',
3200
+ requestBody: {
3201
+ content: {
3202
+ 'application/json': {
3203
+ schema: {
3204
+ properties: { acs_user_id: { format: 'uuid', type: 'string' } },
3205
+ required: ['acs_user_id'],
3206
+ type: 'object',
3207
+ },
3208
+ },
3209
+ },
3210
+ },
3069
3211
  responses: {
3070
3212
  200: {
3071
3213
  content: {
3072
3214
  'application/json': {
3073
3215
  schema: {
3074
3216
  properties: {
3075
- acs_systems: {
3076
- items: { $ref: '#/components/schemas/acs_system' },
3217
+ acs_credentials: {
3218
+ items: {
3219
+ properties: {
3220
+ acs_credential_id: { format: 'uuid', type: 'string' },
3221
+ acs_system_id: { format: 'uuid', type: 'string' },
3222
+ acs_user_id: { format: 'uuid', type: 'string' },
3223
+ code: { nullable: true, type: 'string' },
3224
+ created_at: { format: 'date-time', type: 'string' },
3225
+ workspace_id: { format: 'uuid', type: 'string' },
3226
+ },
3227
+ required: [
3228
+ 'acs_credential_id',
3229
+ 'acs_user_id',
3230
+ 'acs_system_id',
3231
+ 'code',
3232
+ 'created_at',
3233
+ 'workspace_id',
3234
+ ],
3235
+ type: 'object',
3236
+ },
3077
3237
  type: 'array',
3078
3238
  },
3079
3239
  ok: { type: 'boolean' },
3080
3240
  },
3081
- required: ['acs_systems', 'ok'],
3241
+ required: ['acs_credentials', 'ok'],
3082
3242
  type: 'object',
3083
3243
  },
3084
3244
  },
@@ -3093,12 +3253,73 @@ export default {
3093
3253
  { seam_client_session_token: [] },
3094
3254
  { client_session_token: [] },
3095
3255
  ],
3096
- summary: '/acs/systems/list',
3256
+ summary: '/acs/credentials/list',
3097
3257
  tags: [],
3098
- 'x-fern-ignore': true,
3258
+ 'x-fern-sdk-group-name': ['acs', 'credentials'],
3259
+ 'x-fern-sdk-method-name': 'list',
3099
3260
  },
3261
+ },
3262
+ '/acs/systems/get': {
3263
+ post: {
3264
+ operationId: 'acsSystemsGetPost',
3265
+ requestBody: {
3266
+ content: {
3267
+ 'application/json': {
3268
+ schema: {
3269
+ properties: {
3270
+ acs_system_id: { format: 'uuid', type: 'string' },
3271
+ },
3272
+ required: ['acs_system_id'],
3273
+ type: 'object',
3274
+ },
3275
+ },
3276
+ },
3277
+ },
3278
+ responses: {
3279
+ 200: {
3280
+ content: {
3281
+ 'application/json': {
3282
+ schema: {
3283
+ properties: {
3284
+ acs_system: { $ref: '#/components/schemas/acs_system' },
3285
+ ok: { type: 'boolean' },
3286
+ },
3287
+ required: ['acs_system', 'ok'],
3288
+ type: 'object',
3289
+ },
3290
+ },
3291
+ },
3292
+ description: 'OK',
3293
+ },
3294
+ 400: { description: 'Bad Request' },
3295
+ 401: { description: 'Unauthorized' },
3296
+ },
3297
+ security: [
3298
+ { access_token: [], seam_workspace: [] },
3299
+ { seam_client_session_token: [] },
3300
+ { client_session_token: [] },
3301
+ ],
3302
+ summary: '/acs/systems/get',
3303
+ tags: [],
3304
+ 'x-fern-sdk-group-name': ['acs', 'systems'],
3305
+ 'x-fern-sdk-method-name': 'get',
3306
+ },
3307
+ },
3308
+ '/acs/systems/list': {
3100
3309
  post: {
3101
3310
  operationId: 'acsSystemsListPost',
3311
+ requestBody: {
3312
+ content: {
3313
+ 'application/json': {
3314
+ schema: {
3315
+ properties: {
3316
+ connected_account_id: { format: 'uuid', type: 'string' },
3317
+ },
3318
+ type: 'object',
3319
+ },
3320
+ },
3321
+ },
3322
+ },
3102
3323
  responses: {
3103
3324
  200: {
3104
3325
  content: {
@@ -3980,6 +4201,7 @@ export default {
3980
4201
  'genie',
3981
4202
  'doorking',
3982
4203
  'salto',
4204
+ 'lockly',
3983
4205
  'ttlock',
3984
4206
  'linear',
3985
4207
  'noiseaware',
@@ -4662,6 +4884,7 @@ export default {
4662
4884
  ],
4663
4885
  type: 'string',
4664
4886
  },
4887
+ user_identifier_key: { type: 'string' },
4665
4888
  },
4666
4889
  type: 'object',
4667
4890
  },
@@ -4966,6 +5189,7 @@ export default {
4966
5189
  ],
4967
5190
  type: 'string',
4968
5191
  },
5192
+ user_identifier_key: { type: 'string' },
4969
5193
  },
4970
5194
  type: 'object',
4971
5195
  },
@@ -5748,6 +5972,7 @@ export default {
5748
5972
  ],
5749
5973
  type: 'string',
5750
5974
  },
5975
+ user_identifier_key: { type: 'string' },
5751
5976
  },
5752
5977
  type: 'object',
5753
5978
  },
@@ -6971,6 +7196,7 @@ export default {
6971
7196
  ],
6972
7197
  type: 'string',
6973
7198
  },
7199
+ user_identifier_key: { type: 'string' },
6974
7200
  },
6975
7201
  type: 'object',
6976
7202
  },