@seamapi/types 1.46.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.
Files changed (34) hide show
  1. package/dist/connect.cjs +316 -35
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +445 -34
  4. package/lib/seam/connect/openapi.d.ts +371 -20
  5. package/lib/seam/connect/openapi.js +316 -35
  6. package/lib/seam/connect/openapi.js.map +1 -1
  7. package/lib/seam/connect/route-types.d.ts +74 -14
  8. package/lib/seam/connect/unstable/models/acs/credential.d.ts +4 -4
  9. package/lib/seam/connect/unstable/models/acs/credential.js +1 -0
  10. package/lib/seam/connect/unstable/models/acs/credential.js.map +1 -1
  11. package/lib/seam/connect/unstable/models/acs/entrance.d.ts +18 -0
  12. package/lib/seam/connect/unstable/models/acs/entrance.js +8 -0
  13. package/lib/seam/connect/unstable/models/acs/entrance.js.map +1 -0
  14. package/lib/seam/connect/unstable/models/acs/index.d.ts +1 -0
  15. package/lib/seam/connect/unstable/models/acs/index.js +1 -0
  16. package/lib/seam/connect/unstable/models/acs/index.js.map +1 -1
  17. package/lib/seam/connect/unstable/models/acs/system.d.ts +7 -7
  18. package/lib/seam/connect/unstable/models/acs/system.js +1 -0
  19. package/lib/seam/connect/unstable/models/acs/system.js.map +1 -1
  20. package/lib/seam/connect/unstable/models/acs/user.d.ts +4 -4
  21. package/lib/seam/connect/unstable/models/acs/user.js +5 -1
  22. package/lib/seam/connect/unstable/models/acs/user.js.map +1 -1
  23. package/lib/seam/connect/unstable/schemas.d.ts +1 -1
  24. package/lib/seam/connect/unstable/schemas.js +1 -1
  25. package/lib/seam/connect/unstable/schemas.js.map +1 -1
  26. package/package.json +1 -1
  27. package/src/lib/seam/connect/openapi.ts +316 -35
  28. package/src/lib/seam/connect/route-types.ts +94 -14
  29. package/src/lib/seam/connect/unstable/models/acs/credential.ts +1 -0
  30. package/src/lib/seam/connect/unstable/models/acs/entrance.ts +10 -0
  31. package/src/lib/seam/connect/unstable/models/acs/index.ts +1 -0
  32. package/src/lib/seam/connect/unstable/models/acs/system.ts +1 -0
  33. package/src/lib/seam/connect/unstable/models/acs/user.ts +5 -1
  34. package/src/lib/seam/connect/unstable/schemas.ts +1 -0
