@seamapi/types 1.60.1 → 1.62.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
@@ -276,7 +276,7 @@ var openapi_default = {
276
276
  },
277
277
  email_address: { format: "email", type: "string" },
278
278
  external_type: {
279
- enum: ["pti_user", "brivo_user", "hid_cm_user"],
279
+ enum: ["pti_user", "brivo_user", "hid_cm_user", "salto_site_user"],
280
280
  type: "string"
281
281
  },
282
282
  external_type_display_name: { type: "string" },
@@ -498,6 +498,7 @@ var openapi_default = {
498
498
  properties: {
499
499
  account_type: { type: "string" },
500
500
  account_type_display_name: { type: "string" },
501
+ automatically_manage_new_devices: { type: "boolean" },
501
502
  connected_account_id: { format: "uuid", type: "string" },
502
503
  created_at: { format: "date-time", type: "string" },
503
504
  custom_metadata: {
@@ -525,7 +526,10 @@ var openapi_default = {
525
526
  },
526
527
  warnings: { nullable: true }
527
528
  },
528
- required: ["account_type_display_name"],
529
+ required: [
530
+ "account_type_display_name",
531
+ "automatically_manage_new_devices"
532
+ ],
529
533
  type: "object"
530
534
  },
531
535
  device: {
@@ -1843,25 +1847,75 @@ var openapi_default = {
1843
1847
  is_managed: { enum: [false], type: "boolean" },
1844
1848
  properties: {
1845
1849
  properties: {
1850
+ battery: {
1851
+ description: 'Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage.',
1852
+ properties: {
1853
+ level: { maximum: 1, minimum: 0, type: "number" },
1854
+ status: {
1855
+ enum: ["critical", "low", "good", "full"],
1856
+ type: "string"
1857
+ }
1858
+ },
1859
+ required: ["level", "status"],
1860
+ type: "object"
1861
+ },
1846
1862
  battery_level: {
1847
1863
  description: "Indicates the battery level of the device as a decimal value between 0 and 1, inclusive.",
1848
1864
  maximum: 1,
1849
1865
  minimum: 0,
1850
1866
  type: "number"
1851
1867
  },
1852
- image_alt_text: { type: "string" },
1853
- image_url: { type: "string" },
1854
- manufacturer: { type: "string" },
1868
+ image_alt_text: {
1869
+ description: "Alt text for the device image.",
1870
+ type: "string"
1871
+ },
1872
+ image_url: {
1873
+ description: "Image URL for the device.",
1874
+ format: "uri",
1875
+ type: "string"
1876
+ },
1877
+ manufacturer: {
1878
+ description: "Manufacturer of the device.",
1879
+ type: "string"
1880
+ },
1855
1881
  model: {
1856
1882
  properties: {
1857
- display_name: { type: "string" },
1858
- manufacturer_display_name: { type: "string" }
1883
+ accessory_keypad_supported: {
1884
+ description: "Indicates whether the device supports an accessory keypad.",
1885
+ type: "boolean"
1886
+ },
1887
+ display_name: {
1888
+ description: "Display name of the device model.",
1889
+ type: "string"
1890
+ },
1891
+ manufacturer_display_name: {
1892
+ description: "Display name that corresponds to the manufacturer-specific terminology for the device.",
1893
+ type: "string"
1894
+ },
1895
+ offline_access_codes_supported: {
1896
+ description: "Indicates whether the device supports offline access codes.",
1897
+ type: "boolean"
1898
+ },
1899
+ online_access_codes_supported: {
1900
+ description: "Indicates whether the device supports online access codes.",
1901
+ type: "boolean"
1902
+ }
1859
1903
  },
1860
1904
  required: ["display_name", "manufacturer_display_name"],
1861
1905
  type: "object"
1862
1906
  },
1863
- name: { type: "string" },
1864
- online: { type: "boolean" },
1907
+ name: {
1908
+ description: "Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices.",
1909
+ type: "string"
1910
+ },
1911
+ offline_access_codes_enabled: {
1912
+ description: "Indicates whether it is currently possible to use offline access codes for the device.",
1913
+ type: "boolean"
1914
+ },
1915
+ online: {
1916
+ description: "Indicates whether the device is online.",
1917
+ type: "boolean"
1918
+ },
1865
1919
  online_access_codes_enabled: {
1866
1920
  description: "Indicates whether it is currently possible to use online access codes for the device.",
1867
1921
  type: "boolean"
@@ -1970,6 +2024,11 @@ var openapi_default = {
1970
2024
  bearerFormat: "User Session Token",
1971
2025
  scheme: "bearer",
1972
2026
  type: "http"
2027
+ },
2028
+ user_session_without_workspace: {
2029
+ bearerFormat: "User Session Token",
2030
+ scheme: "bearer",
2031
+ type: "http"
1973
2032
  }
1974
2033
  }
1975
2034
  },
@@ -2563,9 +2622,10 @@ var openapi_default = {
2563
2622
  401: { description: "Unauthorized" }
2564
2623
  },
2565
2624
  security: [
2566
- { access_token: [], seam_workspace: [] },
2567
- { seam_client_session_token: [] },
2568
- { client_session_token: [] }
2625
+ { client_session: [] },
2626
+ { pat_with_workspace: [] },
2627
+ { console_session: [] },
2628
+ { api_key: [] }
2569
2629
  ],
2570
2630
  summary: "/access_codes/unmanaged/convert_to_managed",
2571
2631
  tags: ["/access_codes"],
@@ -2607,9 +2667,10 @@ var openapi_default = {
2607
2667
  401: { description: "Unauthorized" }
2608
2668
  },
2609
2669
  security: [
2610
- { access_token: [], seam_workspace: [] },
2611
- { seam_client_session_token: [] },
2612
- { client_session_token: [] }
2670
+ { client_session: [] },
2671
+ { pat_with_workspace: [] },
2672
+ { console_session: [] },
2673
+ { api_key: [] }
2613
2674
  ],
2614
2675
  summary: "/access_codes/unmanaged/convert_to_managed",
2615
2676
  tags: ["/access_codes"],
@@ -2656,9 +2717,10 @@ var openapi_default = {
2656
2717
  401: { description: "Unauthorized" }
2657
2718
  },
2658
2719
  security: [
2659
- { access_token: [], seam_workspace: [] },
2660
- { seam_client_session_token: [] },
2661
- { client_session_token: [] }
2720
+ { client_session: [] },
2721
+ { pat_with_workspace: [] },
2722
+ { console_session: [] },
2723
+ { api_key: [] }
2662
2724
  ],
2663
2725
  summary: "/access_codes/unmanaged/delete",
2664
2726
  tags: ["/access_codes"],
@@ -2706,9 +2768,10 @@ var openapi_default = {
2706
2768
  401: { description: "Unauthorized" }
2707
2769
  },
2708
2770
  security: [
2709
- { access_token: [], seam_workspace: [] },
2710
- { seam_client_session_token: [] },
2711
- { client_session_token: [] }
2771
+ { client_session: [] },
2772
+ { pat_with_workspace: [] },
2773
+ { console_session: [] },
2774
+ { api_key: [] }
2712
2775
  ],
2713
2776
  summary: "/access_codes/unmanaged/get",
2714
2777
  tags: ["/access_codes"],
@@ -2759,9 +2822,10 @@ var openapi_default = {
2759
2822
  401: { description: "Unauthorized" }
2760
2823
  },
2761
2824
  security: [
2762
- { access_token: [], seam_workspace: [] },
2763
- { seam_client_session_token: [] },
2764
- { client_session_token: [] }
2825
+ { client_session: [] },
2826
+ { pat_with_workspace: [] },
2827
+ { console_session: [] },
2828
+ { api_key: [] }
2765
2829
  ],
2766
2830
  summary: "/access_codes/unmanaged/list",
2767
2831
  tags: ["/access_codes"],
@@ -2807,9 +2871,10 @@ var openapi_default = {
2807
2871
  401: { description: "Unauthorized" }
2808
2872
  },
2809
2873
  security: [
2810
- { access_token: [], seam_workspace: [] },
2811
- { seam_client_session_token: [] },
2812
- { client_session_token: [] }
2874
+ { client_session: [] },
2875
+ { pat_with_workspace: [] },
2876
+ { console_session: [] },
2877
+ { api_key: [] }
2813
2878
  ],
2814
2879
  summary: "/access_codes/unmanaged/update",
2815
2880
  tags: ["/access_codes"],
@@ -2851,9 +2916,10 @@ var openapi_default = {
2851
2916
  401: { description: "Unauthorized" }
2852
2917
  },
2853
2918
  security: [
2854
- { access_token: [], seam_workspace: [] },
2855
- { seam_client_session_token: [] },
2856
- { client_session_token: [] }
2919
+ { client_session: [] },
2920
+ { pat_with_workspace: [] },
2921
+ { console_session: [] },
2922
+ { api_key: [] }
2857
2923
  ],
2858
2924
  summary: "/access_codes/unmanaged/update",
2859
2925
  tags: ["/access_codes"],
@@ -3121,9 +3187,10 @@ var openapi_default = {
3121
3187
  401: { description: "Unauthorized" }
3122
3188
  },
3123
3189
  security: [
3124
- { access_token: [], seam_workspace: [] },
3125
- { seam_client_session_token: [] },
3126
- { client_session_token: [] }
3190
+ { client_session: [] },
3191
+ { pat_with_workspace: [] },
3192
+ { console_session: [] },
3193
+ { api_key: [] }
3127
3194
  ],
3128
3195
  summary: "/acs/access_groups/add_user",
3129
3196
  tags: [],
@@ -3163,9 +3230,10 @@ var openapi_default = {
3163
3230
  401: { description: "Unauthorized" }
3164
3231
  },
3165
3232
  security: [
3166
- { access_token: [], seam_workspace: [] },
3167
- { seam_client_session_token: [] },
3168
- { client_session_token: [] }
3233
+ { client_session: [] },
3234
+ { pat_with_workspace: [] },
3235
+ { console_session: [] },
3236
+ { api_key: [] }
3169
3237
  ],
3170
3238
  summary: "/acs/access_groups/add_user",
3171
3239
  tags: [],
@@ -3210,9 +3278,10 @@ var openapi_default = {
3210
3278
  401: { description: "Unauthorized" }
3211
3279
  },
3212
3280
  security: [
3213
- { access_token: [], seam_workspace: [] },
3214
- { seam_client_session_token: [] },
3215
- { client_session_token: [] }
3281
+ { client_session: [] },
3282
+ { pat_with_workspace: [] },
3283
+ { console_session: [] },
3284
+ { api_key: [] }
3216
3285
  ],
3217
3286
  summary: "/acs/access_groups/get",
3218
3287
  tags: [],
@@ -3308,9 +3377,10 @@ var openapi_default = {
3308
3377
  401: { description: "Unauthorized" }
3309
3378
  },
3310
3379
  security: [
3311
- { access_token: [], seam_workspace: [] },
3312
- { seam_client_session_token: [] },
3313
- { client_session_token: [] }
3380
+ { client_session: [] },
3381
+ { pat_with_workspace: [] },
3382
+ { console_session: [] },
3383
+ { api_key: [] }
3314
3384
  ],
3315
3385
  summary: "/acs/access_groups/list_users",
3316
3386
  tags: [],
@@ -6124,6 +6194,56 @@ var openapi_default = {
6124
6194
  "x-fern-sdk-return-value": "connected_accounts"
6125
6195
  }
6126
6196
  },
6197
+ "/connected_accounts/update": {
6198
+ post: {
6199
+ operationId: "connectedAccountsUpdatePost",
6200
+ requestBody: {
6201
+ content: {
6202
+ "application/json": {
6203
+ schema: {
6204
+ properties: {
6205
+ automatically_manage_new_devices: { type: "boolean" },
6206
+ connected_account_id: { format: "uuid", type: "string" }
6207
+ },
6208
+ required: ["connected_account_id"],
6209
+ type: "object"
6210
+ }
6211
+ }
6212
+ }
6213
+ },
6214
+ responses: {
6215
+ 200: {
6216
+ content: {
6217
+ "application/json": {
6218
+ schema: {
6219
+ properties: {
6220
+ connected_account: {
6221
+ $ref: "#/components/schemas/connected_account"
6222
+ },
6223
+ ok: { type: "boolean" }
6224
+ },
6225
+ required: ["connected_account", "ok"],
6226
+ type: "object"
6227
+ }
6228
+ }
6229
+ },
6230
+ description: "OK"
6231
+ },
6232
+ 400: { description: "Bad Request" },
6233
+ 401: { description: "Unauthorized" }
6234
+ },
6235
+ security: [
6236
+ { pat_with_workspace: [] },
6237
+ { console_session: [] },
6238
+ { api_key: [] }
6239
+ ],
6240
+ summary: "/connected_accounts/update",
6241
+ tags: ["/connected_accounts"],
6242
+ "x-fern-sdk-group-name": ["connected_accounts"],
6243
+ "x-fern-sdk-method-name": "update",
6244
+ "x-fern-sdk-return-value": "connected_account"
6245
+ }
6246
+ },
6127
6247
  "/devices/delete": {
6128
6248
  post: {
6129
6249
  operationId: "devicesDeletePost",
@@ -10040,9 +10160,12 @@ var openapi_default = {
10040
10160
  401: { description: "Unauthorized" }
10041
10161
  },
10042
10162
  security: [
10043
- { access_token: [], seam_workspace: [] },
10044
- { seam_client_session_token: [] },
10045
- { client_session_token: [] }
10163
+ { pat_with_workspace: [] },
10164
+ { pat_without_workspace: [] },
10165
+ { user_session: [] },
10166
+ { user_session_without_workspace: [] },
10167
+ { api_key: [] },
10168
+ { client_session: [] }
10046
10169
  ],
10047
10170
  summary: "/workspaces/list",
10048
10171
  tags: ["/workspaces"],
@@ -10073,9 +10196,12 @@ var openapi_default = {
10073
10196
  401: { description: "Unauthorized" }
10074
10197
  },
10075
10198
  security: [
10076
- { access_token: [], seam_workspace: [] },
10077
- { seam_client_session_token: [] },
10078
- { client_session_token: [] }
10199
+ { pat_with_workspace: [] },
10200
+ { pat_without_workspace: [] },
10201
+ { user_session: [] },
10202
+ { user_session_without_workspace: [] },
10203
+ { api_key: [] },
10204
+ { client_session: [] }
10079
10205
  ],
10080
10206
  summary: "/workspaces/list",
10081
10207
  tags: ["/workspaces"],