@seamapi/types 1.47.0 → 1.48.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.
@@ -1993,6 +1993,28 @@ declare const _default: {
1993
1993
  required: string[];
1994
1994
  type: string;
1995
1995
  };
1996
+ device_provider: {
1997
+ properties: {
1998
+ device_provider_name: {
1999
+ type: string;
2000
+ };
2001
+ display_name: {
2002
+ type: string;
2003
+ };
2004
+ image_url: {
2005
+ type: string;
2006
+ };
2007
+ provider_categories: {
2008
+ items: {
2009
+ enum: string[];
2010
+ type: string;
2011
+ };
2012
+ type: string;
2013
+ };
2014
+ };
2015
+ required: string[];
2016
+ type: string;
2017
+ };
1996
2018
  event: {
1997
2019
  properties: {
1998
2020
  created_at: {
@@ -4479,6 +4501,47 @@ declare const _default: {
4479
4501
  'application/json': {
4480
4502
  schema: {
4481
4503
  properties: {
4504
+ acs_credential: {
4505
+ properties: {
4506
+ acs_credential_id: {
4507
+ format: string;
4508
+ type: string;
4509
+ };
4510
+ acs_system_id: {
4511
+ format: string;
4512
+ type: string;
4513
+ };
4514
+ acs_user_id: {
4515
+ format: string;
4516
+ type: string;
4517
+ };
4518
+ code: {
4519
+ nullable: boolean;
4520
+ type: string;
4521
+ };
4522
+ created_at: {
4523
+ format: string;
4524
+ type: string;
4525
+ };
4526
+ display_name: {
4527
+ minLength: number;
4528
+ type: string;
4529
+ };
4530
+ external_type: {
4531
+ enum: string[];
4532
+ type: string;
4533
+ };
4534
+ external_type_display_name: {
4535
+ type: string;
4536
+ };
4537
+ workspace_id: {
4538
+ format: string;
4539
+ type: string;
4540
+ };
4541
+ };
4542
+ required: string[];
4543
+ type: string;
4544
+ };
4482
4545
  ok: {
4483
4546
  type: string;
4484
4547
  };
@@ -4545,6 +4608,47 @@ declare const _default: {
4545
4608
  'application/json': {
4546
4609
  schema: {
4547
4610
  properties: {
4611
+ acs_credential: {
4612
+ properties: {
4613
+ acs_credential_id: {
4614
+ format: string;
4615
+ type: string;
4616
+ };
4617
+ acs_system_id: {
4618
+ format: string;
4619
+ type: string;
4620
+ };
4621
+ acs_user_id: {
4622
+ format: string;
4623
+ type: string;
4624
+ };
4625
+ code: {
4626
+ nullable: boolean;
4627
+ type: string;
4628
+ };
4629
+ created_at: {
4630
+ format: string;
4631
+ type: string;
4632
+ };
4633
+ display_name: {
4634
+ minLength: number;
4635
+ type: string;
4636
+ };
4637
+ external_type: {
4638
+ enum: string[];
4639
+ type: string;
4640
+ };
4641
+ external_type_display_name: {
4642
+ type: string;
4643
+ };
4644
+ workspace_id: {
4645
+ format: string;
4646
+ type: string;
4647
+ };
4648
+ };
4649
+ required: string[];
4650
+ type: string;
4651
+ };
4548
4652
  ok: {
4549
4653
  type: string;
4550
4654
  };
@@ -8073,26 +8177,7 @@ declare const _default: {
8073
8177
  properties: {
8074
8178
  device_providers: {
8075
8179
  items: {
8076
- properties: {
8077
- device_provider_name: {
8078
- type: string;
8079
- };
8080
- display_name: {
8081
- type: string;
8082
- };
8083
- image_url: {
8084
- type: string;
8085
- };
8086
- provider_categories: {
8087
- items: {
8088
- enum: string[];
8089
- type: string;
8090
- };
8091
- type: string;
8092
- };
8093
- };
8094
- required: string[];
8095
- type: string;
8180
+ $ref: string;
8096
8181
  };
8097
8182
  type: string;
8098
8183
  };
@@ -13409,7 +13494,19 @@ interface Routes {
13409
13494
  };
13410
13495
  commonParams: {};
13411
13496
  formData: {};
13412
- jsonResponse: {};
13497
+ jsonResponse: {
13498
+ acs_credential: {
13499
+ acs_credential_id: string;
13500
+ acs_user_id?: string | undefined;
13501
+ acs_system_id: string;
13502
+ display_name: string;
13503
+ code: string | null;
13504
+ external_type: 'pti_card' | 'brivo_credential' | 'hid_cm_credential';
13505
+ external_type_display_name: string;
13506
+ created_at: string;
13507
+ workspace_id: string;
13508
+ };
13509
+ };
13413
13510
  };
13414
13511
  '/acs/credentials/create': {
13415
13512
  route: '/acs/credentials/create';
@@ -13428,7 +13525,7 @@ interface Routes {
13428
13525
  acs_system_id: string;
13429
13526
  display_name: string;
13430
13527
  code: string | null;
13431
- external_type: 'pti_card' | 'brivo_credential';
13528
+ external_type: 'pti_card' | 'brivo_credential' | 'hid_cm_credential';
13432
13529
  external_type_display_name: string;
13433
13530
  created_at: string;
13434
13531
  workspace_id: string;
@@ -13462,7 +13559,7 @@ interface Routes {
13462
13559
  acs_system_id: string;
13463
13560
  display_name: string;
13464
13561
  code: string | null;
13465
- external_type: 'pti_card' | 'brivo_credential';
13562
+ external_type: 'pti_card' | 'brivo_credential' | 'hid_cm_credential';
13466
13563
  external_type_display_name: string;
13467
13564
  created_at: string;
13468
13565
  workspace_id: string;
@@ -13490,7 +13587,7 @@ interface Routes {
13490
13587
  acs_system_id: string;
13491
13588
  display_name: string;
13492
13589
  code: string | null;
13493
- external_type: 'pti_card' | 'brivo_credential';
13590
+ external_type: 'pti_card' | 'brivo_credential' | 'hid_cm_credential';
13494
13591
  external_type_display_name: string;
13495
13592
  created_at: string;
13496
13593
  workspace_id: string;
@@ -13514,7 +13611,7 @@ interface Routes {
13514
13611
  acs_system_id: string;
13515
13612
  display_name: string;
13516
13613
  code: string | null;
13517
- external_type: 'pti_card' | 'brivo_credential';
13614
+ external_type: 'pti_card' | 'brivo_credential' | 'hid_cm_credential';
13518
13615
  external_type_display_name: string;
13519
13616
  created_at: string;
13520
13617
  workspace_id: string;
@@ -1916,6 +1916,28 @@ declare const _default: {
1916
1916
  required: string[];
1917
1917
  type: string;
1918
1918
  };
1919
+ device_provider: {
1920
+ properties: {
1921
+ device_provider_name: {
1922
+ type: string;
1923
+ };
1924
+ display_name: {
1925
+ type: string;
1926
+ };
1927
+ image_url: {
1928
+ type: string;
1929
+ };
1930
+ provider_categories: {
1931
+ items: {
1932
+ enum: string[];
1933
+ type: string;
1934
+ };
1935
+ type: string;
1936
+ };
1937
+ };
1938
+ required: string[];
1939
+ type: string;
1940
+ };
1919
1941
  event: {
1920
1942
  properties: {
1921
1943
  created_at: {
@@ -4402,6 +4424,47 @@ declare const _default: {
4402
4424
  'application/json': {
4403
4425
  schema: {
4404
4426
  properties: {
4427
+ acs_credential: {
4428
+ properties: {
4429
+ acs_credential_id: {
4430
+ format: string;
4431
+ type: string;
4432
+ };
4433
+ acs_system_id: {
4434
+ format: string;
4435
+ type: string;
4436
+ };
4437
+ acs_user_id: {
4438
+ format: string;
4439
+ type: string;
4440
+ };
4441
+ code: {
4442
+ nullable: boolean;
4443
+ type: string;
4444
+ };
4445
+ created_at: {
4446
+ format: string;
4447
+ type: string;
4448
+ };
4449
+ display_name: {
4450
+ minLength: number;
4451
+ type: string;
4452
+ };
4453
+ external_type: {
4454
+ enum: string[];
4455
+ type: string;
4456
+ };
4457
+ external_type_display_name: {
4458
+ type: string;
4459
+ };
4460
+ workspace_id: {
4461
+ format: string;
4462
+ type: string;
4463
+ };
4464
+ };
4465
+ required: string[];
4466
+ type: string;
4467
+ };
4405
4468
  ok: {
4406
4469
  type: string;
4407
4470
  };
@@ -4468,6 +4531,47 @@ declare const _default: {
4468
4531
  'application/json': {
4469
4532
  schema: {
4470
4533
  properties: {
4534
+ acs_credential: {
4535
+ properties: {
4536
+ acs_credential_id: {
4537
+ format: string;
4538
+ type: string;
4539
+ };
4540
+ acs_system_id: {
4541
+ format: string;
4542
+ type: string;
4543
+ };
4544
+ acs_user_id: {
4545
+ format: string;
4546
+ type: string;
4547
+ };
4548
+ code: {
4549
+ nullable: boolean;
4550
+ type: string;
4551
+ };
4552
+ created_at: {
4553
+ format: string;
4554
+ type: string;
4555
+ };
4556
+ display_name: {
4557
+ minLength: number;
4558
+ type: string;
4559
+ };
4560
+ external_type: {
4561
+ enum: string[];
4562
+ type: string;
4563
+ };
4564
+ external_type_display_name: {
4565
+ type: string;
4566
+ };
4567
+ workspace_id: {
4568
+ format: string;
4569
+ type: string;
4570
+ };
4571
+ };
4572
+ required: string[];
4573
+ type: string;
4574
+ };
4471
4575
  ok: {
4472
4576
  type: string;
4473
4577
  };
@@ -7996,26 +8100,7 @@ declare const _default: {
7996
8100
  properties: {
7997
8101
  device_providers: {
7998
8102
  items: {
7999
- properties: {
8000
- device_provider_name: {
8001
- type: string;
8002
- };
8003
- display_name: {
8004
- type: string;
8005
- };
8006
- image_url: {
8007
- type: string;
8008
- };
8009
- provider_categories: {
8010
- items: {
8011
- enum: string[];
8012
- type: string;
8013
- };
8014
- type: string;
8015
- };
8016
- };
8017
- required: string[];
8018
- type: string;
8103
+ $ref: string;
8019
8104
  };
8020
8105
  type: string;
8021
8106
  };
@@ -1370,6 +1370,24 @@ export default {
1370
1370
  ],
1371
1371
  type: 'object',
1372
1372
  },
1373
+ device_provider: {
1374
+ properties: {
1375
+ device_provider_name: { type: 'string' },
1376
+ display_name: { type: 'string' },
1377
+ image_url: { type: 'string' },
1378
+ provider_categories: {
1379
+ items: { enum: ['stable', 'consumer_smartlocks'], type: 'string' },
1380
+ type: 'array',
1381
+ },
1382
+ },
1383
+ required: [
1384
+ 'device_provider_name',
1385
+ 'display_name',
1386
+ 'image_url',
1387
+ 'provider_categories',
1388
+ ],
1389
+ type: 'object',
1390
+ },
1373
1391
  event: {
1374
1392
  properties: {
1375
1393
  created_at: { format: 'date-time', type: 'string' },
@@ -3018,8 +3036,41 @@ export default {
3018
3036
  content: {
3019
3037
  'application/json': {
3020
3038
  schema: {
3021
- properties: { ok: { type: 'boolean' } },
3022
- required: ['ok'],
3039
+ properties: {
3040
+ acs_credential: {
3041
+ properties: {
3042
+ acs_credential_id: { format: 'uuid', type: 'string' },
3043
+ acs_system_id: { format: 'uuid', type: 'string' },
3044
+ acs_user_id: { format: 'uuid', type: 'string' },
3045
+ code: { nullable: true, type: 'string' },
3046
+ created_at: { format: 'date-time', type: 'string' },
3047
+ display_name: { minLength: 1, type: 'string' },
3048
+ external_type: {
3049
+ enum: [
3050
+ 'pti_card',
3051
+ 'brivo_credential',
3052
+ 'hid_cm_credential',
3053
+ ],
3054
+ type: 'string',
3055
+ },
3056
+ external_type_display_name: { type: 'string' },
3057
+ workspace_id: { format: 'uuid', type: 'string' },
3058
+ },
3059
+ required: [
3060
+ 'acs_credential_id',
3061
+ 'acs_system_id',
3062
+ 'display_name',
3063
+ 'code',
3064
+ 'external_type',
3065
+ 'external_type_display_name',
3066
+ 'created_at',
3067
+ 'workspace_id',
3068
+ ],
3069
+ type: 'object',
3070
+ },
3071
+ ok: { type: 'boolean' },
3072
+ },
3073
+ required: ['acs_credential', 'ok'],
3023
3074
  type: 'object',
3024
3075
  },
3025
3076
  },
@@ -3059,8 +3110,41 @@ export default {
3059
3110
  content: {
3060
3111
  'application/json': {
3061
3112
  schema: {
3062
- properties: { ok: { type: 'boolean' } },
3063
- required: ['ok'],
3113
+ properties: {
3114
+ acs_credential: {
3115
+ properties: {
3116
+ acs_credential_id: { format: 'uuid', type: 'string' },
3117
+ acs_system_id: { format: 'uuid', type: 'string' },
3118
+ acs_user_id: { format: 'uuid', type: 'string' },
3119
+ code: { nullable: true, type: 'string' },
3120
+ created_at: { format: 'date-time', type: 'string' },
3121
+ display_name: { minLength: 1, type: 'string' },
3122
+ external_type: {
3123
+ enum: [
3124
+ 'pti_card',
3125
+ 'brivo_credential',
3126
+ 'hid_cm_credential',
3127
+ ],
3128
+ type: 'string',
3129
+ },
3130
+ external_type_display_name: { type: 'string' },
3131
+ workspace_id: { format: 'uuid', type: 'string' },
3132
+ },
3133
+ required: [
3134
+ 'acs_credential_id',
3135
+ 'acs_system_id',
3136
+ 'display_name',
3137
+ 'code',
3138
+ 'external_type',
3139
+ 'external_type_display_name',
3140
+ 'created_at',
3141
+ 'workspace_id',
3142
+ ],
3143
+ type: 'object',
3144
+ },
3145
+ ok: { type: 'boolean' },
3146
+ },
3147
+ required: ['acs_credential', 'ok'],
3064
3148
  type: 'object',
3065
3149
  },
3066
3150
  },
@@ -3113,7 +3197,11 @@ export default {
3113
3197
  created_at: { format: 'date-time', type: 'string' },
3114
3198
  display_name: { minLength: 1, type: 'string' },
3115
3199
  external_type: {
3116
- enum: ['pti_card', 'brivo_credential'],
3200
+ enum: [
3201
+ 'pti_card',
3202
+ 'brivo_credential',
3203
+ 'hid_cm_credential',
3204
+ ],
3117
3205
  type: 'string',
3118
3206
  },
3119
3207
  external_type_display_name: { type: 'string' },
@@ -3228,7 +3316,11 @@ export default {
3228
3316
  created_at: { format: 'date-time', type: 'string' },
3229
3317
  display_name: { minLength: 1, type: 'string' },
3230
3318
  external_type: {
3231
- enum: ['pti_card', 'brivo_credential'],
3319
+ enum: [
3320
+ 'pti_card',
3321
+ 'brivo_credential',
3322
+ 'hid_cm_credential',
3323
+ ],
3232
3324
  type: 'string',
3233
3325
  },
3234
3326
  external_type_display_name: { type: 'string' },
@@ -3320,7 +3412,11 @@ export default {
3320
3412
  created_at: { format: 'date-time', type: 'string' },
3321
3413
  display_name: { minLength: 1, type: 'string' },
3322
3414
  external_type: {
3323
- enum: ['pti_card', 'brivo_credential'],
3415
+ enum: [
3416
+ 'pti_card',
3417
+ 'brivo_credential',
3418
+ 'hid_cm_credential',
3419
+ ],
3324
3420
  type: 'string',
3325
3421
  },
3326
3422
  external_type_display_name: { type: 'string' },
@@ -3395,7 +3491,11 @@ export default {
3395
3491
  created_at: { format: 'date-time', type: 'string' },
3396
3492
  display_name: { minLength: 1, type: 'string' },
3397
3493
  external_type: {
3398
- enum: ['pti_card', 'brivo_credential'],
3494
+ enum: [
3495
+ 'pti_card',
3496
+ 'brivo_credential',
3497
+ 'hid_cm_credential',
3498
+ ],
3399
3499
  type: 'string',
3400
3500
  },
3401
3501
  external_type_display_name: { type: 'string' },
@@ -3465,7 +3565,11 @@ export default {
3465
3565
  created_at: { format: 'date-time', type: 'string' },
3466
3566
  display_name: { minLength: 1, type: 'string' },
3467
3567
  external_type: {
3468
- enum: ['pti_card', 'brivo_credential'],
3568
+ enum: [
3569
+ 'pti_card',
3570
+ 'brivo_credential',
3571
+ 'hid_cm_credential',
3572
+ ],
3469
3573
  type: 'string',
3470
3574
  },
3471
3575
  external_type_display_name: { type: 'string' },
@@ -5589,27 +5693,7 @@ export default {
5589
5693
  schema: {
5590
5694
  properties: {
5591
5695
  device_providers: {
5592
- items: {
5593
- properties: {
5594
- device_provider_name: { type: 'string' },
5595
- display_name: { type: 'string' },
5596
- image_url: { type: 'string' },
5597
- provider_categories: {
5598
- items: {
5599
- enum: ['stable', 'consumer_smartlocks'],
5600
- type: 'string',
5601
- },
5602
- type: 'array',
5603
- },
5604
- },
5605
- required: [
5606
- 'device_provider_name',
5607
- 'display_name',
5608
- 'image_url',
5609
- 'provider_categories',
5610
- ],
5611
- type: 'object',
5612
- },
5696
+ items: { $ref: '#/components/schemas/device_provider' },
5613
5697
  type: 'array',
5614
5698
  },
5615
5699
  ok: { type: 'boolean' },