@seamapi/types 1.367.0 → 1.367.2
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 +218 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +246 -5
- package/lib/seam/connect/models/acs/acs-system.js +8 -1
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-users/pending-modifications.d.ts +178 -0
- package/lib/seam/connect/models/acs/acs-users/pending-modifications.js +38 -0
- package/lib/seam/connect/models/acs/acs-users/pending-modifications.js.map +1 -1
- package/lib/seam/connect/models/locations/location.d.ts +3 -0
- package/lib/seam/connect/models/locations/location.js +1 -0
- package/lib/seam/connect/models/locations/location.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +225 -0
- package/lib/seam/connect/openapi.js +181 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +21 -5
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-system.ts +10 -1
- package/src/lib/seam/connect/models/acs/acs-users/pending-modifications.ts +47 -0
- package/src/lib/seam/connect/models/locations/location.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +184 -0
- package/src/lib/seam/connect/route-types.ts +21 -5
|
@@ -12,6 +12,7 @@ export declare const geolocation: z.ZodObject<{
|
|
|
12
12
|
export declare const location: z.ZodObject<{
|
|
13
13
|
location_id: z.ZodString;
|
|
14
14
|
workspace_id: z.ZodString;
|
|
15
|
+
name: z.ZodString;
|
|
15
16
|
display_name: z.ZodString;
|
|
16
17
|
geolocation: z.ZodOptional<z.ZodObject<{
|
|
17
18
|
latitude: z.ZodNumber;
|
|
@@ -26,6 +27,7 @@ export declare const location: z.ZodObject<{
|
|
|
26
27
|
time_zone: z.ZodOptional<z.ZodString>;
|
|
27
28
|
created_at: z.ZodString;
|
|
28
29
|
}, "strip", z.ZodTypeAny, {
|
|
30
|
+
name: string;
|
|
29
31
|
display_name: string;
|
|
30
32
|
created_at: string;
|
|
31
33
|
location_id: string;
|
|
@@ -36,6 +38,7 @@ export declare const location: z.ZodObject<{
|
|
|
36
38
|
} | undefined;
|
|
37
39
|
time_zone?: string | undefined;
|
|
38
40
|
}, {
|
|
41
|
+
name: string;
|
|
39
42
|
display_name: string;
|
|
40
43
|
created_at: string;
|
|
41
44
|
location_id: string;
|
|
@@ -12,6 +12,7 @@ export const location = z.object({
|
|
|
12
12
|
.string()
|
|
13
13
|
.uuid()
|
|
14
14
|
.describe('Unique identifier for the Seam workspace associated with the location.'),
|
|
15
|
+
name: z.string().describe('Name of the location.'),
|
|
15
16
|
display_name: z.string().describe('Display name of the location.'),
|
|
16
17
|
geolocation: geolocation
|
|
17
18
|
.optional()
|
|
@@ -1 +1 @@
|
|
|
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,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,CAAA"}
|
|
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,CAAA"}
|
|
@@ -1034,11 +1034,13 @@ declare const _default: {
|
|
|
1034
1034
|
type: string;
|
|
1035
1035
|
};
|
|
1036
1036
|
misconfigured_acs_entrance_ids: {
|
|
1037
|
+
deprecated: boolean;
|
|
1037
1038
|
items: {
|
|
1038
1039
|
format: string;
|
|
1039
1040
|
type: string;
|
|
1040
1041
|
};
|
|
1041
1042
|
type: string;
|
|
1043
|
+
'x-deprecated': string;
|
|
1042
1044
|
};
|
|
1043
1045
|
warning_code: {
|
|
1044
1046
|
description: string;
|
|
@@ -23512,6 +23514,7 @@ declare const _default: {
|
|
|
23512
23514
|
format: string;
|
|
23513
23515
|
type: string;
|
|
23514
23516
|
};
|
|
23517
|
+
minItems: number;
|
|
23515
23518
|
type: string;
|
|
23516
23519
|
};
|
|
23517
23520
|
location_id: {
|
|
@@ -23570,6 +23573,77 @@ declare const _default: {
|
|
|
23570
23573
|
'x-title': string;
|
|
23571
23574
|
'x-undocumented': string;
|
|
23572
23575
|
};
|
|
23576
|
+
put: {
|
|
23577
|
+
description: string;
|
|
23578
|
+
operationId: string;
|
|
23579
|
+
requestBody: {
|
|
23580
|
+
content: {
|
|
23581
|
+
'application/json': {
|
|
23582
|
+
schema: {
|
|
23583
|
+
properties: {
|
|
23584
|
+
device_ids: {
|
|
23585
|
+
items: {
|
|
23586
|
+
format: string;
|
|
23587
|
+
type: string;
|
|
23588
|
+
};
|
|
23589
|
+
minItems: number;
|
|
23590
|
+
type: string;
|
|
23591
|
+
};
|
|
23592
|
+
location_id: {
|
|
23593
|
+
format: string;
|
|
23594
|
+
type: string;
|
|
23595
|
+
};
|
|
23596
|
+
};
|
|
23597
|
+
required: string[];
|
|
23598
|
+
type: string;
|
|
23599
|
+
};
|
|
23600
|
+
};
|
|
23601
|
+
};
|
|
23602
|
+
};
|
|
23603
|
+
responses: {
|
|
23604
|
+
200: {
|
|
23605
|
+
content: {
|
|
23606
|
+
'application/json': {
|
|
23607
|
+
schema: {
|
|
23608
|
+
properties: {
|
|
23609
|
+
ok: {
|
|
23610
|
+
type: string;
|
|
23611
|
+
};
|
|
23612
|
+
};
|
|
23613
|
+
required: string[];
|
|
23614
|
+
type: string;
|
|
23615
|
+
};
|
|
23616
|
+
};
|
|
23617
|
+
};
|
|
23618
|
+
description: string;
|
|
23619
|
+
};
|
|
23620
|
+
400: {
|
|
23621
|
+
description: string;
|
|
23622
|
+
};
|
|
23623
|
+
401: {
|
|
23624
|
+
description: string;
|
|
23625
|
+
};
|
|
23626
|
+
};
|
|
23627
|
+
security: ({
|
|
23628
|
+
pat_with_workspace: never[];
|
|
23629
|
+
console_session_with_workspace?: never;
|
|
23630
|
+
api_key?: never;
|
|
23631
|
+
} | {
|
|
23632
|
+
console_session_with_workspace: never[];
|
|
23633
|
+
pat_with_workspace?: never;
|
|
23634
|
+
api_key?: never;
|
|
23635
|
+
} | {
|
|
23636
|
+
api_key: never[];
|
|
23637
|
+
pat_with_workspace?: never;
|
|
23638
|
+
console_session_with_workspace?: never;
|
|
23639
|
+
})[];
|
|
23640
|
+
summary: string;
|
|
23641
|
+
tags: never[];
|
|
23642
|
+
'x-fern-ignore': boolean;
|
|
23643
|
+
'x-response-key': null;
|
|
23644
|
+
'x-title': string;
|
|
23645
|
+
'x-undocumented': string;
|
|
23646
|
+
};
|
|
23573
23647
|
};
|
|
23574
23648
|
'/unstable_locations/create': {
|
|
23575
23649
|
post: {
|
|
@@ -23644,6 +23718,10 @@ declare const _default: {
|
|
|
23644
23718
|
format: string;
|
|
23645
23719
|
type: string;
|
|
23646
23720
|
};
|
|
23721
|
+
name: {
|
|
23722
|
+
description: string;
|
|
23723
|
+
type: string;
|
|
23724
|
+
};
|
|
23647
23725
|
time_zone: {
|
|
23648
23726
|
description: string;
|
|
23649
23727
|
type: string;
|
|
@@ -23821,6 +23899,10 @@ declare const _default: {
|
|
|
23821
23899
|
format: string;
|
|
23822
23900
|
type: string;
|
|
23823
23901
|
};
|
|
23902
|
+
name: {
|
|
23903
|
+
description: string;
|
|
23904
|
+
type: string;
|
|
23905
|
+
};
|
|
23824
23906
|
time_zone: {
|
|
23825
23907
|
description: string;
|
|
23826
23908
|
type: string;
|
|
@@ -23917,6 +23999,10 @@ declare const _default: {
|
|
|
23917
23999
|
format: string;
|
|
23918
24000
|
type: string;
|
|
23919
24001
|
};
|
|
24002
|
+
name: {
|
|
24003
|
+
description: string;
|
|
24004
|
+
type: string;
|
|
24005
|
+
};
|
|
23920
24006
|
time_zone: {
|
|
23921
24007
|
description: string;
|
|
23922
24008
|
type: string;
|
|
@@ -24011,6 +24097,10 @@ declare const _default: {
|
|
|
24011
24097
|
format: string;
|
|
24012
24098
|
type: string;
|
|
24013
24099
|
};
|
|
24100
|
+
name: {
|
|
24101
|
+
description: string;
|
|
24102
|
+
type: string;
|
|
24103
|
+
};
|
|
24014
24104
|
time_zone: {
|
|
24015
24105
|
description: string;
|
|
24016
24106
|
type: string;
|
|
@@ -24141,6 +24231,137 @@ declare const _default: {
|
|
|
24141
24231
|
};
|
|
24142
24232
|
};
|
|
24143
24233
|
'/unstable_locations/update': {
|
|
24234
|
+
patch: {
|
|
24235
|
+
description: string;
|
|
24236
|
+
operationId: string;
|
|
24237
|
+
requestBody: {
|
|
24238
|
+
content: {
|
|
24239
|
+
'application/json': {
|
|
24240
|
+
schema: {
|
|
24241
|
+
properties: {
|
|
24242
|
+
geolocation: {
|
|
24243
|
+
properties: {
|
|
24244
|
+
latitude: {
|
|
24245
|
+
format: string;
|
|
24246
|
+
type: string;
|
|
24247
|
+
};
|
|
24248
|
+
longitude: {
|
|
24249
|
+
format: string;
|
|
24250
|
+
type: string;
|
|
24251
|
+
};
|
|
24252
|
+
};
|
|
24253
|
+
required: string[];
|
|
24254
|
+
type: string;
|
|
24255
|
+
};
|
|
24256
|
+
location_id: {
|
|
24257
|
+
format: string;
|
|
24258
|
+
type: string;
|
|
24259
|
+
};
|
|
24260
|
+
name: {
|
|
24261
|
+
type: string;
|
|
24262
|
+
};
|
|
24263
|
+
time_zone: {
|
|
24264
|
+
type: string;
|
|
24265
|
+
};
|
|
24266
|
+
};
|
|
24267
|
+
required: string[];
|
|
24268
|
+
type: string;
|
|
24269
|
+
};
|
|
24270
|
+
};
|
|
24271
|
+
};
|
|
24272
|
+
};
|
|
24273
|
+
responses: {
|
|
24274
|
+
200: {
|
|
24275
|
+
content: {
|
|
24276
|
+
'application/json': {
|
|
24277
|
+
schema: {
|
|
24278
|
+
properties: {
|
|
24279
|
+
location: {
|
|
24280
|
+
properties: {
|
|
24281
|
+
created_at: {
|
|
24282
|
+
description: string;
|
|
24283
|
+
format: string;
|
|
24284
|
+
type: string;
|
|
24285
|
+
};
|
|
24286
|
+
display_name: {
|
|
24287
|
+
description: string;
|
|
24288
|
+
type: string;
|
|
24289
|
+
};
|
|
24290
|
+
geolocation: {
|
|
24291
|
+
description: string;
|
|
24292
|
+
properties: {
|
|
24293
|
+
latitude: {
|
|
24294
|
+
format: string;
|
|
24295
|
+
type: string;
|
|
24296
|
+
};
|
|
24297
|
+
longitude: {
|
|
24298
|
+
format: string;
|
|
24299
|
+
type: string;
|
|
24300
|
+
};
|
|
24301
|
+
};
|
|
24302
|
+
required: string[];
|
|
24303
|
+
type: string;
|
|
24304
|
+
};
|
|
24305
|
+
location_id: {
|
|
24306
|
+
description: string;
|
|
24307
|
+
format: string;
|
|
24308
|
+
type: string;
|
|
24309
|
+
};
|
|
24310
|
+
name: {
|
|
24311
|
+
description: string;
|
|
24312
|
+
type: string;
|
|
24313
|
+
};
|
|
24314
|
+
time_zone: {
|
|
24315
|
+
description: string;
|
|
24316
|
+
type: string;
|
|
24317
|
+
};
|
|
24318
|
+
workspace_id: {
|
|
24319
|
+
description: string;
|
|
24320
|
+
format: string;
|
|
24321
|
+
type: string;
|
|
24322
|
+
};
|
|
24323
|
+
};
|
|
24324
|
+
required: string[];
|
|
24325
|
+
type: string;
|
|
24326
|
+
};
|
|
24327
|
+
ok: {
|
|
24328
|
+
type: string;
|
|
24329
|
+
};
|
|
24330
|
+
};
|
|
24331
|
+
required: string[];
|
|
24332
|
+
type: string;
|
|
24333
|
+
};
|
|
24334
|
+
};
|
|
24335
|
+
};
|
|
24336
|
+
description: string;
|
|
24337
|
+
};
|
|
24338
|
+
400: {
|
|
24339
|
+
description: string;
|
|
24340
|
+
};
|
|
24341
|
+
401: {
|
|
24342
|
+
description: string;
|
|
24343
|
+
};
|
|
24344
|
+
};
|
|
24345
|
+
security: ({
|
|
24346
|
+
pat_with_workspace: never[];
|
|
24347
|
+
console_session_with_workspace?: never;
|
|
24348
|
+
api_key?: never;
|
|
24349
|
+
} | {
|
|
24350
|
+
console_session_with_workspace: never[];
|
|
24351
|
+
pat_with_workspace?: never;
|
|
24352
|
+
api_key?: never;
|
|
24353
|
+
} | {
|
|
24354
|
+
api_key: never[];
|
|
24355
|
+
pat_with_workspace?: never;
|
|
24356
|
+
console_session_with_workspace?: never;
|
|
24357
|
+
})[];
|
|
24358
|
+
summary: string;
|
|
24359
|
+
tags: never[];
|
|
24360
|
+
'x-fern-ignore': boolean;
|
|
24361
|
+
'x-response-key': string;
|
|
24362
|
+
'x-title': string;
|
|
24363
|
+
'x-undocumented': string;
|
|
24364
|
+
};
|
|
24144
24365
|
post: {
|
|
24145
24366
|
description: string;
|
|
24146
24367
|
operationId: string;
|
|
@@ -24217,6 +24438,10 @@ declare const _default: {
|
|
|
24217
24438
|
format: string;
|
|
24218
24439
|
type: string;
|
|
24219
24440
|
};
|
|
24441
|
+
name: {
|
|
24442
|
+
description: string;
|
|
24443
|
+
type: string;
|
|
24444
|
+
};
|
|
24220
24445
|
time_zone: {
|
|
24221
24446
|
description: string;
|
|
24222
24447
|
type: string;
|
|
@@ -1951,8 +1951,10 @@ export default {
|
|
|
1951
1951
|
type: 'string',
|
|
1952
1952
|
},
|
|
1953
1953
|
misconfigured_acs_entrance_ids: {
|
|
1954
|
+
deprecated: true,
|
|
1954
1955
|
items: { format: 'uuid', type: 'string' },
|
|
1955
1956
|
type: 'array',
|
|
1957
|
+
'x-deprecated': 'this field is deprecated.',
|
|
1956
1958
|
},
|
|
1957
1959
|
warning_code: {
|
|
1958
1960
|
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
@@ -26490,6 +26492,7 @@ export default {
|
|
|
26490
26492
|
properties: {
|
|
26491
26493
|
device_ids: {
|
|
26492
26494
|
items: { format: 'uuid', type: 'string' },
|
|
26495
|
+
minItems: 1,
|
|
26493
26496
|
type: 'array',
|
|
26494
26497
|
},
|
|
26495
26498
|
location_id: { format: 'uuid', type: 'string' },
|
|
@@ -26529,6 +26532,55 @@ export default {
|
|
|
26529
26532
|
'x-title': 'Add Location Devices',
|
|
26530
26533
|
'x-undocumented': 'Experimental locations.',
|
|
26531
26534
|
},
|
|
26535
|
+
put: {
|
|
26536
|
+
description: 'Add devices to a specific location. If a device already belongs to a location it will be moved.',
|
|
26537
|
+
operationId: 'unstableLocationsAddDevicesPut',
|
|
26538
|
+
requestBody: {
|
|
26539
|
+
content: {
|
|
26540
|
+
'application/json': {
|
|
26541
|
+
schema: {
|
|
26542
|
+
properties: {
|
|
26543
|
+
device_ids: {
|
|
26544
|
+
items: { format: 'uuid', type: 'string' },
|
|
26545
|
+
minItems: 1,
|
|
26546
|
+
type: 'array',
|
|
26547
|
+
},
|
|
26548
|
+
location_id: { format: 'uuid', type: 'string' },
|
|
26549
|
+
},
|
|
26550
|
+
required: ['location_id', 'device_ids'],
|
|
26551
|
+
type: 'object',
|
|
26552
|
+
},
|
|
26553
|
+
},
|
|
26554
|
+
},
|
|
26555
|
+
},
|
|
26556
|
+
responses: {
|
|
26557
|
+
200: {
|
|
26558
|
+
content: {
|
|
26559
|
+
'application/json': {
|
|
26560
|
+
schema: {
|
|
26561
|
+
properties: { ok: { type: 'boolean' } },
|
|
26562
|
+
required: ['ok'],
|
|
26563
|
+
type: 'object',
|
|
26564
|
+
},
|
|
26565
|
+
},
|
|
26566
|
+
},
|
|
26567
|
+
description: 'OK',
|
|
26568
|
+
},
|
|
26569
|
+
400: { description: 'Bad Request' },
|
|
26570
|
+
401: { description: 'Unauthorized' },
|
|
26571
|
+
},
|
|
26572
|
+
security: [
|
|
26573
|
+
{ pat_with_workspace: [] },
|
|
26574
|
+
{ console_session_with_workspace: [] },
|
|
26575
|
+
{ api_key: [] },
|
|
26576
|
+
],
|
|
26577
|
+
summary: '/unstable_locations/add_devices',
|
|
26578
|
+
tags: [],
|
|
26579
|
+
'x-fern-ignore': true,
|
|
26580
|
+
'x-response-key': null,
|
|
26581
|
+
'x-title': 'Add Location Devices',
|
|
26582
|
+
'x-undocumented': 'Experimental locations.',
|
|
26583
|
+
},
|
|
26532
26584
|
},
|
|
26533
26585
|
'/unstable_locations/create': {
|
|
26534
26586
|
post: {
|
|
@@ -26587,6 +26639,10 @@ export default {
|
|
|
26587
26639
|
format: 'uuid',
|
|
26588
26640
|
type: 'string',
|
|
26589
26641
|
},
|
|
26642
|
+
name: {
|
|
26643
|
+
description: 'Name of the location.',
|
|
26644
|
+
type: 'string',
|
|
26645
|
+
},
|
|
26590
26646
|
time_zone: {
|
|
26591
26647
|
description: 'Time zone of the location.',
|
|
26592
26648
|
type: 'string',
|
|
@@ -26600,6 +26656,7 @@ export default {
|
|
|
26600
26656
|
required: [
|
|
26601
26657
|
'location_id',
|
|
26602
26658
|
'workspace_id',
|
|
26659
|
+
'name',
|
|
26603
26660
|
'display_name',
|
|
26604
26661
|
'created_at',
|
|
26605
26662
|
],
|
|
@@ -26723,6 +26780,10 @@ export default {
|
|
|
26723
26780
|
format: 'uuid',
|
|
26724
26781
|
type: 'string',
|
|
26725
26782
|
},
|
|
26783
|
+
name: {
|
|
26784
|
+
description: 'Name of the location.',
|
|
26785
|
+
type: 'string',
|
|
26786
|
+
},
|
|
26726
26787
|
time_zone: {
|
|
26727
26788
|
description: 'Time zone of the location.',
|
|
26728
26789
|
type: 'string',
|
|
@@ -26736,6 +26797,7 @@ export default {
|
|
|
26736
26797
|
required: [
|
|
26737
26798
|
'location_id',
|
|
26738
26799
|
'workspace_id',
|
|
26800
|
+
'name',
|
|
26739
26801
|
'display_name',
|
|
26740
26802
|
'created_at',
|
|
26741
26803
|
],
|
|
@@ -26804,6 +26866,10 @@ export default {
|
|
|
26804
26866
|
format: 'uuid',
|
|
26805
26867
|
type: 'string',
|
|
26806
26868
|
},
|
|
26869
|
+
name: {
|
|
26870
|
+
description: 'Name of the location.',
|
|
26871
|
+
type: 'string',
|
|
26872
|
+
},
|
|
26807
26873
|
time_zone: {
|
|
26808
26874
|
description: 'Time zone of the location.',
|
|
26809
26875
|
type: 'string',
|
|
@@ -26817,6 +26883,7 @@ export default {
|
|
|
26817
26883
|
required: [
|
|
26818
26884
|
'location_id',
|
|
26819
26885
|
'workspace_id',
|
|
26886
|
+
'name',
|
|
26820
26887
|
'display_name',
|
|
26821
26888
|
'created_at',
|
|
26822
26889
|
],
|
|
@@ -26883,6 +26950,10 @@ export default {
|
|
|
26883
26950
|
format: 'uuid',
|
|
26884
26951
|
type: 'string',
|
|
26885
26952
|
},
|
|
26953
|
+
name: {
|
|
26954
|
+
description: 'Name of the location.',
|
|
26955
|
+
type: 'string',
|
|
26956
|
+
},
|
|
26886
26957
|
time_zone: {
|
|
26887
26958
|
description: 'Time zone of the location.',
|
|
26888
26959
|
type: 'string',
|
|
@@ -26896,6 +26967,7 @@ export default {
|
|
|
26896
26967
|
required: [
|
|
26897
26968
|
'location_id',
|
|
26898
26969
|
'workspace_id',
|
|
26970
|
+
'name',
|
|
26899
26971
|
'display_name',
|
|
26900
26972
|
'created_at',
|
|
26901
26973
|
],
|
|
@@ -26982,6 +27054,110 @@ export default {
|
|
|
26982
27054
|
},
|
|
26983
27055
|
},
|
|
26984
27056
|
'/unstable_locations/update': {
|
|
27057
|
+
patch: {
|
|
27058
|
+
description: 'Update an existing location.',
|
|
27059
|
+
operationId: 'unstableLocationsUpdatePatch',
|
|
27060
|
+
requestBody: {
|
|
27061
|
+
content: {
|
|
27062
|
+
'application/json': {
|
|
27063
|
+
schema: {
|
|
27064
|
+
properties: {
|
|
27065
|
+
geolocation: {
|
|
27066
|
+
properties: {
|
|
27067
|
+
latitude: { format: 'float', type: 'number' },
|
|
27068
|
+
longitude: { format: 'float', type: 'number' },
|
|
27069
|
+
},
|
|
27070
|
+
required: ['latitude', 'longitude'],
|
|
27071
|
+
type: 'object',
|
|
27072
|
+
},
|
|
27073
|
+
location_id: { format: 'uuid', type: 'string' },
|
|
27074
|
+
name: { type: 'string' },
|
|
27075
|
+
time_zone: { type: 'string' },
|
|
27076
|
+
},
|
|
27077
|
+
required: ['location_id'],
|
|
27078
|
+
type: 'object',
|
|
27079
|
+
},
|
|
27080
|
+
},
|
|
27081
|
+
},
|
|
27082
|
+
},
|
|
27083
|
+
responses: {
|
|
27084
|
+
200: {
|
|
27085
|
+
content: {
|
|
27086
|
+
'application/json': {
|
|
27087
|
+
schema: {
|
|
27088
|
+
properties: {
|
|
27089
|
+
location: {
|
|
27090
|
+
properties: {
|
|
27091
|
+
created_at: {
|
|
27092
|
+
description: 'Date and time at which the location object was created.',
|
|
27093
|
+
format: 'date-time',
|
|
27094
|
+
type: 'string',
|
|
27095
|
+
},
|
|
27096
|
+
display_name: {
|
|
27097
|
+
description: 'Display name of the location.',
|
|
27098
|
+
type: 'string',
|
|
27099
|
+
},
|
|
27100
|
+
geolocation: {
|
|
27101
|
+
description: 'Geographical location of the location.',
|
|
27102
|
+
properties: {
|
|
27103
|
+
latitude: { format: 'float', type: 'number' },
|
|
27104
|
+
longitude: { format: 'float', type: 'number' },
|
|
27105
|
+
},
|
|
27106
|
+
required: ['latitude', 'longitude'],
|
|
27107
|
+
type: 'object',
|
|
27108
|
+
},
|
|
27109
|
+
location_id: {
|
|
27110
|
+
description: 'Unique identifier for the location.',
|
|
27111
|
+
format: 'uuid',
|
|
27112
|
+
type: 'string',
|
|
27113
|
+
},
|
|
27114
|
+
name: {
|
|
27115
|
+
description: 'Name of the location.',
|
|
27116
|
+
type: 'string',
|
|
27117
|
+
},
|
|
27118
|
+
time_zone: {
|
|
27119
|
+
description: 'Time zone of the location.',
|
|
27120
|
+
type: 'string',
|
|
27121
|
+
},
|
|
27122
|
+
workspace_id: {
|
|
27123
|
+
description: 'Unique identifier for the Seam workspace associated with the location.',
|
|
27124
|
+
format: 'uuid',
|
|
27125
|
+
type: 'string',
|
|
27126
|
+
},
|
|
27127
|
+
},
|
|
27128
|
+
required: [
|
|
27129
|
+
'location_id',
|
|
27130
|
+
'workspace_id',
|
|
27131
|
+
'name',
|
|
27132
|
+
'display_name',
|
|
27133
|
+
'created_at',
|
|
27134
|
+
],
|
|
27135
|
+
type: 'object',
|
|
27136
|
+
},
|
|
27137
|
+
ok: { type: 'boolean' },
|
|
27138
|
+
},
|
|
27139
|
+
required: ['location', 'ok'],
|
|
27140
|
+
type: 'object',
|
|
27141
|
+
},
|
|
27142
|
+
},
|
|
27143
|
+
},
|
|
27144
|
+
description: 'OK',
|
|
27145
|
+
},
|
|
27146
|
+
400: { description: 'Bad Request' },
|
|
27147
|
+
401: { description: 'Unauthorized' },
|
|
27148
|
+
},
|
|
27149
|
+
security: [
|
|
27150
|
+
{ pat_with_workspace: [] },
|
|
27151
|
+
{ console_session_with_workspace: [] },
|
|
27152
|
+
{ api_key: [] },
|
|
27153
|
+
],
|
|
27154
|
+
summary: '/unstable_locations/update',
|
|
27155
|
+
tags: [],
|
|
27156
|
+
'x-fern-ignore': true,
|
|
27157
|
+
'x-response-key': 'location',
|
|
27158
|
+
'x-title': 'Update Location',
|
|
27159
|
+
'x-undocumented': 'Experimental locations.',
|
|
27160
|
+
},
|
|
26985
27161
|
post: {
|
|
26986
27162
|
description: 'Update an existing location.',
|
|
26987
27163
|
operationId: 'unstableLocationsUpdatePost',
|
|
@@ -27039,6 +27215,10 @@ export default {
|
|
|
27039
27215
|
format: 'uuid',
|
|
27040
27216
|
type: 'string',
|
|
27041
27217
|
},
|
|
27218
|
+
name: {
|
|
27219
|
+
description: 'Name of the location.',
|
|
27220
|
+
type: 'string',
|
|
27221
|
+
},
|
|
27042
27222
|
time_zone: {
|
|
27043
27223
|
description: 'Time zone of the location.',
|
|
27044
27224
|
type: 'string',
|
|
@@ -27052,6 +27232,7 @@ export default {
|
|
|
27052
27232
|
required: [
|
|
27053
27233
|
'location_id',
|
|
27054
27234
|
'workspace_id',
|
|
27235
|
+
'name',
|
|
27055
27236
|
'display_name',
|
|
27056
27237
|
'created_at',
|
|
27057
27238
|
],
|