@seamapi/types 1.13.0 → 1.14.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.
@@ -36,6 +36,9 @@ declare const _default: {
36
36
  is_backup_access_code_available: {
37
37
  type: string;
38
38
  };
39
+ is_external_modification_allowed: {
40
+ type: string;
41
+ };
39
42
  is_managed: {
40
43
  enum: boolean[];
41
44
  type: string;
@@ -3519,6 +3522,9 @@ declare const _default: {
3519
3522
  ends_at: {
3520
3523
  type: string;
3521
3524
  };
3525
+ is_managed: {
3526
+ type: string;
3527
+ };
3522
3528
  name: {
3523
3529
  type: string;
3524
3530
  };
@@ -3626,6 +3632,9 @@ declare const _default: {
3626
3632
  ends_at: {
3627
3633
  type: string;
3628
3634
  };
3635
+ is_managed: {
3636
+ type: string;
3637
+ };
3629
3638
  name: {
3630
3639
  type: string;
3631
3640
  };
@@ -4389,6 +4398,360 @@ declare const _default: {
4389
4398
  'x-fern-sdk-method-name': string;
4390
4399
  };
4391
4400
  };
4401
+ '/acs/credentials/create': {
4402
+ post: {
4403
+ operationId: string;
4404
+ requestBody: {
4405
+ content: {
4406
+ 'application/json': {
4407
+ schema: {
4408
+ properties: {
4409
+ acs_user_id: {
4410
+ format: string;
4411
+ type: string;
4412
+ };
4413
+ code: {
4414
+ pattern: string;
4415
+ type: string;
4416
+ };
4417
+ };
4418
+ required: string[];
4419
+ type: string;
4420
+ };
4421
+ };
4422
+ };
4423
+ };
4424
+ responses: {
4425
+ 200: {
4426
+ content: {
4427
+ 'application/json': {
4428
+ schema: {
4429
+ properties: {
4430
+ acs_credential: {
4431
+ properties: {
4432
+ acs_credential_id: {
4433
+ format: string;
4434
+ type: string;
4435
+ };
4436
+ acs_system_id: {
4437
+ format: string;
4438
+ type: string;
4439
+ };
4440
+ acs_user_id: {
4441
+ format: string;
4442
+ type: string;
4443
+ };
4444
+ code: {
4445
+ type: string;
4446
+ };
4447
+ created_at: {
4448
+ format: string;
4449
+ type: string;
4450
+ };
4451
+ workspace_id: {
4452
+ format: string;
4453
+ type: string;
4454
+ };
4455
+ };
4456
+ required: string[];
4457
+ type: string;
4458
+ };
4459
+ ok: {
4460
+ type: string;
4461
+ };
4462
+ };
4463
+ required: string[];
4464
+ type: string;
4465
+ };
4466
+ };
4467
+ };
4468
+ description: string;
4469
+ };
4470
+ 400: {
4471
+ description: string;
4472
+ };
4473
+ 401: {
4474
+ description: string;
4475
+ };
4476
+ };
4477
+ security: ({
4478
+ access_token: never[];
4479
+ seam_workspace: never[];
4480
+ seam_client_session_token?: never;
4481
+ client_session_token?: never;
4482
+ } | {
4483
+ seam_client_session_token: never[];
4484
+ access_token?: never;
4485
+ seam_workspace?: never;
4486
+ client_session_token?: never;
4487
+ } | {
4488
+ client_session_token: never[];
4489
+ access_token?: never;
4490
+ seam_workspace?: never;
4491
+ seam_client_session_token?: never;
4492
+ })[];
4493
+ summary: string;
4494
+ tags: never[];
4495
+ 'x-fern-sdk-group-name': string[];
4496
+ 'x-fern-sdk-method-name': string;
4497
+ };
4498
+ };
4499
+ '/acs/credentials/delete': {
4500
+ post: {
4501
+ operationId: string;
4502
+ requestBody: {
4503
+ content: {
4504
+ 'application/json': {
4505
+ schema: {
4506
+ properties: {
4507
+ acs_credential_id: {
4508
+ format: string;
4509
+ type: string;
4510
+ };
4511
+ };
4512
+ required: string[];
4513
+ type: string;
4514
+ };
4515
+ };
4516
+ };
4517
+ };
4518
+ responses: {
4519
+ 200: {
4520
+ content: {
4521
+ 'application/json': {
4522
+ schema: {
4523
+ properties: {
4524
+ ok: {
4525
+ type: string;
4526
+ };
4527
+ };
4528
+ required: string[];
4529
+ type: string;
4530
+ };
4531
+ };
4532
+ };
4533
+ description: string;
4534
+ };
4535
+ 400: {
4536
+ description: string;
4537
+ };
4538
+ 401: {
4539
+ description: string;
4540
+ };
4541
+ };
4542
+ security: ({
4543
+ access_token: never[];
4544
+ seam_workspace: never[];
4545
+ seam_client_session_token?: never;
4546
+ client_session_token?: never;
4547
+ } | {
4548
+ seam_client_session_token: never[];
4549
+ access_token?: never;
4550
+ seam_workspace?: never;
4551
+ client_session_token?: never;
4552
+ } | {
4553
+ client_session_token: never[];
4554
+ access_token?: never;
4555
+ seam_workspace?: never;
4556
+ seam_client_session_token?: never;
4557
+ })[];
4558
+ summary: string;
4559
+ tags: never[];
4560
+ 'x-fern-sdk-group-name': string[];
4561
+ 'x-fern-sdk-method-name': string;
4562
+ };
4563
+ };
4564
+ '/acs/credentials/get': {
4565
+ post: {
4566
+ operationId: string;
4567
+ requestBody: {
4568
+ content: {
4569
+ 'application/json': {
4570
+ schema: {
4571
+ properties: {
4572
+ acs_credentials_id: {
4573
+ format: string;
4574
+ type: string;
4575
+ };
4576
+ };
4577
+ required: string[];
4578
+ type: string;
4579
+ };
4580
+ };
4581
+ };
4582
+ };
4583
+ responses: {
4584
+ 200: {
4585
+ content: {
4586
+ 'application/json': {
4587
+ schema: {
4588
+ properties: {
4589
+ acs_credential: {
4590
+ properties: {
4591
+ acs_credential_id: {
4592
+ format: string;
4593
+ type: string;
4594
+ };
4595
+ acs_system_id: {
4596
+ format: string;
4597
+ type: string;
4598
+ };
4599
+ acs_user_id: {
4600
+ format: string;
4601
+ type: string;
4602
+ };
4603
+ code: {
4604
+ type: string;
4605
+ };
4606
+ created_at: {
4607
+ format: string;
4608
+ type: string;
4609
+ };
4610
+ workspace_id: {
4611
+ format: string;
4612
+ type: string;
4613
+ };
4614
+ };
4615
+ required: string[];
4616
+ type: string;
4617
+ };
4618
+ ok: {
4619
+ type: string;
4620
+ };
4621
+ };
4622
+ required: string[];
4623
+ type: string;
4624
+ };
4625
+ };
4626
+ };
4627
+ description: string;
4628
+ };
4629
+ 400: {
4630
+ description: string;
4631
+ };
4632
+ 401: {
4633
+ description: string;
4634
+ };
4635
+ };
4636
+ security: ({
4637
+ access_token: never[];
4638
+ seam_workspace: never[];
4639
+ seam_client_session_token?: never;
4640
+ client_session_token?: never;
4641
+ } | {
4642
+ seam_client_session_token: never[];
4643
+ access_token?: never;
4644
+ seam_workspace?: never;
4645
+ client_session_token?: never;
4646
+ } | {
4647
+ client_session_token: never[];
4648
+ access_token?: never;
4649
+ seam_workspace?: never;
4650
+ seam_client_session_token?: never;
4651
+ })[];
4652
+ summary: string;
4653
+ tags: never[];
4654
+ 'x-fern-sdk-group-name': string[];
4655
+ 'x-fern-sdk-method-name': string;
4656
+ };
4657
+ };
4658
+ '/acs/credentials/list': {
4659
+ post: {
4660
+ operationId: string;
4661
+ requestBody: {
4662
+ content: {
4663
+ 'application/json': {
4664
+ schema: {
4665
+ properties: {
4666
+ acs_user_id: {
4667
+ format: string;
4668
+ type: string;
4669
+ };
4670
+ };
4671
+ required: string[];
4672
+ type: string;
4673
+ };
4674
+ };
4675
+ };
4676
+ };
4677
+ responses: {
4678
+ 200: {
4679
+ content: {
4680
+ 'application/json': {
4681
+ schema: {
4682
+ properties: {
4683
+ acs_credentials: {
4684
+ items: {
4685
+ properties: {
4686
+ acs_credential_id: {
4687
+ format: string;
4688
+ type: string;
4689
+ };
4690
+ acs_system_id: {
4691
+ format: string;
4692
+ type: string;
4693
+ };
4694
+ acs_user_id: {
4695
+ format: string;
4696
+ type: string;
4697
+ };
4698
+ code: {
4699
+ type: string;
4700
+ };
4701
+ created_at: {
4702
+ format: string;
4703
+ type: string;
4704
+ };
4705
+ workspace_id: {
4706
+ format: string;
4707
+ type: string;
4708
+ };
4709
+ };
4710
+ required: string[];
4711
+ type: string;
4712
+ };
4713
+ type: string;
4714
+ };
4715
+ ok: {
4716
+ type: string;
4717
+ };
4718
+ };
4719
+ required: string[];
4720
+ type: string;
4721
+ };
4722
+ };
4723
+ };
4724
+ description: string;
4725
+ };
4726
+ 400: {
4727
+ description: string;
4728
+ };
4729
+ 401: {
4730
+ description: string;
4731
+ };
4732
+ };
4733
+ security: ({
4734
+ access_token: never[];
4735
+ seam_workspace: never[];
4736
+ seam_client_session_token?: never;
4737
+ client_session_token?: never;
4738
+ } | {
4739
+ seam_client_session_token: never[];
4740
+ access_token?: never;
4741
+ seam_workspace?: never;
4742
+ client_session_token?: never;
4743
+ } | {
4744
+ client_session_token: never[];
4745
+ access_token?: never;
4746
+ seam_workspace?: never;
4747
+ seam_client_session_token?: never;
4748
+ })[];
4749
+ summary: string;
4750
+ tags: never[];
4751
+ 'x-fern-sdk-group-name': string[];
4752
+ 'x-fern-sdk-method-name': string;
4753
+ };
4754
+ };
4392
4755
  '/acs/systems/get': {
4393
4756
  post: {
4394
4757
  operationId: string;
@@ -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
  },
@@ -2455,6 +2457,7 @@ export default {
2455
2457
  },
2456
2458
  device_id: { format: 'uuid', type: 'string' },
2457
2459
  ends_at: { type: 'string' },
2460
+ is_managed: { type: 'boolean' },
2458
2461
  name: { type: 'string' },
2459
2462
  prefer_native_scheduling: { type: 'boolean' },
2460
2463
  starts_at: { type: 'string' },
@@ -2521,6 +2524,7 @@ export default {
2521
2524
  },
2522
2525
  device_id: { format: 'uuid', type: 'string' },
2523
2526
  ends_at: { type: 'string' },
2527
+ is_managed: { type: 'boolean' },
2524
2528
  name: { type: 'string' },
2525
2529
  prefer_native_scheduling: { type: 'boolean' },
2526
2530
  starts_at: { type: 'string' },
@@ -3017,6 +3021,243 @@ export default {
3017
3021
  'x-fern-sdk-method-name': 'update',
3018
3022
  },
3019
3023
  },
3024
+ '/acs/credentials/create': {
3025
+ post: {
3026
+ operationId: 'acsCredentialsCreatePost',
3027
+ requestBody: {
3028
+ content: {
3029
+ 'application/json': {
3030
+ schema: {
3031
+ properties: {
3032
+ acs_user_id: { format: 'uuid', type: 'string' },
3033
+ code: { pattern: '^\\d+$', type: 'string' },
3034
+ },
3035
+ required: ['acs_user_id', 'code'],
3036
+ type: 'object',
3037
+ },
3038
+ },
3039
+ },
3040
+ },
3041
+ responses: {
3042
+ 200: {
3043
+ content: {
3044
+ 'application/json': {
3045
+ schema: {
3046
+ properties: {
3047
+ acs_credential: {
3048
+ properties: {
3049
+ acs_credential_id: { format: 'uuid', type: 'string' },
3050
+ acs_system_id: { format: 'uuid', type: 'string' },
3051
+ acs_user_id: { format: 'uuid', type: 'string' },
3052
+ code: { type: 'string' },
3053
+ created_at: { format: 'date-time', type: 'string' },
3054
+ workspace_id: { format: 'uuid', type: 'string' },
3055
+ },
3056
+ required: [
3057
+ 'acs_credential_id',
3058
+ 'acs_user_id',
3059
+ 'acs_system_id',
3060
+ 'code',
3061
+ 'created_at',
3062
+ 'workspace_id',
3063
+ ],
3064
+ type: 'object',
3065
+ },
3066
+ ok: { type: 'boolean' },
3067
+ },
3068
+ required: ['acs_credential', 'ok'],
3069
+ type: 'object',
3070
+ },
3071
+ },
3072
+ },
3073
+ description: 'OK',
3074
+ },
3075
+ 400: { description: 'Bad Request' },
3076
+ 401: { description: 'Unauthorized' },
3077
+ },
3078
+ security: [
3079
+ { access_token: [], seam_workspace: [] },
3080
+ { seam_client_session_token: [] },
3081
+ { client_session_token: [] },
3082
+ ],
3083
+ summary: '/acs/credentials/create',
3084
+ tags: [],
3085
+ 'x-fern-sdk-group-name': ['acs', 'credentials'],
3086
+ 'x-fern-sdk-method-name': 'create',
3087
+ },
3088
+ },
3089
+ '/acs/credentials/delete': {
3090
+ post: {
3091
+ operationId: 'acsCredentialsDeletePost',
3092
+ requestBody: {
3093
+ content: {
3094
+ 'application/json': {
3095
+ schema: {
3096
+ properties: {
3097
+ acs_credential_id: { format: 'uuid', type: 'string' },
3098
+ },
3099
+ required: ['acs_credential_id'],
3100
+ type: 'object',
3101
+ },
3102
+ },
3103
+ },
3104
+ },
3105
+ responses: {
3106
+ 200: {
3107
+ content: {
3108
+ 'application/json': {
3109
+ schema: {
3110
+ properties: { ok: { type: 'boolean' } },
3111
+ required: ['ok'],
3112
+ type: 'object',
3113
+ },
3114
+ },
3115
+ },
3116
+ description: 'OK',
3117
+ },
3118
+ 400: { description: 'Bad Request' },
3119
+ 401: { description: 'Unauthorized' },
3120
+ },
3121
+ security: [
3122
+ { access_token: [], seam_workspace: [] },
3123
+ { seam_client_session_token: [] },
3124
+ { client_session_token: [] },
3125
+ ],
3126
+ summary: '/acs/credentials/delete',
3127
+ tags: [],
3128
+ 'x-fern-sdk-group-name': ['acs', 'credentials'],
3129
+ 'x-fern-sdk-method-name': 'delete',
3130
+ },
3131
+ },
3132
+ '/acs/credentials/get': {
3133
+ post: {
3134
+ operationId: 'acsCredentialsGetPost',
3135
+ requestBody: {
3136
+ content: {
3137
+ 'application/json': {
3138
+ schema: {
3139
+ properties: {
3140
+ acs_credentials_id: { format: 'uuid', type: 'string' },
3141
+ },
3142
+ required: ['acs_credentials_id'],
3143
+ type: 'object',
3144
+ },
3145
+ },
3146
+ },
3147
+ },
3148
+ responses: {
3149
+ 200: {
3150
+ content: {
3151
+ 'application/json': {
3152
+ schema: {
3153
+ properties: {
3154
+ acs_credential: {
3155
+ properties: {
3156
+ acs_credential_id: { format: 'uuid', type: 'string' },
3157
+ acs_system_id: { format: 'uuid', type: 'string' },
3158
+ acs_user_id: { format: 'uuid', type: 'string' },
3159
+ code: { type: 'string' },
3160
+ created_at: { format: 'date-time', type: 'string' },
3161
+ workspace_id: { format: 'uuid', type: 'string' },
3162
+ },
3163
+ required: [
3164
+ 'acs_credential_id',
3165
+ 'acs_user_id',
3166
+ 'acs_system_id',
3167
+ 'code',
3168
+ 'created_at',
3169
+ 'workspace_id',
3170
+ ],
3171
+ type: 'object',
3172
+ },
3173
+ ok: { type: 'boolean' },
3174
+ },
3175
+ required: ['acs_credential', 'ok'],
3176
+ type: 'object',
3177
+ },
3178
+ },
3179
+ },
3180
+ description: 'OK',
3181
+ },
3182
+ 400: { description: 'Bad Request' },
3183
+ 401: { description: 'Unauthorized' },
3184
+ },
3185
+ security: [
3186
+ { access_token: [], seam_workspace: [] },
3187
+ { seam_client_session_token: [] },
3188
+ { client_session_token: [] },
3189
+ ],
3190
+ summary: '/acs/credentials/get',
3191
+ tags: [],
3192
+ 'x-fern-sdk-group-name': ['acs', 'credentials'],
3193
+ 'x-fern-sdk-method-name': 'get',
3194
+ },
3195
+ },
3196
+ '/acs/credentials/list': {
3197
+ post: {
3198
+ operationId: 'acsCredentialsListPost',
3199
+ requestBody: {
3200
+ content: {
3201
+ 'application/json': {
3202
+ schema: {
3203
+ properties: { acs_user_id: { format: 'uuid', type: 'string' } },
3204
+ required: ['acs_user_id'],
3205
+ type: 'object',
3206
+ },
3207
+ },
3208
+ },
3209
+ },
3210
+ responses: {
3211
+ 200: {
3212
+ content: {
3213
+ 'application/json': {
3214
+ schema: {
3215
+ properties: {
3216
+ acs_credentials: {
3217
+ items: {
3218
+ properties: {
3219
+ acs_credential_id: { format: 'uuid', type: 'string' },
3220
+ acs_system_id: { format: 'uuid', type: 'string' },
3221
+ acs_user_id: { format: 'uuid', type: 'string' },
3222
+ code: { type: 'string' },
3223
+ created_at: { format: 'date-time', type: 'string' },
3224
+ workspace_id: { format: 'uuid', type: 'string' },
3225
+ },
3226
+ required: [
3227
+ 'acs_credential_id',
3228
+ 'acs_user_id',
3229
+ 'acs_system_id',
3230
+ 'code',
3231
+ 'created_at',
3232
+ 'workspace_id',
3233
+ ],
3234
+ type: 'object',
3235
+ },
3236
+ type: 'array',
3237
+ },
3238
+ ok: { type: 'boolean' },
3239
+ },
3240
+ required: ['acs_credentials', 'ok'],
3241
+ type: 'object',
3242
+ },
3243
+ },
3244
+ },
3245
+ description: 'OK',
3246
+ },
3247
+ 400: { description: 'Bad Request' },
3248
+ 401: { description: 'Unauthorized' },
3249
+ },
3250
+ security: [
3251
+ { access_token: [], seam_workspace: [] },
3252
+ { seam_client_session_token: [] },
3253
+ { client_session_token: [] },
3254
+ ],
3255
+ summary: '/acs/credentials/list',
3256
+ tags: [],
3257
+ 'x-fern-sdk-group-name': ['acs', 'credentials'],
3258
+ 'x-fern-sdk-method-name': 'list',
3259
+ },
3260
+ },
3020
3261
  '/acs/systems/get': {
3021
3262
  post: {
3022
3263
  operationId: 'acsSystemsGetPost',
@@ -3980,6 +4221,7 @@ export default {
3980
4221
  'genie',
3981
4222
  'doorking',
3982
4223
  'salto',
4224
+ 'lockly',
3983
4225
  'ttlock',
3984
4226
  'linear',
3985
4227
  'noiseaware',