@seamapi/types 1.35.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.
Files changed (69) hide show
  1. package/dist/connect.cjs +110 -160
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +213 -247
  4. package/lib/seam/connect/openapi.d.ts +170 -206
  5. package/lib/seam/connect/openapi.js +103 -153
  6. package/lib/seam/connect/openapi.js.map +1 -1
  7. package/lib/seam/connect/route-types.d.ts +43 -41
  8. package/lib/seam/connect/unstable/model-types.d.ts +1 -1
  9. package/lib/seam/connect/unstable/models/access-codes/index.d.ts +2 -0
  10. package/lib/seam/connect/unstable/models/access-codes/index.js +3 -0
  11. package/lib/seam/connect/unstable/models/access-codes/index.js.map +1 -0
  12. package/lib/seam/connect/unstable/models/access-codes/managed-access-code.d.ts +63 -0
  13. package/lib/seam/connect/unstable/models/access-codes/managed-access-code.js +23 -0
  14. package/lib/seam/connect/unstable/models/access-codes/managed-access-code.js.map +1 -0
  15. package/lib/seam/connect/unstable/models/access-codes/unmanaged-access-code.d.ts +42 -0
  16. package/lib/seam/connect/unstable/models/access-codes/unmanaged-access-code.js +21 -0
  17. package/lib/seam/connect/unstable/models/access-codes/unmanaged-access-code.js.map +1 -0
  18. package/lib/seam/connect/unstable/models/acs/system.d.ts +7 -7
  19. package/lib/seam/connect/unstable/models/acs/system.js +5 -1
  20. package/lib/seam/connect/unstable/models/acs/system.js.map +1 -1
  21. package/lib/seam/connect/unstable/models/capability-properties/index.d.ts +2 -2
  22. package/lib/seam/connect/unstable/models/capability-properties/index.js +2 -2
  23. package/lib/seam/connect/unstable/models/capability-properties/index.js.map +1 -1
  24. package/lib/seam/connect/unstable/models/devices/capabilities-supported.js.map +1 -0
  25. package/lib/seam/connect/unstable/models/{device-metadata.d.ts → devices/device-metadata.d.ts} +1 -0
  26. package/lib/seam/connect/unstable/models/devices/device-metadata.js.map +1 -0
  27. package/lib/seam/connect/unstable/models/devices/device-type.js.map +1 -0
  28. package/lib/seam/connect/unstable/models/devices/index.d.ts +5 -0
  29. package/lib/seam/connect/unstable/models/devices/index.js +6 -0
  30. package/lib/seam/connect/unstable/models/devices/index.js.map +1 -0
  31. package/lib/seam/connect/unstable/models/{managed-device.js → devices/managed-device.js} +1 -1
  32. package/lib/seam/connect/unstable/models/devices/managed-device.js.map +1 -0
  33. package/lib/seam/connect/unstable/models/devices/unmanaged-device.js.map +1 -0
  34. package/lib/seam/connect/unstable/models/index.d.ts +2 -4
  35. package/lib/seam/connect/unstable/models/index.js +2 -4
  36. package/lib/seam/connect/unstable/models/index.js.map +1 -1
  37. package/lib/seam/connect/unstable/schemas.d.ts +1 -1
  38. package/lib/seam/connect/unstable/schemas.js +1 -1
  39. package/lib/seam/connect/unstable/schemas.js.map +1 -1
  40. package/package.json +1 -1
  41. package/src/lib/seam/connect/openapi.ts +103 -153
  42. package/src/lib/seam/connect/route-types.ts +55 -52
  43. package/src/lib/seam/connect/unstable/model-types.ts +3 -0
  44. package/src/lib/seam/connect/unstable/models/access-codes/index.ts +2 -0
  45. package/src/lib/seam/connect/unstable/models/access-codes/managed-access-code.ts +25 -0
  46. package/src/lib/seam/connect/unstable/models/access-codes/unmanaged-access-code.ts +24 -0
  47. package/src/lib/seam/connect/unstable/models/acs/system.ts +5 -1
  48. package/src/lib/seam/connect/unstable/models/capability-properties/index.ts +2 -0
  49. package/src/lib/seam/connect/unstable/models/{device-metadata.ts → devices/device-metadata.ts} +2 -0
  50. package/src/lib/seam/connect/unstable/models/devices/index.ts +5 -0
  51. package/src/lib/seam/connect/unstable/models/{managed-device.ts → devices/managed-device.ts} +1 -1
  52. package/src/lib/seam/connect/unstable/models/index.ts +2 -4
  53. package/src/lib/seam/connect/unstable/schemas.ts +4 -0
  54. package/lib/seam/connect/unstable/models/capabilities-supported.js.map +0 -1
  55. package/lib/seam/connect/unstable/models/device-metadata.js.map +0 -1
  56. package/lib/seam/connect/unstable/models/device-type.js.map +0 -1
  57. package/lib/seam/connect/unstable/models/managed-device.js.map +0 -1
  58. package/lib/seam/connect/unstable/models/unmanaged-device.js.map +0 -1
  59. /package/lib/seam/connect/unstable/models/{capabilities-supported.d.ts → devices/capabilities-supported.d.ts} +0 -0
  60. /package/lib/seam/connect/unstable/models/{capabilities-supported.js → devices/capabilities-supported.js} +0 -0
  61. /package/lib/seam/connect/unstable/models/{device-metadata.js → devices/device-metadata.js} +0 -0
  62. /package/lib/seam/connect/unstable/models/{device-type.d.ts → devices/device-type.d.ts} +0 -0
  63. /package/lib/seam/connect/unstable/models/{device-type.js → devices/device-type.js} +0 -0
  64. /package/lib/seam/connect/unstable/models/{managed-device.d.ts → devices/managed-device.d.ts} +0 -0
  65. /package/lib/seam/connect/unstable/models/{unmanaged-device.d.ts → devices/unmanaged-device.d.ts} +0 -0
  66. /package/lib/seam/connect/unstable/models/{unmanaged-device.js → devices/unmanaged-device.js} +0 -0
  67. /package/src/lib/seam/connect/unstable/models/{capabilities-supported.ts → devices/capabilities-supported.ts} +0 -0
  68. /package/src/lib/seam/connect/unstable/models/{device-type.ts → devices/device-type.ts} +0 -0
  69. /package/src/lib/seam/connect/unstable/models/{unmanaged-device.ts → devices/unmanaged-device.ts} +0 -0