package/dist/connect.cjs CHANGED
@@ -147,14 +147,26 @@ var openapi_default = {
147
147
  connected_account_ids: { items: { type: "string" }, type: "array" },
148
148
  created_at: { format: "date-time", type: "string" },
149
149
  external_type: {
150
- enum: ["pti_site", "alta_org", "salto_site", "brivo_system"],
150
+ enum: [
151
+ "pti_site",
152
+ "alta_org",
153
+ "salto_site",
154
+ "brivo_system",
155
+ "hid_cm_org"
156
+ ],
151
157
  type: "string"
152
158
  },
153
159
  external_type_display_name: { type: "string" },
154
160
  name: { type: "string" },
155
161
  system_type: {
156
162
  description: "deprecated: use external_type",
157
- enum: ["pti_site", "alta_org", "salto_site", "brivo_system"],
163
+ enum: [
164
+ "pti_site",
165
+ "alta_org",
166
+ "salto_site",
167
+ "brivo_system",
168
+ "hid_cm_org"
169
+ ],
158
170
  type: "string"
159
171
  },
160
172
  system_type_display_name: {
@@ -186,7 +198,10 @@ var openapi_default = {
186
198
  type: "string"
187
199
  },
188
200
  email_address: { format: "email", type: "string" },
189
- external_type: { enum: ["pti_user", "brivo_user"], type: "string" },
201
+ external_type: {
202
+ enum: ["pti_user", "brivo_user", "hid_cm_user"],
203
+ type: "string"
204
+ },
190
205
  external_type_display_name: { type: "string" },
191
206
  full_name: { type: "string" },
192
207
  is_suspended: { type: "boolean" },
@@ -1402,6 +1417,24 @@ var openapi_default = {
1402
1417
  ],
1403
1418
  type: "object"
1404
1419
  },
1420
+ device_provider: {
1421
+ properties: {
1422
+ device_provider_name: { type: "string" },
1423
+ display_name: { type: "string" },
1424
+ image_url: { type: "string" },
1425
+ provider_categories: {
1426
+ items: { enum: ["stable", "consumer_smartlocks"], type: "string" },
1427
+ type: "array"
1428
+ }
1429
+ },
1430
+ required: [
1431
+ "device_provider_name",
1432
+ "display_name",
1433
+ "image_url",
1434
+ "provider_categories"
1435
+ ],
1436
+ type: "object"
1437
+ },
1405
1438
  event: {
1406
1439
  properties: {
1407
1440
  created_at: { format: "date-time", type: "string" },
@@ -3050,8 +3083,41 @@ var openapi_default = {
3050
3083
  content: {
3051
3084
  "application/json": {
3052
3085
  schema: {
3053
- properties: { ok: { type: "boolean" } },
3054
- required: ["ok"],
3086
+ properties: {
3087
+ acs_credential: {
3088
+ properties: {
3089
+ acs_credential_id: { format: "uuid", type: "string" },
3090
+ acs_system_id: { format: "uuid", type: "string" },
3091
+ acs_user_id: { format: "uuid", type: "string" },
3092
+ code: { nullable: true, type: "string" },
3093
+ created_at: { format: "date-time", type: "string" },
3094
+ display_name: { minLength: 1, type: "string" },
3095
+ external_type: {
3096
+ enum: [
3097
+ "pti_card",
3098
+ "brivo_credential",
3099
+ "hid_cm_credential"
3100
+ ],
3101
+ type: "string"
3102
+ },
3103
+ external_type_display_name: { type: "string" },
3104
+ workspace_id: { format: "uuid", type: "string" }
3105
+ },
3106
+ required: [
3107
+ "acs_credential_id",
3108
+ "acs_system_id",
3109
+ "display_name",
3110
+ "code",
3111
+ "external_type",
3112
+ "external_type_display_name",
3113
+ "created_at",
3114
+ "workspace_id"
3115
+ ],
3116
+ type: "object"
3117
+ },
3118
+ ok: { type: "boolean" }
3119
+ },
3120
+ required: ["acs_credential", "ok"],
3055
3121
  type: "object"
3056
3122
  }
3057
3123
  }
@@ -3091,8 +3157,41 @@ var openapi_default = {
3091
3157
  content: {
3092
3158
  "application/json": {
3093
3159
  schema: {
3094
- properties: { ok: { type: "boolean" } },
3095
- required: ["ok"],
3160
+ properties: {
3161
+ acs_credential: {
3162
+ properties: {
3163
+ acs_credential_id: { format: "uuid", type: "string" },
3164
+ acs_system_id: { format: "uuid", type: "string" },
3165
+ acs_user_id: { format: "uuid", type: "string" },
3166
+ code: { nullable: true, type: "string" },
3167
+ created_at: { format: "date-time", type: "string" },
3168
+ display_name: { minLength: 1, type: "string" },
3169
+ external_type: {
3170
+ enum: [
3171
+ "pti_card",
3172
+ "brivo_credential",
3173
+ "hid_cm_credential"
3174
+ ],
3175
+ type: "string"
3176
+ },
3177
+ external_type_display_name: { type: "string" },
3178
+ workspace_id: { format: "uuid", type: "string" }
3179
+ },
3180
+ required: [
3181
+ "acs_credential_id",
3182
+ "acs_system_id",
3183
+ "display_name",
3184
+ "code",
3185
+ "external_type",
3186
+ "external_type_display_name",
3187
+ "created_at",
3188
+ "workspace_id"
3189
+ ],
3190
+ type: "object"
3191
+ },
3192
+ ok: { type: "boolean" }
3193
+ },
3194
+ required: ["acs_credential", "ok"],
3096
3195
  type: "object"
3097
3196
  }
3098
3197
  }
@@ -3145,7 +3244,11 @@ var openapi_default = {
3145
3244
  created_at: { format: "date-time", type: "string" },
3146
3245
  display_name: { minLength: 1, type: "string" },
3147
3246
  external_type: {
3148
- enum: ["pti_card", "brivo_credential"],
3247
+ enum: [
3248
+ "pti_card",
3249
+ "brivo_credential",
3250
+ "hid_cm_credential"
3251
+ ],
3149
3252
  type: "string"
3150
3253
  },
3151
3254
  external_type_display_name: { type: "string" },
@@ -3260,7 +3363,11 @@ var openapi_default = {
3260
3363
  created_at: { format: "date-time", type: "string" },
3261
3364
  display_name: { minLength: 1, type: "string" },
3262
3365
  external_type: {
3263
- enum: ["pti_card", "brivo_credential"],
3366
+ enum: [
3367
+ "pti_card",
3368
+ "brivo_credential",
3369
+ "hid_cm_credential"
3370
+ ],
3264
3371
  type: "string"
3265
3372
  },
3266
3373
  external_type_display_name: { type: "string" },
@@ -3352,7 +3459,11 @@ var openapi_default = {
3352
3459
  created_at: { format: "date-time", type: "string" },
3353
3460
  display_name: { minLength: 1, type: "string" },
3354
3461
  external_type: {
3355
- enum: ["pti_card", "brivo_credential"],
3462
+ enum: [
3463
+ "pti_card",
3464
+ "brivo_credential",
3465
+ "hid_cm_credential"
3466
+ ],
3356
3467
  type: "string"
3357
3468
  },
3358
3469
  external_type_display_name: { type: "string" },
@@ -3417,8 +3528,41 @@ var openapi_default = {
3417
3528
  content: {
3418
3529
  "application/json": {
3419
3530
  schema: {
3420
- properties: { ok: { type: "boolean" } },
3421
- required: ["ok"],
3531
+ properties: {
3532
+ acs_credential: {
3533
+ properties: {
3534
+ acs_credential_id: { format: "uuid", type: "string" },
3535
+ acs_system_id: { format: "uuid", type: "string" },
3536
+ acs_user_id: { format: "uuid", type: "string" },
3537
+ code: { nullable: true, type: "string" },
3538
+ created_at: { format: "date-time", type: "string" },
3539
+ display_name: { minLength: 1, type: "string" },
3540
+ external_type: {
3541
+ enum: [
3542
+ "pti_card",
3543
+ "brivo_credential",
3544
+ "hid_cm_credential"
3545
+ ],
3546
+ type: "string"
3547
+ },
3548
+ external_type_display_name: { type: "string" },
3549
+ workspace_id: { format: "uuid", type: "string" }
3550
+ },
3551
+ required: [
3552
+ "acs_credential_id",
3553
+ "acs_system_id",
3554
+ "display_name",
3555
+ "code",
3556
+ "external_type",
3557
+ "external_type_display_name",
3558
+ "created_at",
3559
+ "workspace_id"
3560
+ ],
3561
+ type: "object"
3562
+ },
3563
+ ok: { type: "boolean" }
3564
+ },
3565
+ required: ["acs_credential", "ok"],
3422
3566
  type: "object"
3423
3567
  }
3424
3568
  }
@@ -3458,8 +3602,41 @@ var openapi_default = {
3458
3602
  content: {
3459
3603
  "application/json": {
3460
3604
  schema: {
3461
- properties: { ok: { type: "boolean" } },
3462
- required: ["ok"],
3605
+ properties: {
3606
+ acs_credential: {
3607
+ properties: {
3608
+ acs_credential_id: { format: "uuid", type: "string" },
3609
+ acs_system_id: { format: "uuid", type: "string" },
3610
+ acs_user_id: { format: "uuid", type: "string" },
3611
+ code: { nullable: true, type: "string" },
3612
+ created_at: { format: "date-time", type: "string" },
3613
+ display_name: { minLength: 1, type: "string" },
3614
+ external_type: {
3615
+ enum: [
3616
+ "pti_card",
3617
+ "brivo_credential",
3618
+ "hid_cm_credential"
3619
+ ],
3620
+ type: "string"
3621
+ },
3622
+ external_type_display_name: { type: "string" },
3623
+ workspace_id: { format: "uuid", type: "string" }
3624
+ },
3625
+ required: [
3626
+ "acs_credential_id",
3627
+ "acs_system_id",
3628
+ "display_name",
3629
+ "code",
3630
+ "external_type",
3631
+ "external_type_display_name",
3632
+ "created_at",
3633
+ "workspace_id"
3634
+ ],
3635
+ type: "object"
3636
+ },
3637
+ ok: { type: "boolean" }
3638
+ },
3639
+ required: ["acs_credential", "ok"],
3463
3640
  type: "object"
3464
3641
  }
3465
3642
  }
@@ -3480,6 +3657,130 @@ var openapi_default = {
3480
3657
  "x-fern-sdk-method-name": "unassign"
3481
3658
  }
3482
3659
  },
3660
+ "/acs/entrances/get": {
3661
+ post: {
3662
+ operationId: "acsEntrancesGetPost",
3663
+ requestBody: {
3664
+ content: {
3665
+ "application/json": {
3666
+ schema: {
3667
+ properties: {
3668
+ acs_entrance_id: { format: "uuid", type: "string" }
3669
+ },
3670
+ required: ["acs_entrance_id"],
3671
+ type: "object"
3672
+ }
3673
+ }
3674
+ }
3675
+ },
3676
+ responses: {
3677
+ 200: {
3678
+ content: {
3679
+ "application/json": {
3680
+ schema: {
3681
+ properties: {
3682
+ acs_entrance: {
3683
+ properties: {
3684
+ acs_entrance_id: { format: "uuid", type: "string" },
3685
+ acs_system_id: { format: "uuid", type: "string" },
3686
+ created_at: { format: "date-time", type: "string" },
3687
+ display_name: { type: "string" }
3688
+ },
3689
+ required: [
3690
+ "acs_entrance_id",
3691
+ "display_name",
3692
+ "acs_system_id",
3693
+ "created_at"
3694
+ ],
3695
+ type: "object"
3696
+ },
3697
+ ok: { type: "boolean" }
3698
+ },
3699
+ required: ["acs_entrance", "ok"],
3700
+ type: "object"
3701
+ }
3702
+ }
3703
+ },
3704
+ description: "OK"
3705
+ },
3706
+ 400: { description: "Bad Request" },
3707
+ 401: { description: "Unauthorized" }
3708
+ },
3709
+ security: [
3710
+ { api_key: [] },
3711
+ { access_token: [] },
3712
+ { user_session: [] },
3713
+ { client_session: [] }
3714
+ ],
3715
+ summary: "/acs/entrances/get",
3716
+ tags: [],
3717
+ "x-fern-sdk-group-name": ["acs", "entrances"],
3718
+ "x-fern-sdk-method-name": "get"
3719
+ }
3720
+ },
3721
+ "/acs/entrances/list": {
3722
+ post: {
3723
+ operationId: "acsEntrancesListPost",
3724
+ requestBody: {
3725
+ content: {
3726
+ "application/json": {
3727
+ schema: {
3728
+ properties: {
3729
+ acs_system_id: { format: "uuid", type: "string" }
3730
+ },
3731
+ type: "object"
3732
+ }
3733
+ }
3734
+ }
3735
+ },
3736
+ responses: {
3737
+ 200: {
3738
+ content: {
3739
+ "application/json": {
3740
+ schema: {
3741
+ properties: {
3742
+ acs_entrances: {
3743
+ items: {
3744
+ properties: {
3745
+ acs_entrance_id: { format: "uuid", type: "string" },
3746
+ acs_system_id: { format: "uuid", type: "string" },
3747
+ created_at: { format: "date-time", type: "string" },
3748
+ display_name: { type: "string" }
3749
+ },
3750
+ required: [
3751
+ "acs_entrance_id",
3752
+ "display_name",
3753
+ "acs_system_id",
3754
+ "created_at"
3755
+ ],
3756
+ type: "object"
3757
+ },
3758
+ type: "array"
3759
+ },
3760
+ ok: { type: "boolean" }
3761
+ },
3762
+ required: ["acs_entrances", "ok"],
3763
+ type: "object"
3764
+ }
3765
+ }
3766
+ },
3767
+ description: "OK"
3768
+ },
3769
+ 400: { description: "Bad Request" },
3770
+ 401: { description: "Unauthorized" }
3771
+ },
3772
+ security: [
3773
+ { api_key: [] },
3774
+ { access_token: [] },
3775
+ { user_session: [] },
3776
+ { client_session: [] }
3777
+ ],
3778
+ summary: "/acs/entrances/list",
3779
+ tags: [],
3780
+ "x-fern-sdk-group-name": ["acs", "entrances"],
3781
+ "x-fern-sdk-method-name": "list"
3782
+ }
3783
+ },
3483
3784
  "/acs/systems/get": {
3484
3785
  post: {
3485
3786
  operationId: "acsSystemsGetPost",
@@ -5439,27 +5740,7 @@ var openapi_default = {
5439
5740
  schema: {
5440
5741
  properties: {
5441
5742
  device_providers: {
5442
- items: {
5443
- properties: {
5444
- device_provider_name: { type: "string" },
5445
- display_name: { type: "string" },
5446
- image_url: { type: "string" },
5447
- provider_categories: {
5448
- items: {
5449
- enum: ["stable", "consumer_smartlocks"],
5450
- type: "string"
5451
- },
5452
- type: "array"
5453
- }
5454
- },
5455
- required: [
5456
- "device_provider_name",
5457
- "display_name",
5458
- "image_url",
5459
- "provider_categories"
5460
- ],
5461
- type: "object"
5462
- },
5743
+ items: { $ref: "#/components/schemas/device_provider" },
5463
5744
  type: "array"
5464
5745
  },
5465
5746
  ok: { type: "boolean" }