@seamapi/types 1.472.0 → 1.474.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 +318 -1270
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +870 -2263
- package/dist/index.cjs +318 -1270
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +126 -0
- package/lib/seam/connect/models/batch.js +3 -0
- package/lib/seam/connect/models/batch.js.map +1 -1
- 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/openapi.d.ts +185 -1473
- package/lib/seam/connect/openapi.js +199 -1176
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +48 -216
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +0 -2
- package/src/lib/seam/connect/models/batch.ts +3 -0
- package/src/lib/seam/connect/models/index.ts +0 -1
- package/src/lib/seam/connect/openapi.ts +210 -1209
- package/src/lib/seam/connect/route-types.ts +52 -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
|
@@ -19550,6 +19550,32 @@ export type Routes = {
|
|
|
19550
19550
|
customer_key?: string | undefined
|
|
19551
19551
|
}[]
|
|
19552
19552
|
| undefined
|
|
19553
|
+
access_methods?:
|
|
19554
|
+
| {
|
|
19555
|
+
/** ID of the Seam workspace associated with the access method. */
|
|
19556
|
+
workspace_id: string
|
|
19557
|
+
/** ID of the access method. */
|
|
19558
|
+
access_method_id: string
|
|
19559
|
+
/** Display name of the access method. */
|
|
19560
|
+
display_name: string
|
|
19561
|
+
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
19562
|
+
mode: 'code' | 'card' | 'mobile_key'
|
|
19563
|
+
/** Date and time at which the access method was created. */
|
|
19564
|
+
created_at: string
|
|
19565
|
+
/** Date and time at which the access method was issued. */
|
|
19566
|
+
issued_at: string | null
|
|
19567
|
+
/** Indicates whether the access method has been issued. */
|
|
19568
|
+
is_issued: boolean
|
|
19569
|
+
/** URL of the Instant Key for mobile key access methods. */
|
|
19570
|
+
instant_key_url?: string | undefined
|
|
19571
|
+
/** Token of the client session associated with the access method. */
|
|
19572
|
+
client_session_token?: string | undefined
|
|
19573
|
+
/** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
|
|
19574
|
+
is_encoding_required?: boolean | undefined
|
|
19575
|
+
/** The actual PIN code for code access methods. */
|
|
19576
|
+
code?: string | undefined
|
|
19577
|
+
}[]
|
|
19578
|
+
| undefined
|
|
19553
19579
|
}
|
|
19554
19580
|
}
|
|
19555
19581
|
}
|
|
@@ -85591,234 +85617,6 @@ export type Routes = {
|
|
|
85591
85617
|
}
|
|
85592
85618
|
}
|
|
85593
85619
|
}
|
|
85594
|
-
'/unstable_locations/add_acs_entrances': {
|
|
85595
|
-
route: '/unstable_locations/add_acs_entrances'
|
|
85596
|
-
method: 'POST' | 'PUT'
|
|
85597
|
-
queryParams: {}
|
|
85598
|
-
jsonBody: {
|
|
85599
|
-
/** ID of the location to which you want to add entrances. */
|
|
85600
|
-
location_id: string
|
|
85601
|
-
/** IDs of the entrances that you want to add to the location. */
|
|
85602
|
-
acs_entrance_ids: string[]
|
|
85603
|
-
}
|
|
85604
|
-
commonParams: {}
|
|
85605
|
-
formData: {}
|
|
85606
|
-
jsonResponse: {}
|
|
85607
|
-
}
|
|
85608
|
-
'/unstable_locations/add_devices': {
|
|
85609
|
-
route: '/unstable_locations/add_devices'
|
|
85610
|
-
method: 'POST' | 'PUT'
|
|
85611
|
-
queryParams: {}
|
|
85612
|
-
jsonBody: {
|
|
85613
|
-
/** ID of the location to which you want to add devices. */
|
|
85614
|
-
location_id: string
|
|
85615
|
-
/** IDs of the devices that you want to add to the location. */
|
|
85616
|
-
device_ids: string[]
|
|
85617
|
-
}
|
|
85618
|
-
commonParams: {}
|
|
85619
|
-
formData: {}
|
|
85620
|
-
jsonResponse: {}
|
|
85621
|
-
}
|
|
85622
|
-
'/unstable_locations/create': {
|
|
85623
|
-
route: '/unstable_locations/create'
|
|
85624
|
-
method: 'POST'
|
|
85625
|
-
queryParams: {}
|
|
85626
|
-
jsonBody: {
|
|
85627
|
-
/** Name of the new location. */
|
|
85628
|
-
name: string
|
|
85629
|
-
/** Geolocation of the new location. */
|
|
85630
|
-
geolocation?:
|
|
85631
|
-
| {
|
|
85632
|
-
latitude: number
|
|
85633
|
-
longitude: number
|
|
85634
|
-
}
|
|
85635
|
-
| undefined
|
|
85636
|
-
/** Time zone of the new location. */
|
|
85637
|
-
time_zone?: string | undefined
|
|
85638
|
-
/** IDs of the devices that you want to add to the new location. */
|
|
85639
|
-
device_ids?: string[] | undefined
|
|
85640
|
-
/** IDs of the entrances that you want to add to the new location. */
|
|
85641
|
-
acs_entrance_ids?: string[] | undefined
|
|
85642
|
-
}
|
|
85643
|
-
commonParams: {}
|
|
85644
|
-
formData: {}
|
|
85645
|
-
jsonResponse: {
|
|
85646
|
-
/** */
|
|
85647
|
-
location: {
|
|
85648
|
-
/** Unique identifier for the location. */
|
|
85649
|
-
location_id: string
|
|
85650
|
-
/** Unique identifier for the Seam workspace associated with the location. */
|
|
85651
|
-
workspace_id: string
|
|
85652
|
-
/** Name of the location. */
|
|
85653
|
-
name: string
|
|
85654
|
-
/** Display name of the location. */
|
|
85655
|
-
display_name: string
|
|
85656
|
-
/** Geographical location of the location. */
|
|
85657
|
-
geolocation?:
|
|
85658
|
-
| {
|
|
85659
|
-
latitude: number
|
|
85660
|
-
longitude: number
|
|
85661
|
-
}
|
|
85662
|
-
| undefined
|
|
85663
|
-
/** Time zone of the location. */
|
|
85664
|
-
time_zone?: string | undefined
|
|
85665
|
-
/** Date and time at which the location object was created. */
|
|
85666
|
-
created_at: string
|
|
85667
|
-
}
|
|
85668
|
-
}
|
|
85669
|
-
}
|
|
85670
|
-
'/unstable_locations/delete': {
|
|
85671
|
-
route: '/unstable_locations/delete'
|
|
85672
|
-
method: 'DELETE' | 'POST'
|
|
85673
|
-
queryParams: {}
|
|
85674
|
-
jsonBody: {
|
|
85675
|
-
/** ID of the location that you want to delete. */
|
|
85676
|
-
location_id: string
|
|
85677
|
-
}
|
|
85678
|
-
commonParams: {}
|
|
85679
|
-
formData: {}
|
|
85680
|
-
jsonResponse: {}
|
|
85681
|
-
}
|
|
85682
|
-
'/unstable_locations/get': {
|
|
85683
|
-
route: '/unstable_locations/get'
|
|
85684
|
-
method: 'GET' | 'POST'
|
|
85685
|
-
queryParams: {}
|
|
85686
|
-
jsonBody: {}
|
|
85687
|
-
commonParams: {
|
|
85688
|
-
/** ID of the location that you want to get. */
|
|
85689
|
-
location_id: string
|
|
85690
|
-
}
|
|
85691
|
-
formData: {}
|
|
85692
|
-
jsonResponse: {
|
|
85693
|
-
/** */
|
|
85694
|
-
location: {
|
|
85695
|
-
/** Unique identifier for the location. */
|
|
85696
|
-
location_id: string
|
|
85697
|
-
/** Unique identifier for the Seam workspace associated with the location. */
|
|
85698
|
-
workspace_id: string
|
|
85699
|
-
/** Name of the location. */
|
|
85700
|
-
name: string
|
|
85701
|
-
/** Display name of the location. */
|
|
85702
|
-
display_name: string
|
|
85703
|
-
/** Geographical location of the location. */
|
|
85704
|
-
geolocation?:
|
|
85705
|
-
| {
|
|
85706
|
-
latitude: number
|
|
85707
|
-
longitude: number
|
|
85708
|
-
}
|
|
85709
|
-
| undefined
|
|
85710
|
-
/** Time zone of the location. */
|
|
85711
|
-
time_zone?: string | undefined
|
|
85712
|
-
/** Date and time at which the location object was created. */
|
|
85713
|
-
created_at: string
|
|
85714
|
-
}
|
|
85715
|
-
}
|
|
85716
|
-
}
|
|
85717
|
-
'/unstable_locations/list': {
|
|
85718
|
-
route: '/unstable_locations/list'
|
|
85719
|
-
method: 'GET' | 'POST'
|
|
85720
|
-
queryParams: {}
|
|
85721
|
-
jsonBody: {}
|
|
85722
|
-
commonParams: {}
|
|
85723
|
-
formData: {}
|
|
85724
|
-
jsonResponse: {
|
|
85725
|
-
locations: {
|
|
85726
|
-
/** Unique identifier for the location. */
|
|
85727
|
-
location_id: string
|
|
85728
|
-
/** Unique identifier for the Seam workspace associated with the location. */
|
|
85729
|
-
workspace_id: string
|
|
85730
|
-
/** Name of the location. */
|
|
85731
|
-
name: string
|
|
85732
|
-
/** Display name of the location. */
|
|
85733
|
-
display_name: string
|
|
85734
|
-
/** Geographical location of the location. */
|
|
85735
|
-
geolocation?:
|
|
85736
|
-
| {
|
|
85737
|
-
latitude: number
|
|
85738
|
-
longitude: number
|
|
85739
|
-
}
|
|
85740
|
-
| undefined
|
|
85741
|
-
/** Time zone of the location. */
|
|
85742
|
-
time_zone?: string | undefined
|
|
85743
|
-
/** Date and time at which the location object was created. */
|
|
85744
|
-
created_at: string
|
|
85745
|
-
}[]
|
|
85746
|
-
}
|
|
85747
|
-
}
|
|
85748
|
-
'/unstable_locations/remove_acs_entrances': {
|
|
85749
|
-
route: '/unstable_locations/remove_acs_entrances'
|
|
85750
|
-
method: 'POST' | 'DELETE'
|
|
85751
|
-
queryParams: {}
|
|
85752
|
-
jsonBody: {}
|
|
85753
|
-
commonParams: {
|
|
85754
|
-
/** ID of the location from which you want to remove entrances. */
|
|
85755
|
-
location_id: string
|
|
85756
|
-
/** IDs of the entrances that you want to remove from the location. */
|
|
85757
|
-
acs_entrance_ids: string[]
|
|
85758
|
-
}
|
|
85759
|
-
formData: {}
|
|
85760
|
-
jsonResponse: {}
|
|
85761
|
-
}
|
|
85762
|
-
'/unstable_locations/remove_devices': {
|
|
85763
|
-
route: '/unstable_locations/remove_devices'
|
|
85764
|
-
method: 'POST' | 'DELETE'
|
|
85765
|
-
queryParams: {}
|
|
85766
|
-
jsonBody: {}
|
|
85767
|
-
commonParams: {
|
|
85768
|
-
/** ID of the location from which you want to remove devices. */
|
|
85769
|
-
location_id: string
|
|
85770
|
-
/** IDs of the devices that you want to remove from the location. */
|
|
85771
|
-
device_ids: string[]
|
|
85772
|
-
}
|
|
85773
|
-
formData: {}
|
|
85774
|
-
jsonResponse: {}
|
|
85775
|
-
}
|
|
85776
|
-
'/unstable_locations/update': {
|
|
85777
|
-
route: '/unstable_locations/update'
|
|
85778
|
-
method: 'POST' | 'PATCH'
|
|
85779
|
-
queryParams: {}
|
|
85780
|
-
jsonBody: {
|
|
85781
|
-
/** ID of the location that you want to update. */
|
|
85782
|
-
location_id: string
|
|
85783
|
-
/** Name of the location. */
|
|
85784
|
-
name?: string | undefined
|
|
85785
|
-
/** Geolocation of the location. */
|
|
85786
|
-
geolocation?:
|
|
85787
|
-
| {
|
|
85788
|
-
latitude: number
|
|
85789
|
-
longitude: number
|
|
85790
|
-
}
|
|
85791
|
-
| undefined
|
|
85792
|
-
/** Time zone of the the location. */
|
|
85793
|
-
time_zone?: string | undefined
|
|
85794
|
-
}
|
|
85795
|
-
commonParams: {}
|
|
85796
|
-
formData: {}
|
|
85797
|
-
jsonResponse: {
|
|
85798
|
-
/** */
|
|
85799
|
-
location: {
|
|
85800
|
-
/** Unique identifier for the location. */
|
|
85801
|
-
location_id: string
|
|
85802
|
-
/** Unique identifier for the Seam workspace associated with the location. */
|
|
85803
|
-
workspace_id: string
|
|
85804
|
-
/** Name of the location. */
|
|
85805
|
-
name: string
|
|
85806
|
-
/** Display name of the location. */
|
|
85807
|
-
display_name: string
|
|
85808
|
-
/** Geographical location of the location. */
|
|
85809
|
-
geolocation?:
|
|
85810
|
-
| {
|
|
85811
|
-
latitude: number
|
|
85812
|
-
longitude: number
|
|
85813
|
-
}
|
|
85814
|
-
| undefined
|
|
85815
|
-
/** Time zone of the location. */
|
|
85816
|
-
time_zone?: string | undefined
|
|
85817
|
-
/** Date and time at which the location object was created. */
|
|
85818
|
-
created_at: string
|
|
85819
|
-
}
|
|
85820
|
-
}
|
|
85821
|
-
}
|
|
85822
85620
|
'/unstable_partner/building_blocks/connect_accounts': {
|
|
85823
85621
|
route: '/unstable_partner/building_blocks/connect_accounts'
|
|
85824
85622
|
method: 'POST'
|
|
@@ -94595,6 +94393,32 @@ export type Routes = {
|
|
|
94595
94393
|
customer_key?: string | undefined
|
|
94596
94394
|
}[]
|
|
94597
94395
|
| undefined
|
|
94396
|
+
access_methods?:
|
|
94397
|
+
| {
|
|
94398
|
+
/** ID of the Seam workspace associated with the access method. */
|
|
94399
|
+
workspace_id: string
|
|
94400
|
+
/** ID of the access method. */
|
|
94401
|
+
access_method_id: string
|
|
94402
|
+
/** Display name of the access method. */
|
|
94403
|
+
display_name: string
|
|
94404
|
+
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
94405
|
+
mode: 'code' | 'card' | 'mobile_key'
|
|
94406
|
+
/** Date and time at which the access method was created. */
|
|
94407
|
+
created_at: string
|
|
94408
|
+
/** Date and time at which the access method was issued. */
|
|
94409
|
+
issued_at: string | null
|
|
94410
|
+
/** Indicates whether the access method has been issued. */
|
|
94411
|
+
is_issued: boolean
|
|
94412
|
+
/** URL of the Instant Key for mobile key access methods. */
|
|
94413
|
+
instant_key_url?: string | undefined
|
|
94414
|
+
/** Token of the client session associated with the access method. */
|
|
94415
|
+
client_session_token?: string | undefined
|
|
94416
|
+
/** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
|
|
94417
|
+
is_encoding_required?: boolean | undefined
|
|
94418
|
+
/** The actual PIN code for code access methods. */
|
|
94419
|
+
code?: string | undefined
|
|
94420
|
+
}[]
|
|
94421
|
+
| undefined
|
|
94598
94422
|
}
|
|
94599
94423
|
}
|
|
94600
94424
|
}
|
|
@@ -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>
|