@@ -25,6 +25,7 @@ declare const _default: {
25
25
  };
26
26
  ends_at: {
27
27
  format: string;
28
+ nullable: boolean;
28
29
  type: string;
29
30
  };
30
31
  errors: {
@@ -43,12 +44,6 @@ declare const _default: {
43
44
  enum: boolean[];
44
45
  type: string;
45
46
  };
46
- is_offline_access_code: {
47
- type: string;
48
- };
49
- is_one_time_use: {
50
- type: string;
51
- };
52
47
  is_scheduled_on_device: {
53
48
  type: string;
54
49
  };
@@ -66,6 +61,7 @@ declare const _default: {
66
61
  };
67
62
  starts_at: {
68
63
  format: string;
64
+ nullable: boolean;
69
65
  type: string;
70
66
  };
71
67
  status: {
@@ -1908,6 +1904,60 @@ declare const _default: {
1908
1904
  required: string[];
1909
1905
  type: string;
1910
1906
  };
1907
+ unmanaged_access_code: {
1908
+ properties: {
1909
+ access_code_id: {
1910
+ format: string;
1911
+ type: string;
1912
+ };
1913
+ code: {
1914
+ nullable: boolean;
1915
+ type: string;
1916
+ };
1917
+ created_at: {
1918
+ format: string;
1919
+ type: string;
1920
+ };
1921
+ device_id: {
1922
+ format: string;
1923
+ type: string;
1924
+ };
1925
+ ends_at: {
1926
+ format: string;
1927
+ nullable: boolean;
1928
+ type: string;
1929
+ };
1930
+ errors: {
1931
+ nullable: boolean;
1932
+ };
1933
+ is_managed: {
1934
+ enum: boolean[];
1935
+ type: string;
1936
+ };
1937
+ name: {
1938
+ nullable: boolean;
1939
+ type: string;
1940
+ };
1941
+ starts_at: {
1942
+ format: string;
1943
+ nullable: boolean;
1944
+ type: string;
1945
+ };
1946
+ status: {
1947
+ enum: string[];
1948
+ type: string;
1949
+ };
1950
+ type: {
1951
+ enum: string[];
1952
+ type: string;
1953
+ };
1954
+ warnings: {
1955
+ nullable: boolean;
1956
+ };
1957
+ };
1958
+ required: string[];
1959
+ type: string;
1960
+ };
1911
1961
  unmanaged_device: {
1912
1962
  properties: {
1913
1963
  capabilities_supported: {
@@ -2115,6 +2165,16 @@ declare const _default: {
2115
2165
  is_external_modification_allowed: {
2116
2166
  type: string;
2117
2167
  };
2168
+ is_offline_access_code: {
2169
+ type: string;
2170
+ };
2171
+ is_one_time_use: {
2172
+ type: string;
2173
+ };
2174
+ max_time_rounding: {
2175
+ enum: string[];
2176
+ type: string;
2177
+ };
2118
2178
  name: {
2119
2179
  type: string;
2120
2180
  };
@@ -2131,6 +2191,9 @@ declare const _default: {
2131
2191
  use_backup_access_code_pool: {
2132
2192
  type: string;
2133
2193
  };
2194
+ use_offline_access_code: {
2195
+ type: string;
2196
+ };
2134
2197
  };
2135
2198
  required: string[];
2136
2199
  type: string;
@@ -2230,6 +2293,16 @@ declare const _default: {
2230
2293
  is_external_modification_allowed: {
2231
2294
  type: string;
2232
2295
  };
2296
+ is_offline_access_code: {
2297
+ type: string;
2298
+ };
2299
+ is_one_time_use: {
2300
+ type: string;
2301
+ };
2302
+ max_time_rounding: {
2303
+ enum: string[];
2304
+ type: string;
2305
+ };
2233
2306
  name: {
2234
2307
  type: string;
2235
2308
  };
@@ -2242,6 +2315,9 @@ declare const _default: {
2242
2315
  use_backup_access_code_pool: {
2243
2316
  type: string;
2244
2317
  };
2318
+ use_offline_access_code: {
2319
+ type: string;
2320
+ };
2245
2321
  };
2246
2322
  required: string[];
2247
2323
  type: string;
@@ -2339,6 +2415,16 @@ declare const _default: {
2339
2415
  is_external_modification_allowed: {
2340
2416
  type: string;
2341
2417
  };
2418
+ is_offline_access_code: {
2419
+ type: string;
2420
+ };
2421
+ is_one_time_use: {
2422
+ type: string;
2423
+ };
2424
+ max_time_rounding: {
2425
+ enum: string[];
2426
+ type: string;
2427
+ };
2342
2428
  name: {
2343
2429
  type: string;
2344
2430
  };
@@ -2351,6 +2437,9 @@ declare const _default: {
2351
2437
  use_backup_access_code_pool: {
2352
2438
  type: string;
2353
2439
  };
2440
+ use_offline_access_code: {
2441
+ type: string;
2442
+ };
2354
2443
  };
2355
2444
  required: string[];
2356
2445
  type: string;
@@ -2815,95 +2904,7 @@ declare const _default: {
2815
2904
  schema: {
2816
2905
  properties: {
2817
2906
  access_code: {
2818
- oneOf: ({
2819
- properties: {
2820
- access_code_id: {
2821
- format: string;
2822
- type: string;
2823
- };
2824
- code: {
2825
- nullable: boolean;
2826
- type: string;
2827
- };
2828
- created_at: {
2829
- oneOf: ({
2830
- type: string;
2831
- format?: never;
2832
- } | {
2833
- format: string;
2834
- type: string;
2835
- })[];
2836
- };
2837
- ends_at: {
2838
- format: string;
2839
- nullable: boolean;
2840
- type: string;
2841
- };
2842
- is_managed: {
2843
- enum: boolean[];
2844
- type: string;
2845
- };
2846
- starts_at: {
2847
- format: string;
2848
- nullable: boolean;
2849
- type: string;
2850
- };
2851
- status: {
2852
- enum: string[];
2853
- type: string;
2854
- };
2855
- type: {
2856
- enum: string[];
2857
- type: string;
2858
- };
2859
- };
2860
- required: string[];
2861
- type: string;
2862
- } | {
2863
- properties: {
2864
- access_code_id: {
2865
- format: string;
2866
- type: string;
2867
- };
2868
- code: {
2869
- nullable: boolean;
2870
- type: string;
2871
- };
2872
- created_at: {
2873
- oneOf: ({
2874
- type: string;
2875
- format?: never;
2876
- } | {
2877
- format: string;
2878
- type: string;
2879
- })[];
2880
- };
2881
- ends_at: {
2882
- nullable: boolean;
2883
- type: string;
2884
- format?: never;
2885
- };
2886
- is_managed: {
2887
- enum: boolean[];
2888
- type: string;
2889
- };
2890
- starts_at: {
2891
- nullable: boolean;
2892
- type: string;
2893
- format?: never;
2894
- };
2895
- status: {
2896
- enum: string[];
2897
- type: string;
2898
- };
2899
- type: {
2900
- enum: string[];
2901
- type: string;
2902
- };
2903
- };
2904
- required: string[];
2905
- type: string;
2906
- })[];
2907
+ $ref: string;
2907
2908
  };
2908
2909
  ok: {
2909
2910
  type: string;
@@ -3204,58 +3205,7 @@ declare const _default: {
3204
3205
  schema: {
3205
3206
  properties: {
3206
3207
  access_code: {
3207
- properties: {
3208
- access_code_id: {
3209
- format: string;
3210
- type: string;
3211
- };
3212
- code: {
3213
- nullable: boolean;
3214
- type: string;
3215
- };
3216
- created_at: {
3217
- format: string;
3218
- type: string;
3219
- };
3220
- device_id: {
3221
- format: string;
3222
- type: string;
3223
- };
3224
- ends_at: {
3225
- format: string;
3226
- nullable: boolean;
3227
- type: string;
3228
- };
3229
- errors: {
3230
- nullable: boolean;
3231
- };
3232
- is_managed: {
3233
- enum: boolean[];
3234
- type: string;
3235
- };
3236
- name: {
3237
- nullable: boolean;
3238
- type: string;
3239
- };
3240
- starts_at: {
3241
- format: string;
3242
- nullable: boolean;
3243
- type: string;
3244
- };
3245
- status: {
3246
- enum: string[];
3247
- type: string;
3248
- };
3249
- type: {
3250
- enum: string[];
3251
- type: string;
3252
- };
3253
- warnings: {
3254
- nullable: boolean;
3255
- };
3256
- };
3257
- required: string[];
3258
- type: string;
3208
+ $ref: string;
3259
3209
  };
3260
3210
  ok: {
3261
3211
  type: string;
@@ -3328,58 +3278,7 @@ declare const _default: {
3328
3278
  properties: {
3329
3279
  access_codes: {
3330
3280
  items: {
3331
- properties: {
3332
- access_code_id: {
3333
- format: string;
3334
- type: string;
3335
- };
3336
- code: {
3337
- nullable: boolean;
3338
- type: string;
3339
- };
3340
- created_at: {
3341
- format: string;
3342
- type: string;
3343
- };
3344
- device_id: {
3345
- format: string;
3346
- type: string;
3347
- };
3348
- ends_at: {
3349
- format: string;
3350
- nullable: boolean;
3351
- type: string;
3352
- };
3353
- errors: {
3354
- nullable: boolean;
3355
- };
3356
- is_managed: {
3357
- enum: boolean[];
3358
- type: string;
3359
- };
3360
- name: {
3361
- nullable: boolean;
3362
- type: string;
3363
- };
3364
- starts_at: {
3365
- format: string;
3366
- nullable: boolean;
3367
- type: string;
3368
- };
3369
- status: {
3370
- enum: string[];
3371
- type: string;
3372
- };
3373
- type: {
3374
- enum: string[];
3375
- type: string;
3376
- };
3377
- warnings: {
3378
- nullable: boolean;
3379
- };
3380
- };
3381
- required: string[];
3382
- type: string;
3281
+ $ref: string;
3383
3282
  };
3384
3283
  type: string;
3385
3284
  };
@@ -3613,6 +3512,16 @@ declare const _default: {
3613
3512
  is_managed: {
3614
3513
  type: string;
3615
3514
  };
3515
+ is_offline_access_code: {
3516
+ type: string;
3517
+ };
3518
+ is_one_time_use: {
3519
+ type: string;
3520
+ };
3521
+ max_time_rounding: {
3522
+ enum: string[];
3523
+ type: string;
3524
+ };
3616
3525
  name: {
3617
3526
  type: string;
3618
3527
  };
@@ -3633,6 +3542,9 @@ declare const _default: {
3633
3542
  use_backup_access_code_pool: {
3634
3543
  type: string;
3635
3544
  };
3545
+ use_offline_access_code: {
3546
+ type: string;
3547
+ };
3636
3548
  };
3637
3549
  required: string[];
3638
3550
  type: string;
@@ -3724,6 +3636,16 @@ declare const _default: {
3724
3636
  is_managed: {
3725
3637
  type: string;
3726
3638
  };
3639
+ is_offline_access_code: {
3640
+ type: string;
3641
+ };
3642
+ is_one_time_use: {
3643
+ type: string;
3644
+ };
3645
+ max_time_rounding: {
3646
+ enum: string[];
3647
+ type: string;
3648
+ };
3727
3649
  name: {
3728
3650
  type: string;
3729
3651
  };
@@ -3744,6 +3666,9 @@ declare const _default: {
3744
3666
  use_backup_access_code_pool: {
3745
3667
  type: string;
3746
3668
  };
3669
+ use_offline_access_code: {
3670
+ type: string;
3671
+ };
3747
3672
  };
3748
3673
  required: string[];
3749
3674
  type: string;
@@ -3837,6 +3762,16 @@ declare const _default: {
3837
3762
  is_managed: {
3838
3763
  type: string;
3839
3764
  };
3765
+ is_offline_access_code: {
3766
+ type: string;
3767
+ };
3768
+ is_one_time_use: {
3769
+ type: string;
3770
+ };
3771
+ max_time_rounding: {
3772
+ enum: string[];
3773
+ type: string;
3774
+ };
3840
3775
  name: {
3841
3776
  type: string;
3842
3777
  };
@@ -3857,6 +3792,9 @@ declare const _default: {
3857
3792
  use_backup_access_code_pool: {
3858
3793
  type: string;
3859
3794
  };
3795
+ use_offline_access_code: {
3796
+ type: string;
3797
+ };
3860
3798
  };
3861
3799
  required: string[];
3862
3800
  type: string;
@@ -4880,14 +4818,40 @@ declare const _default: {
4880
4818
  content: {
4881
4819
  'application/json': {
4882
4820
  schema: {
4883
- properties: {
4884
- acs_user_id: {
4885
- format: string;
4886
- type: string;
4821
+ oneOf: ({
4822
+ properties: {
4823
+ acs_user_id: {
4824
+ format: string;
4825
+ type: string;
4826
+ };
4827
+ acs_system_id?: never;
4887
4828
  };
4888
- };
4889
- required: string[];
4890
- type: string;
4829
+ required: string[];
4830
+ type: string;
4831
+ } | {
4832
+ properties: {
4833
+ acs_system_id: {
4834
+ format: string;
4835
+ type: string;
4836
+ };
4837
+ acs_user_id?: never;
4838
+ };
4839
+ required: string[];
4840
+ type: string;
4841
+ } | {
4842
+ properties: {
4843
+ acs_system_id: {
4844
+ format: string;
4845
+ type: string;
4846
+ };
4847
+ acs_user_id: {
4848
+ format: string;
4849
+ type: string;
4850
+ };
4851
+ };
4852
+ required: string[];
4853
+ type: string;
4854
+ })[];
4891
4855
  };
4892
4856
  };
4893
4857
  };