@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.
package/dist/connect.cjs CHANGED
@@ -1417,6 +1417,24 @@ var openapi_default = {
1417
1417
  ],
1418
1418
  type: "object"
1419
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
+ },
1420
1438
  event: {
1421
1439
  properties: {
1422
1440
  created_at: { format: "date-time", type: "string" },
@@ -3065,8 +3083,41 @@ var openapi_default = {
3065
3083
  content: {
3066
3084
  "application/json": {
3067
3085
  schema: {
3068
- properties: { ok: { type: "boolean" } },
3069
- 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"],
3070
3121
  type: "object"
3071
3122
  }
3072
3123
  }
@@ -3106,8 +3157,41 @@ var openapi_default = {
3106
3157
  content: {
3107
3158
  "application/json": {
3108
3159
  schema: {
3109
- properties: { ok: { type: "boolean" } },
3110
- 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"],
3111
3195
  type: "object"
3112
3196
  }
3113
3197
  }
@@ -3160,7 +3244,11 @@ var openapi_default = {
3160
3244
  created_at: { format: "date-time", type: "string" },
3161
3245
  display_name: { minLength: 1, type: "string" },
3162
3246
  external_type: {
3163
- enum: ["pti_card", "brivo_credential"],
3247
+ enum: [
3248
+ "pti_card",
3249
+ "brivo_credential",
3250
+ "hid_cm_credential"
3251
+ ],
3164
3252
  type: "string"
3165
3253
  },
3166
3254
  external_type_display_name: { type: "string" },
@@ -3275,7 +3363,11 @@ var openapi_default = {
3275
3363
  created_at: { format: "date-time", type: "string" },
3276
3364
  display_name: { minLength: 1, type: "string" },
3277
3365
  external_type: {
3278
- enum: ["pti_card", "brivo_credential"],
3366
+ enum: [
3367
+ "pti_card",
3368
+ "brivo_credential",
3369
+ "hid_cm_credential"
3370
+ ],
3279
3371
  type: "string"
3280
3372
  },
3281
3373
  external_type_display_name: { type: "string" },
@@ -3367,7 +3459,11 @@ var openapi_default = {
3367
3459
  created_at: { format: "date-time", type: "string" },
3368
3460
  display_name: { minLength: 1, type: "string" },
3369
3461
  external_type: {
3370
- enum: ["pti_card", "brivo_credential"],
3462
+ enum: [
3463
+ "pti_card",
3464
+ "brivo_credential",
3465
+ "hid_cm_credential"
3466
+ ],
3371
3467
  type: "string"
3372
3468
  },
3373
3469
  external_type_display_name: { type: "string" },
@@ -3442,7 +3538,11 @@ var openapi_default = {
3442
3538
  created_at: { format: "date-time", type: "string" },
3443
3539
  display_name: { minLength: 1, type: "string" },
3444
3540
  external_type: {
3445
- enum: ["pti_card", "brivo_credential"],
3541
+ enum: [
3542
+ "pti_card",
3543
+ "brivo_credential",
3544
+ "hid_cm_credential"
3545
+ ],
3446
3546
  type: "string"
3447
3547
  },
3448
3548
  external_type_display_name: { type: "string" },
@@ -3512,7 +3612,11 @@ var openapi_default = {
3512
3612
  created_at: { format: "date-time", type: "string" },
3513
3613
  display_name: { minLength: 1, type: "string" },
3514
3614
  external_type: {
3515
- enum: ["pti_card", "brivo_credential"],
3615
+ enum: [
3616
+ "pti_card",
3617
+ "brivo_credential",
3618
+ "hid_cm_credential"
3619
+ ],
3516
3620
  type: "string"
3517
3621
  },
3518
3622
  external_type_display_name: { type: "string" },
@@ -5636,27 +5740,7 @@ var openapi_default = {
5636
5740
  schema: {
5637
5741
  properties: {
5638
5742
  device_providers: {
5639
- items: {
5640
- properties: {
5641
- device_provider_name: { type: "string" },
5642
- display_name: { type: "string" },
5643
- image_url: { type: "string" },
5644
- provider_categories: {
5645
- items: {
5646
- enum: ["stable", "consumer_smartlocks"],
5647
- type: "string"
5648
- },
5649
- type: "array"
5650
- }
5651
- },
5652
- required: [
5653
- "device_provider_name",
5654
- "display_name",
5655
- "image_url",
5656
- "provider_categories"
5657
- ],
5658
- type: "object"
5659
- },
5743
+ items: { $ref: "#/components/schemas/device_provider" },
5660
5744
  type: "array"
5661
5745
  },
5662
5746
  ok: { type: "boolean" }