@seamapi/types 1.36.0 → 1.37.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
@@ -1586,11 +1586,18 @@ var openapi_default = {
1586
1586
  device_id: { format: "uuid", type: "string" },
1587
1587
  ends_at: { type: "string" },
1588
1588
  is_external_modification_allowed: { type: "boolean" },
1589
+ is_offline_access_code: { type: "boolean" },
1590
+ is_one_time_use: { type: "boolean" },
1591
+ max_time_rounding: {
1592
+ enum: ["1hour", "1day", "1h", "1d"],
1593
+ type: "string"
1594
+ },
1589
1595
  name: { type: "string" },
1590
1596
  prefer_native_scheduling: { type: "boolean" },
1591
1597
  starts_at: { type: "string" },
1592
1598
  sync: { default: false, type: "boolean" },
1593
- use_backup_access_code_pool: { type: "boolean" }
1599
+ use_backup_access_code_pool: { type: "boolean" },
1600
+ use_offline_access_code: { type: "boolean" }
1594
1601
  },
1595
1602
  required: ["device_id"],
1596
1603
  type: "object"
@@ -1662,10 +1669,17 @@ var openapi_default = {
1662
1669
  },
1663
1670
  ends_at: { type: "string" },
1664
1671
  is_external_modification_allowed: { type: "boolean" },
1672
+ is_offline_access_code: { type: "boolean" },
1673
+ is_one_time_use: { type: "boolean" },
1674
+ max_time_rounding: {
1675
+ enum: ["1hour", "1day", "1h", "1d"],
1676
+ type: "string"
1677
+ },
1665
1678
  name: { type: "string" },
1666
1679
  prefer_native_scheduling: { type: "boolean" },
1667
1680
  starts_at: { type: "string" },
1668
- use_backup_access_code_pool: { type: "boolean" }
1681
+ use_backup_access_code_pool: { type: "boolean" },
1682
+ use_offline_access_code: { type: "boolean" }
1669
1683
  },
1670
1684
  required: ["device_ids"],
1671
1685
  type: "object"
@@ -1735,10 +1749,17 @@ var openapi_default = {
1735
1749
  },
1736
1750
  ends_at: { type: "string" },
1737
1751
  is_external_modification_allowed: { type: "boolean" },
1752
+ is_offline_access_code: { type: "boolean" },
1753
+ is_one_time_use: { type: "boolean" },
1754
+ max_time_rounding: {
1755
+ enum: ["1hour", "1day", "1h", "1d"],
1756
+ type: "string"
1757
+ },
1738
1758
  name: { type: "string" },
1739
1759
  prefer_native_scheduling: { type: "boolean" },
1740
1760
  starts_at: { type: "string" },
1741
- use_backup_access_code_pool: { type: "boolean" }
1761
+ use_backup_access_code_pool: { type: "boolean" },
1762
+ use_offline_access_code: { type: "boolean" }
1742
1763
  },
1743
1764
  required: ["device_ids"],
1744
1765
  type: "object"
@@ -2442,12 +2463,19 @@ var openapi_default = {
2442
2463
  ends_at: { type: "string" },
2443
2464
  is_external_modification_allowed: { type: "boolean" },
2444
2465
  is_managed: { type: "boolean" },
2466
+ is_offline_access_code: { type: "boolean" },
2467
+ is_one_time_use: { type: "boolean" },
2468
+ max_time_rounding: {
2469
+ enum: ["1hour", "1day", "1h", "1d"],
2470
+ type: "string"
2471
+ },
2445
2472
  name: { type: "string" },
2446
2473
  prefer_native_scheduling: { type: "boolean" },
2447
2474
  starts_at: { type: "string" },
2448
2475
  sync: { default: false, type: "boolean" },
2449
2476
  type: { enum: ["ongoing", "time_bound"], type: "string" },
2450
- use_backup_access_code_pool: { type: "boolean" }
2477
+ use_backup_access_code_pool: { type: "boolean" },
2478
+ use_offline_access_code: { type: "boolean" }
2451
2479
  },
2452
2480
  required: ["access_code_id"],
2453
2481
  type: "object"
@@ -2508,12 +2536,19 @@ var openapi_default = {
2508
2536
  ends_at: { type: "string" },
2509
2537
  is_external_modification_allowed: { type: "boolean" },
2510
2538
  is_managed: { type: "boolean" },
2539
+ is_offline_access_code: { type: "boolean" },
2540
+ is_one_time_use: { type: "boolean" },
2541
+ max_time_rounding: {
2542
+ enum: ["1hour", "1day", "1h", "1d"],
2543
+ type: "string"
2544
+ },
2511
2545
  name: { type: "string" },
2512
2546
  prefer_native_scheduling: { type: "boolean" },
2513
2547
  starts_at: { type: "string" },
2514
2548
  sync: { default: false, type: "boolean" },
2515
2549
  type: { enum: ["ongoing", "time_bound"], type: "string" },
2516
- use_backup_access_code_pool: { type: "boolean" }
2550
+ use_backup_access_code_pool: { type: "boolean" },
2551
+ use_offline_access_code: { type: "boolean" }
2517
2552
  },
2518
2553
  required: ["access_code_id"],
2519
2554
  type: "object"
@@ -2576,12 +2611,19 @@ var openapi_default = {
2576
2611
  ends_at: { type: "string" },
2577
2612
  is_external_modification_allowed: { type: "boolean" },
2578
2613
  is_managed: { type: "boolean" },
2614
+ is_offline_access_code: { type: "boolean" },
2615
+ is_one_time_use: { type: "boolean" },
2616
+ max_time_rounding: {
2617
+ enum: ["1hour", "1day", "1h", "1d"],
2618
+ type: "string"
2619
+ },
2579
2620
  name: { type: "string" },
2580
2621
  prefer_native_scheduling: { type: "boolean" },
2581
2622
  starts_at: { type: "string" },
2582
2623
  sync: { default: false, type: "boolean" },
2583
2624
  type: { enum: ["ongoing", "time_bound"], type: "string" },
2584
- use_backup_access_code_pool: { type: "boolean" }
2625
+ use_backup_access_code_pool: { type: "boolean" },
2626
+ use_offline_access_code: { type: "boolean" }
2585
2627
  },
2586
2628
  required: ["access_code_id"],
2587
2629
  type: "object"
@@ -3259,9 +3301,30 @@ var openapi_default = {
3259
3301
  content: {
3260
3302
  "application/json": {
3261
3303
  schema: {
3262
- properties: { acs_user_id: { format: "uuid", type: "string" } },
3263
- required: ["acs_user_id"],
3264
- type: "object"
3304
+ oneOf: [
3305
+ {
3306
+ properties: {
3307
+ acs_user_id: { format: "uuid", type: "string" }
3308
+ },
3309
+ required: ["acs_user_id"],
3310
+ type: "object"
3311
+ },
3312
+ {
3313
+ properties: {
3314
+ acs_system_id: { format: "uuid", type: "string" }
3315
+ },
3316
+ required: ["acs_system_id"],
3317
+ type: "object"
3318
+ },
3319
+ {
3320
+ properties: {
3321
+ acs_system_id: { format: "uuid", type: "string" },
3322
+ acs_user_id: { format: "uuid", type: "string" }
3323
+ },
3324
+ required: ["acs_user_id", "acs_system_id"],
3325
+ type: "object"
3326
+ }
3327
+ ]
3265
3328
  }
3266
3329
  }
3267
3330
  }