@seamapi/types 1.471.0 → 1.473.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 +32 -993
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +388 -1812
- package/dist/index.cjs +32 -993
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +13 -0
- package/lib/seam/connect/models/acs/acs-entrance.js +4 -0
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/dormakaba-ambiance.d.ts +9 -0
- package/lib/seam/connect/models/acs/metadata/dormakaba-ambiance.js +9 -0
- package/lib/seam/connect/models/acs/metadata/dormakaba-ambiance.js.map +1 -0
- package/lib/seam/connect/models/acs/metadata/index.d.ts +1 -0
- package/lib/seam/connect/models/acs/metadata/index.js +1 -0
- package/lib/seam/connect/models/acs/metadata/index.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +95 -0
- package/lib/seam/connect/models/index.d.ts +0 -1
- package/lib/seam/connect/models/index.js +0 -1
- package/lib/seam/connect/models/index.js.map +1 -1
- package/lib/seam/connect/models/phones/phone-session.d.ts +56 -0
- package/lib/seam/connect/openapi.d.ts +22 -1312
- package/lib/seam/connect/openapi.js +22 -993
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +50 -216
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +0 -2
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +6 -0
- package/src/lib/seam/connect/models/acs/metadata/dormakaba-ambiance.ts +17 -0
- package/src/lib/seam/connect/models/acs/metadata/index.ts +1 -0
- package/src/lib/seam/connect/models/index.ts +0 -1
- package/src/lib/seam/connect/openapi.ts +26 -1015
- package/src/lib/seam/connect/route-types.ts +70 -228
- package/lib/seam/connect/models/locations/index.d.ts +0 -1
- package/lib/seam/connect/models/locations/index.js +0 -2
- package/lib/seam/connect/models/locations/index.js.map +0 -1
- package/lib/seam/connect/models/locations/location.d.ts +0 -52
- package/lib/seam/connect/models/locations/location.js +0 -31
- package/lib/seam/connect/models/locations/location.js.map +0 -1
- package/src/lib/seam/connect/models/locations/index.ts +0 -1
- package/src/lib/seam/connect/models/locations/location.ts +0 -36
|
@@ -13026,6 +13026,13 @@ export type Routes = {
|
|
|
13026
13026
|
room_description?: string | undefined
|
|
13027
13027
|
}
|
|
13028
13028
|
| undefined
|
|
13029
|
+
/** dormakaba Ambiance-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
13030
|
+
dormakaba_ambiance_metadata?:
|
|
13031
|
+
| {
|
|
13032
|
+
/** Name of the access point in the dormakaba Ambiance access system. */
|
|
13033
|
+
access_point_name: string
|
|
13034
|
+
}
|
|
13035
|
+
| undefined
|
|
13029
13036
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
13030
13037
|
can_unlock_with_mobile_key?: boolean | undefined
|
|
13031
13038
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -16744,6 +16751,13 @@ export type Routes = {
|
|
|
16744
16751
|
room_description?: string | undefined
|
|
16745
16752
|
}
|
|
16746
16753
|
| undefined
|
|
16754
|
+
/** dormakaba Ambiance-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
16755
|
+
dormakaba_ambiance_metadata?:
|
|
16756
|
+
| {
|
|
16757
|
+
/** Name of the access point in the dormakaba Ambiance access system. */
|
|
16758
|
+
access_point_name: string
|
|
16759
|
+
}
|
|
16760
|
+
| undefined
|
|
16747
16761
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
16748
16762
|
can_unlock_with_mobile_key?: boolean | undefined
|
|
16749
16763
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -19857,6 +19871,13 @@ export type Routes = {
|
|
|
19857
19871
|
room_description?: string | undefined
|
|
19858
19872
|
}
|
|
19859
19873
|
| undefined
|
|
19874
|
+
/** dormakaba Ambiance-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
19875
|
+
dormakaba_ambiance_metadata?:
|
|
19876
|
+
| {
|
|
19877
|
+
/** Name of the access point in the dormakaba Ambiance access system. */
|
|
19878
|
+
access_point_name: string
|
|
19879
|
+
}
|
|
19880
|
+
| undefined
|
|
19860
19881
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
19861
19882
|
can_unlock_with_mobile_key?: boolean | undefined
|
|
19862
19883
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -21413,6 +21434,13 @@ export type Routes = {
|
|
|
21413
21434
|
room_description?: string | undefined
|
|
21414
21435
|
}
|
|
21415
21436
|
| undefined
|
|
21437
|
+
/** dormakaba Ambiance-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
21438
|
+
dormakaba_ambiance_metadata?:
|
|
21439
|
+
| {
|
|
21440
|
+
/** Name of the access point in the dormakaba Ambiance access system. */
|
|
21441
|
+
access_point_name: string
|
|
21442
|
+
}
|
|
21443
|
+
| undefined
|
|
21416
21444
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
21417
21445
|
can_unlock_with_mobile_key?: boolean | undefined
|
|
21418
21446
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -25340,6 +25368,13 @@ export type Routes = {
|
|
|
25340
25368
|
room_description?: string | undefined
|
|
25341
25369
|
}
|
|
25342
25370
|
| undefined
|
|
25371
|
+
/** dormakaba Ambiance-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
25372
|
+
dormakaba_ambiance_metadata?:
|
|
25373
|
+
| {
|
|
25374
|
+
/** Name of the access point in the dormakaba Ambiance access system. */
|
|
25375
|
+
access_point_name: string
|
|
25376
|
+
}
|
|
25377
|
+
| undefined
|
|
25343
25378
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
25344
25379
|
can_unlock_with_mobile_key?: boolean | undefined
|
|
25345
25380
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -25512,6 +25547,13 @@ export type Routes = {
|
|
|
25512
25547
|
room_description?: string | undefined
|
|
25513
25548
|
}
|
|
25514
25549
|
| undefined
|
|
25550
|
+
/** dormakaba Ambiance-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
25551
|
+
dormakaba_ambiance_metadata?:
|
|
25552
|
+
| {
|
|
25553
|
+
/** Name of the access point in the dormakaba Ambiance access system. */
|
|
25554
|
+
access_point_name: string
|
|
25555
|
+
}
|
|
25556
|
+
| undefined
|
|
25515
25557
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
25516
25558
|
can_unlock_with_mobile_key?: boolean | undefined
|
|
25517
25559
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -27217,6 +27259,13 @@ export type Routes = {
|
|
|
27217
27259
|
room_description?: string | undefined
|
|
27218
27260
|
}
|
|
27219
27261
|
| undefined
|
|
27262
|
+
/** dormakaba Ambiance-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
27263
|
+
dormakaba_ambiance_metadata?:
|
|
27264
|
+
| {
|
|
27265
|
+
/** Name of the access point in the dormakaba Ambiance access system. */
|
|
27266
|
+
access_point_name: string
|
|
27267
|
+
}
|
|
27268
|
+
| undefined
|
|
27220
27269
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
27221
27270
|
can_unlock_with_mobile_key?: boolean | undefined
|
|
27222
27271
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -65054,6 +65103,13 @@ export type Routes = {
|
|
|
65054
65103
|
room_description?: string | undefined
|
|
65055
65104
|
}
|
|
65056
65105
|
| undefined
|
|
65106
|
+
/** dormakaba Ambiance-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
65107
|
+
dormakaba_ambiance_metadata?:
|
|
65108
|
+
| {
|
|
65109
|
+
/** Name of the access point in the dormakaba Ambiance access system. */
|
|
65110
|
+
access_point_name: string
|
|
65111
|
+
}
|
|
65112
|
+
| undefined
|
|
65057
65113
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
65058
65114
|
can_unlock_with_mobile_key?: boolean | undefined
|
|
65059
65115
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -66960,6 +67016,13 @@ export type Routes = {
|
|
|
66960
67016
|
room_description?: string | undefined
|
|
66961
67017
|
}
|
|
66962
67018
|
| undefined
|
|
67019
|
+
/** dormakaba Ambiance-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
67020
|
+
dormakaba_ambiance_metadata?:
|
|
67021
|
+
| {
|
|
67022
|
+
/** Name of the access point in the dormakaba Ambiance access system. */
|
|
67023
|
+
access_point_name: string
|
|
67024
|
+
}
|
|
67025
|
+
| undefined
|
|
66963
67026
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
66964
67027
|
can_unlock_with_mobile_key?: boolean | undefined
|
|
66965
67028
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -85528,234 +85591,6 @@ export type Routes = {
|
|
|
85528
85591
|
}
|
|
85529
85592
|
}
|
|
85530
85593
|
}
|
|
85531
|
-
'/unstable_locations/add_acs_entrances': {
|
|
85532
|
-
route: '/unstable_locations/add_acs_entrances'
|
|
85533
|
-
method: 'POST' | 'PUT'
|
|
85534
|
-
queryParams: {}
|
|
85535
|
-
jsonBody: {
|
|
85536
|
-
/** ID of the location to which you want to add entrances. */
|
|
85537
|
-
location_id: string
|
|
85538
|
-
/** IDs of the entrances that you want to add to the location. */
|
|
85539
|
-
acs_entrance_ids: string[]
|
|
85540
|
-
}
|
|
85541
|
-
commonParams: {}
|
|
85542
|
-
formData: {}
|
|
85543
|
-
jsonResponse: {}
|
|
85544
|
-
}
|
|
85545
|
-
'/unstable_locations/add_devices': {
|
|
85546
|
-
route: '/unstable_locations/add_devices'
|
|
85547
|
-
method: 'POST' | 'PUT'
|
|
85548
|
-
queryParams: {}
|
|
85549
|
-
jsonBody: {
|
|
85550
|
-
/** ID of the location to which you want to add devices. */
|
|
85551
|
-
location_id: string
|
|
85552
|
-
/** IDs of the devices that you want to add to the location. */
|
|
85553
|
-
device_ids: string[]
|
|
85554
|
-
}
|
|
85555
|
-
commonParams: {}
|
|
85556
|
-
formData: {}
|
|
85557
|
-
jsonResponse: {}
|
|
85558
|
-
}
|
|
85559
|
-
'/unstable_locations/create': {
|
|
85560
|
-
route: '/unstable_locations/create'
|
|
85561
|
-
method: 'POST'
|
|
85562
|
-
queryParams: {}
|
|
85563
|
-
jsonBody: {
|
|
85564
|
-
/** Name of the new location. */
|
|
85565
|
-
name: string
|
|
85566
|
-
/** Geolocation of the new location. */
|
|
85567
|
-
geolocation?:
|
|
85568
|
-
| {
|
|
85569
|
-
latitude: number
|
|
85570
|
-
longitude: number
|
|
85571
|
-
}
|
|
85572
|
-
| undefined
|
|
85573
|
-
/** Time zone of the new location. */
|
|
85574
|
-
time_zone?: string | undefined
|
|
85575
|
-
/** IDs of the devices that you want to add to the new location. */
|
|
85576
|
-
device_ids?: string[] | undefined
|
|
85577
|
-
/** IDs of the entrances that you want to add to the new location. */
|
|
85578
|
-
acs_entrance_ids?: string[] | undefined
|
|
85579
|
-
}
|
|
85580
|
-
commonParams: {}
|
|
85581
|
-
formData: {}
|
|
85582
|
-
jsonResponse: {
|
|
85583
|
-
/** */
|
|
85584
|
-
location: {
|
|
85585
|
-
/** Unique identifier for the location. */
|
|
85586
|
-
location_id: string
|
|
85587
|
-
/** Unique identifier for the Seam workspace associated with the location. */
|
|
85588
|
-
workspace_id: string
|
|
85589
|
-
/** Name of the location. */
|
|
85590
|
-
name: string
|
|
85591
|
-
/** Display name of the location. */
|
|
85592
|
-
display_name: string
|
|
85593
|
-
/** Geographical location of the location. */
|
|
85594
|
-
geolocation?:
|
|
85595
|
-
| {
|
|
85596
|
-
latitude: number
|
|
85597
|
-
longitude: number
|
|
85598
|
-
}
|
|
85599
|
-
| undefined
|
|
85600
|
-
/** Time zone of the location. */
|
|
85601
|
-
time_zone?: string | undefined
|
|
85602
|
-
/** Date and time at which the location object was created. */
|
|
85603
|
-
created_at: string
|
|
85604
|
-
}
|
|
85605
|
-
}
|
|
85606
|
-
}
|
|
85607
|
-
'/unstable_locations/delete': {
|
|
85608
|
-
route: '/unstable_locations/delete'
|
|
85609
|
-
method: 'DELETE' | 'POST'
|
|
85610
|
-
queryParams: {}
|
|
85611
|
-
jsonBody: {
|
|
85612
|
-
/** ID of the location that you want to delete. */
|
|
85613
|
-
location_id: string
|
|
85614
|
-
}
|
|
85615
|
-
commonParams: {}
|
|
85616
|
-
formData: {}
|
|
85617
|
-
jsonResponse: {}
|
|
85618
|
-
}
|
|
85619
|
-
'/unstable_locations/get': {
|
|
85620
|
-
route: '/unstable_locations/get'
|
|
85621
|
-
method: 'GET' | 'POST'
|
|
85622
|
-
queryParams: {}
|
|
85623
|
-
jsonBody: {}
|
|
85624
|
-
commonParams: {
|
|
85625
|
-
/** ID of the location that you want to get. */
|
|
85626
|
-
location_id: string
|
|
85627
|
-
}
|
|
85628
|
-
formData: {}
|
|
85629
|
-
jsonResponse: {
|
|
85630
|
-
/** */
|
|
85631
|
-
location: {
|
|
85632
|
-
/** Unique identifier for the location. */
|
|
85633
|
-
location_id: string
|
|
85634
|
-
/** Unique identifier for the Seam workspace associated with the location. */
|
|
85635
|
-
workspace_id: string
|
|
85636
|
-
/** Name of the location. */
|
|
85637
|
-
name: string
|
|
85638
|
-
/** Display name of the location. */
|
|
85639
|
-
display_name: string
|
|
85640
|
-
/** Geographical location of the location. */
|
|
85641
|
-
geolocation?:
|
|
85642
|
-
| {
|
|
85643
|
-
latitude: number
|
|
85644
|
-
longitude: number
|
|
85645
|
-
}
|
|
85646
|
-
| undefined
|
|
85647
|
-
/** Time zone of the location. */
|
|
85648
|
-
time_zone?: string | undefined
|
|
85649
|
-
/** Date and time at which the location object was created. */
|
|
85650
|
-
created_at: string
|
|
85651
|
-
}
|
|
85652
|
-
}
|
|
85653
|
-
}
|
|
85654
|
-
'/unstable_locations/list': {
|
|
85655
|
-
route: '/unstable_locations/list'
|
|
85656
|
-
method: 'GET' | 'POST'
|
|
85657
|
-
queryParams: {}
|
|
85658
|
-
jsonBody: {}
|
|
85659
|
-
commonParams: {}
|
|
85660
|
-
formData: {}
|
|
85661
|
-
jsonResponse: {
|
|
85662
|
-
locations: {
|
|
85663
|
-
/** Unique identifier for the location. */
|
|
85664
|
-
location_id: string
|
|
85665
|
-
/** Unique identifier for the Seam workspace associated with the location. */
|
|
85666
|
-
workspace_id: string
|
|
85667
|
-
/** Name of the location. */
|
|
85668
|
-
name: string
|
|
85669
|
-
/** Display name of the location. */
|
|
85670
|
-
display_name: string
|
|
85671
|
-
/** Geographical location of the location. */
|
|
85672
|
-
geolocation?:
|
|
85673
|
-
| {
|
|
85674
|
-
latitude: number
|
|
85675
|
-
longitude: number
|
|
85676
|
-
}
|
|
85677
|
-
| undefined
|
|
85678
|
-
/** Time zone of the location. */
|
|
85679
|
-
time_zone?: string | undefined
|
|
85680
|
-
/** Date and time at which the location object was created. */
|
|
85681
|
-
created_at: string
|
|
85682
|
-
}[]
|
|
85683
|
-
}
|
|
85684
|
-
}
|
|
85685
|
-
'/unstable_locations/remove_acs_entrances': {
|
|
85686
|
-
route: '/unstable_locations/remove_acs_entrances'
|
|
85687
|
-
method: 'POST' | 'DELETE'
|
|
85688
|
-
queryParams: {}
|
|
85689
|
-
jsonBody: {}
|
|
85690
|
-
commonParams: {
|
|
85691
|
-
/** ID of the location from which you want to remove entrances. */
|
|
85692
|
-
location_id: string
|
|
85693
|
-
/** IDs of the entrances that you want to remove from the location. */
|
|
85694
|
-
acs_entrance_ids: string[]
|
|
85695
|
-
}
|
|
85696
|
-
formData: {}
|
|
85697
|
-
jsonResponse: {}
|
|
85698
|
-
}
|
|
85699
|
-
'/unstable_locations/remove_devices': {
|
|
85700
|
-
route: '/unstable_locations/remove_devices'
|
|
85701
|
-
method: 'POST' | 'DELETE'
|
|
85702
|
-
queryParams: {}
|
|
85703
|
-
jsonBody: {}
|
|
85704
|
-
commonParams: {
|
|
85705
|
-
/** ID of the location from which you want to remove devices. */
|
|
85706
|
-
location_id: string
|
|
85707
|
-
/** IDs of the devices that you want to remove from the location. */
|
|
85708
|
-
device_ids: string[]
|
|
85709
|
-
}
|
|
85710
|
-
formData: {}
|
|
85711
|
-
jsonResponse: {}
|
|
85712
|
-
}
|
|
85713
|
-
'/unstable_locations/update': {
|
|
85714
|
-
route: '/unstable_locations/update'
|
|
85715
|
-
method: 'POST' | 'PATCH'
|
|
85716
|
-
queryParams: {}
|
|
85717
|
-
jsonBody: {
|
|
85718
|
-
/** ID of the location that you want to update. */
|
|
85719
|
-
location_id: string
|
|
85720
|
-
/** Name of the location. */
|
|
85721
|
-
name?: string | undefined
|
|
85722
|
-
/** Geolocation of the location. */
|
|
85723
|
-
geolocation?:
|
|
85724
|
-
| {
|
|
85725
|
-
latitude: number
|
|
85726
|
-
longitude: number
|
|
85727
|
-
}
|
|
85728
|
-
| undefined
|
|
85729
|
-
/** Time zone of the the location. */
|
|
85730
|
-
time_zone?: string | undefined
|
|
85731
|
-
}
|
|
85732
|
-
commonParams: {}
|
|
85733
|
-
formData: {}
|
|
85734
|
-
jsonResponse: {
|
|
85735
|
-
/** */
|
|
85736
|
-
location: {
|
|
85737
|
-
/** Unique identifier for the location. */
|
|
85738
|
-
location_id: string
|
|
85739
|
-
/** Unique identifier for the Seam workspace associated with the location. */
|
|
85740
|
-
workspace_id: string
|
|
85741
|
-
/** Name of the location. */
|
|
85742
|
-
name: string
|
|
85743
|
-
/** Display name of the location. */
|
|
85744
|
-
display_name: string
|
|
85745
|
-
/** Geographical location of the location. */
|
|
85746
|
-
geolocation?:
|
|
85747
|
-
| {
|
|
85748
|
-
latitude: number
|
|
85749
|
-
longitude: number
|
|
85750
|
-
}
|
|
85751
|
-
| undefined
|
|
85752
|
-
/** Time zone of the location. */
|
|
85753
|
-
time_zone?: string | undefined
|
|
85754
|
-
/** Date and time at which the location object was created. */
|
|
85755
|
-
created_at: string
|
|
85756
|
-
}
|
|
85757
|
-
}
|
|
85758
|
-
}
|
|
85759
85594
|
'/unstable_partner/building_blocks/connect_accounts': {
|
|
85760
85595
|
route: '/unstable_partner/building_blocks/connect_accounts'
|
|
85761
85596
|
method: 'POST'
|
|
@@ -91733,6 +91568,13 @@ export type Routes = {
|
|
|
91733
91568
|
room_description?: string | undefined
|
|
91734
91569
|
}
|
|
91735
91570
|
| undefined
|
|
91571
|
+
/** dormakaba Ambiance-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
|
|
91572
|
+
dormakaba_ambiance_metadata?:
|
|
91573
|
+
| {
|
|
91574
|
+
/** Name of the access point in the dormakaba Ambiance access system. */
|
|
91575
|
+
access_point_name: string
|
|
91576
|
+
}
|
|
91577
|
+
| undefined
|
|
91736
91578
|
/** Indicates whether the ACS entrance can be unlocked with mobile key credentials. */
|
|
91737
91579
|
can_unlock_with_mobile_key?: boolean | undefined
|
|
91738
91580
|
/** Indicates whether the ACS entrance can be unlocked with card credentials. */
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './location.js';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/locations/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA"}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const geolocation: z.ZodObject<{
|
|
3
|
-
latitude: z.ZodNumber;
|
|
4
|
-
longitude: z.ZodNumber;
|
|
5
|
-
}, "strip", z.ZodTypeAny, {
|
|
6
|
-
latitude: number;
|
|
7
|
-
longitude: number;
|
|
8
|
-
}, {
|
|
9
|
-
latitude: number;
|
|
10
|
-
longitude: number;
|
|
11
|
-
}>;
|
|
12
|
-
export declare const location: z.ZodObject<{
|
|
13
|
-
location_id: z.ZodString;
|
|
14
|
-
workspace_id: z.ZodString;
|
|
15
|
-
name: z.ZodString;
|
|
16
|
-
display_name: z.ZodString;
|
|
17
|
-
geolocation: z.ZodOptional<z.ZodObject<{
|
|
18
|
-
latitude: z.ZodNumber;
|
|
19
|
-
longitude: z.ZodNumber;
|
|
20
|
-
}, "strip", z.ZodTypeAny, {
|
|
21
|
-
latitude: number;
|
|
22
|
-
longitude: number;
|
|
23
|
-
}, {
|
|
24
|
-
latitude: number;
|
|
25
|
-
longitude: number;
|
|
26
|
-
}>>;
|
|
27
|
-
time_zone: z.ZodOptional<z.ZodString>;
|
|
28
|
-
created_at: z.ZodString;
|
|
29
|
-
}, "strip", z.ZodTypeAny, {
|
|
30
|
-
name: string;
|
|
31
|
-
display_name: string;
|
|
32
|
-
workspace_id: string;
|
|
33
|
-
created_at: string;
|
|
34
|
-
location_id: string;
|
|
35
|
-
time_zone?: string | undefined;
|
|
36
|
-
geolocation?: {
|
|
37
|
-
latitude: number;
|
|
38
|
-
longitude: number;
|
|
39
|
-
} | undefined;
|
|
40
|
-
}, {
|
|
41
|
-
name: string;
|
|
42
|
-
display_name: string;
|
|
43
|
-
workspace_id: string;
|
|
44
|
-
created_at: string;
|
|
45
|
-
location_id: string;
|
|
46
|
-
time_zone?: string | undefined;
|
|
47
|
-
geolocation?: {
|
|
48
|
-
latitude: number;
|
|
49
|
-
longitude: number;
|
|
50
|
-
} | undefined;
|
|
51
|
-
}>;
|
|
52
|
-
export type Location = z.infer<typeof location>;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export const geolocation = z.object({
|
|
3
|
-
latitude: z.number(),
|
|
4
|
-
longitude: z.number(),
|
|
5
|
-
});
|
|
6
|
-
export const location = z.object({
|
|
7
|
-
location_id: z
|
|
8
|
-
.string()
|
|
9
|
-
.uuid()
|
|
10
|
-
.describe('Unique identifier for the location.'),
|
|
11
|
-
workspace_id: z
|
|
12
|
-
.string()
|
|
13
|
-
.uuid()
|
|
14
|
-
.describe('Unique identifier for the Seam workspace associated with the location.'),
|
|
15
|
-
name: z.string().describe('Name of the location.'),
|
|
16
|
-
display_name: z.string().describe('Display name of the location.'),
|
|
17
|
-
geolocation: geolocation
|
|
18
|
-
.optional()
|
|
19
|
-
.describe('Geographical location of the location.'),
|
|
20
|
-
time_zone: z.string().optional().describe('Time zone of the location.'),
|
|
21
|
-
created_at: z
|
|
22
|
-
.string()
|
|
23
|
-
.datetime()
|
|
24
|
-
.describe('Date and time at which the location object was created.'),
|
|
25
|
-
}).describe(`
|
|
26
|
-
---
|
|
27
|
-
undocumented: Will be removed.
|
|
28
|
-
route_path: /unstable_locations
|
|
29
|
-
---
|
|
30
|
-
`);
|
|
31
|
-
//# sourceMappingURL=location.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"location.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/locations/location.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IAClC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/B,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,qCAAqC,CAAC;IAClD,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,wEAAwE,CACzE;IACH,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,uBAAuB,CAAC;IAClD,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,+BAA+B,CAAC;IAClE,WAAW,EAAE,WAAW;SACrB,QAAQ,EAAE;SACV,QAAQ,CAAC,wCAAwC,CAAC;IACrD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,4BAA4B,CAAC;IACvE,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,yDAAyD,CAAC;CACvE,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './location.js'
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod'
|
|
2
|
-
|
|
3
|
-
export const geolocation = z.object({
|
|
4
|
-
latitude: z.number(),
|
|
5
|
-
longitude: z.number(),
|
|
6
|
-
})
|
|
7
|
-
|
|
8
|
-
export const location = z.object({
|
|
9
|
-
location_id: z
|
|
10
|
-
.string()
|
|
11
|
-
.uuid()
|
|
12
|
-
.describe('Unique identifier for the location.'),
|
|
13
|
-
workspace_id: z
|
|
14
|
-
.string()
|
|
15
|
-
.uuid()
|
|
16
|
-
.describe(
|
|
17
|
-
'Unique identifier for the Seam workspace associated with the location.',
|
|
18
|
-
),
|
|
19
|
-
name: z.string().describe('Name of the location.'),
|
|
20
|
-
display_name: z.string().describe('Display name of the location.'),
|
|
21
|
-
geolocation: geolocation
|
|
22
|
-
.optional()
|
|
23
|
-
.describe('Geographical location of the location.'),
|
|
24
|
-
time_zone: z.string().optional().describe('Time zone of the location.'),
|
|
25
|
-
created_at: z
|
|
26
|
-
.string()
|
|
27
|
-
.datetime()
|
|
28
|
-
.describe('Date and time at which the location object was created.'),
|
|
29
|
-
}).describe(`
|
|
30
|
-
---
|
|
31
|
-
undocumented: Will be removed.
|
|
32
|
-
route_path: /unstable_locations
|
|
33
|
-
---
|
|
34
|
-
`)
|
|
35
|
-
|
|
36
|
-
export type Location = z.infer<typeof location>
|