@seamapi/types 1.367.0 → 1.367.1

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.
@@ -42774,6 +42774,7 @@ declare const _default: {
42774
42774
  format: string;
42775
42775
  type: string;
42776
42776
  };
42777
+ minItems: number;
42777
42778
  type: string;
42778
42779
  };
42779
42780
  location_id: {
@@ -42832,6 +42833,77 @@ declare const _default: {
42832
42833
  'x-title': string;
42833
42834
  'x-undocumented': string;
42834
42835
  };
42836
+ put: {
42837
+ description: string;
42838
+ operationId: string;
42839
+ requestBody: {
42840
+ content: {
42841
+ 'application/json': {
42842
+ schema: {
42843
+ properties: {
42844
+ device_ids: {
42845
+ items: {
42846
+ format: string;
42847
+ type: string;
42848
+ };
42849
+ minItems: number;
42850
+ type: string;
42851
+ };
42852
+ location_id: {
42853
+ format: string;
42854
+ type: string;
42855
+ };
42856
+ };
42857
+ required: string[];
42858
+ type: string;
42859
+ };
42860
+ };
42861
+ };
42862
+ };
42863
+ responses: {
42864
+ 200: {
42865
+ content: {
42866
+ 'application/json': {
42867
+ schema: {
42868
+ properties: {
42869
+ ok: {
42870
+ type: string;
42871
+ };
42872
+ };
42873
+ required: string[];
42874
+ type: string;
42875
+ };
42876
+ };
42877
+ };
42878
+ description: string;
42879
+ };
42880
+ 400: {
42881
+ description: string;
42882
+ };
42883
+ 401: {
42884
+ description: string;
42885
+ };
42886
+ };
42887
+ security: ({
42888
+ pat_with_workspace: never[];
42889
+ console_session_with_workspace?: never;
42890
+ api_key?: never;
42891
+ } | {
42892
+ console_session_with_workspace: never[];
42893
+ pat_with_workspace?: never;
42894
+ api_key?: never;
42895
+ } | {
42896
+ api_key: never[];
42897
+ pat_with_workspace?: never;
42898
+ console_session_with_workspace?: never;
42899
+ })[];
42900
+ summary: string;
42901
+ tags: never[];
42902
+ 'x-fern-ignore': boolean;
42903
+ 'x-response-key': null;
42904
+ 'x-title': string;
42905
+ 'x-undocumented': string;
42906
+ };
42835
42907
  };
42836
42908
  '/unstable_locations/create': {
42837
42909
  post: {
@@ -42906,6 +42978,10 @@ declare const _default: {
42906
42978
  format: string;
42907
42979
  type: string;
42908
42980
  };
42981
+ name: {
42982
+ description: string;
42983
+ type: string;
42984
+ };
42909
42985
  time_zone: {
42910
42986
  description: string;
42911
42987
  type: string;
@@ -43083,6 +43159,10 @@ declare const _default: {
43083
43159
  format: string;
43084
43160
  type: string;
43085
43161
  };
43162
+ name: {
43163
+ description: string;
43164
+ type: string;
43165
+ };
43086
43166
  time_zone: {
43087
43167
  description: string;
43088
43168
  type: string;
@@ -43179,6 +43259,10 @@ declare const _default: {
43179
43259
  format: string;
43180
43260
  type: string;
43181
43261
  };
43262
+ name: {
43263
+ description: string;
43264
+ type: string;
43265
+ };
43182
43266
  time_zone: {
43183
43267
  description: string;
43184
43268
  type: string;
@@ -43273,6 +43357,10 @@ declare const _default: {
43273
43357
  format: string;
43274
43358
  type: string;
43275
43359
  };
43360
+ name: {
43361
+ description: string;
43362
+ type: string;
43363
+ };
43276
43364
  time_zone: {
43277
43365
  description: string;
43278
43366
  type: string;
@@ -43403,6 +43491,137 @@ declare const _default: {
43403
43491
  };
43404
43492
  };
43405
43493
  '/unstable_locations/update': {
43494
+ patch: {
43495
+ description: string;
43496
+ operationId: string;
43497
+ requestBody: {
43498
+ content: {
43499
+ 'application/json': {
43500
+ schema: {
43501
+ properties: {
43502
+ geolocation: {
43503
+ properties: {
43504
+ latitude: {
43505
+ format: string;
43506
+ type: string;
43507
+ };
43508
+ longitude: {
43509
+ format: string;
43510
+ type: string;
43511
+ };
43512
+ };
43513
+ required: string[];
43514
+ type: string;
43515
+ };
43516
+ location_id: {
43517
+ format: string;
43518
+ type: string;
43519
+ };
43520
+ name: {
43521
+ type: string;
43522
+ };
43523
+ time_zone: {
43524
+ type: string;
43525
+ };
43526
+ };
43527
+ required: string[];
43528
+ type: string;
43529
+ };
43530
+ };
43531
+ };
43532
+ };
43533
+ responses: {
43534
+ 200: {
43535
+ content: {
43536
+ 'application/json': {
43537
+ schema: {
43538
+ properties: {
43539
+ location: {
43540
+ properties: {
43541
+ created_at: {
43542
+ description: string;
43543
+ format: string;
43544
+ type: string;
43545
+ };
43546
+ display_name: {
43547
+ description: string;
43548
+ type: string;
43549
+ };
43550
+ geolocation: {
43551
+ description: string;
43552
+ properties: {
43553
+ latitude: {
43554
+ format: string;
43555
+ type: string;
43556
+ };
43557
+ longitude: {
43558
+ format: string;
43559
+ type: string;
43560
+ };
43561
+ };
43562
+ required: string[];
43563
+ type: string;
43564
+ };
43565
+ location_id: {
43566
+ description: string;
43567
+ format: string;
43568
+ type: string;
43569
+ };
43570
+ name: {
43571
+ description: string;
43572
+ type: string;
43573
+ };
43574
+ time_zone: {
43575
+ description: string;
43576
+ type: string;
43577
+ };
43578
+ workspace_id: {
43579
+ description: string;
43580
+ format: string;
43581
+ type: string;
43582
+ };
43583
+ };
43584
+ required: string[];
43585
+ type: string;
43586
+ };
43587
+ ok: {
43588
+ type: string;
43589
+ };
43590
+ };
43591
+ required: string[];
43592
+ type: string;
43593
+ };
43594
+ };
43595
+ };
43596
+ description: string;
43597
+ };
43598
+ 400: {
43599
+ description: string;
43600
+ };
43601
+ 401: {
43602
+ description: string;
43603
+ };
43604
+ };
43605
+ security: ({
43606
+ pat_with_workspace: never[];
43607
+ console_session_with_workspace?: never;
43608
+ api_key?: never;
43609
+ } | {
43610
+ console_session_with_workspace: never[];
43611
+ pat_with_workspace?: never;
43612
+ api_key?: never;
43613
+ } | {
43614
+ api_key: never[];
43615
+ pat_with_workspace?: never;
43616
+ console_session_with_workspace?: never;
43617
+ })[];
43618
+ summary: string;
43619
+ tags: never[];
43620
+ 'x-fern-ignore': boolean;
43621
+ 'x-response-key': string;
43622
+ 'x-title': string;
43623
+ 'x-undocumented': string;
43624
+ };
43406
43625
  post: {
43407
43626
  description: string;
43408
43627
  operationId: string;
@@ -43479,6 +43698,10 @@ declare const _default: {
43479
43698
  format: string;
43480
43699
  type: string;
43481
43700
  };
43701
+ name: {
43702
+ description: string;
43703
+ type: string;
43704
+ };
43482
43705
  time_zone: {
43483
43706
  description: string;
43484
43707
  type: string;
@@ -82936,7 +83159,7 @@ interface Routes {
82936
83159
  };
82937
83160
  '/unstable_locations/add_devices': {
82938
83161
  route: '/unstable_locations/add_devices';
82939
- method: 'POST';
83162
+ method: 'POST' | 'PUT';
82940
83163
  queryParams: {};
82941
83164
  jsonBody: {
82942
83165
  location_id: string;
@@ -82966,6 +83189,8 @@ interface Routes {
82966
83189
  location_id: string;
82967
83190
  /** Unique identifier for the Seam workspace associated with the location. */
82968
83191
  workspace_id: string;
83192
+ /** Name of the location. */
83193
+ name: string;
82969
83194
  /** Display name of the location. */
82970
83195
  display_name: string;
82971
83196
  /** Geographical location of the location. */
@@ -83006,6 +83231,8 @@ interface Routes {
83006
83231
  location_id: string;
83007
83232
  /** Unique identifier for the Seam workspace associated with the location. */
83008
83233
  workspace_id: string;
83234
+ /** Name of the location. */
83235
+ name: string;
83009
83236
  /** Display name of the location. */
83010
83237
  display_name: string;
83011
83238
  /** Geographical location of the location. */
@@ -83033,6 +83260,8 @@ interface Routes {
83033
83260
  location_id: string;
83034
83261
  /** Unique identifier for the Seam workspace associated with the location. */
83035
83262
  workspace_id: string;
83263
+ /** Name of the location. */
83264
+ name: string;
83036
83265
  /** Display name of the location. */
83037
83266
  display_name: string;
83038
83267
  /** Geographical location of the location. */
@@ -83049,19 +83278,19 @@ interface Routes {
83049
83278
  };
83050
83279
  '/unstable_locations/remove_devices': {
83051
83280
  route: '/unstable_locations/remove_devices';
83052
- method: 'POST';
83281
+ method: 'POST' | 'DELETE';
83053
83282
  queryParams: {};
83054
- jsonBody: {
83283
+ jsonBody: {};
83284
+ commonParams: {
83055
83285
  location_id: string;
83056
83286
  device_ids: string[];
83057
83287
  };
83058
- commonParams: {};
83059
83288
  formData: {};
83060
83289
  jsonResponse: {};
83061
83290
  };
83062
83291
  '/unstable_locations/update': {
83063
83292
  route: '/unstable_locations/update';
83064
- method: 'POST';
83293
+ method: 'POST' | 'PATCH';
83065
83294
  queryParams: {};
83066
83295
  jsonBody: {
83067
83296
  location_id: string;
@@ -83080,6 +83309,8 @@ interface Routes {
83080
83309
  location_id: string;
83081
83310
  /** Unique identifier for the Seam workspace associated with the location. */
83082
83311
  workspace_id: string;
83312
+ /** Name of the location. */
83313
+ name: string;
83083
83314
  /** Display name of the location. */
83084
83315
  display_name: string;
83085
83316
  /** Geographical location of the location. */
@@ -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"}
@@ -23512,6 +23512,7 @@ declare const _default: {
23512
23512
  format: string;
23513
23513
  type: string;
23514
23514
  };
23515
+ minItems: number;
23515
23516
  type: string;
23516
23517
  };
23517
23518
  location_id: {
@@ -23570,6 +23571,77 @@ declare const _default: {
23570
23571
  'x-title': string;
23571
23572
  'x-undocumented': string;
23572
23573
  };
23574
+ put: {
23575
+ description: string;
23576
+ operationId: string;
23577
+ requestBody: {
23578
+ content: {
23579
+ 'application/json': {
23580
+ schema: {
23581
+ properties: {
23582
+ device_ids: {
23583
+ items: {
23584
+ format: string;
23585
+ type: string;
23586
+ };
23587
+ minItems: number;
23588
+ type: string;
23589
+ };
23590
+ location_id: {
23591
+ format: string;
23592
+ type: string;
23593
+ };
23594
+ };
23595
+ required: string[];
23596
+ type: string;
23597
+ };
23598
+ };
23599
+ };
23600
+ };
23601
+ responses: {
23602
+ 200: {
23603
+ content: {
23604
+ 'application/json': {
23605
+ schema: {
23606
+ properties: {
23607
+ ok: {
23608
+ type: string;
23609
+ };
23610
+ };
23611
+ required: string[];
23612
+ type: string;
23613
+ };
23614
+ };
23615
+ };
23616
+ description: string;
23617
+ };
23618
+ 400: {
23619
+ description: string;
23620
+ };
23621
+ 401: {
23622
+ description: string;
23623
+ };
23624
+ };
23625
+ security: ({
23626
+ pat_with_workspace: never[];
23627
+ console_session_with_workspace?: never;
23628
+ api_key?: never;
23629
+ } | {
23630
+ console_session_with_workspace: never[];
23631
+ pat_with_workspace?: never;
23632
+ api_key?: never;
23633
+ } | {
23634
+ api_key: never[];
23635
+ pat_with_workspace?: never;
23636
+ console_session_with_workspace?: never;
23637
+ })[];
23638
+ summary: string;
23639
+ tags: never[];
23640
+ 'x-fern-ignore': boolean;
23641
+ 'x-response-key': null;
23642
+ 'x-title': string;
23643
+ 'x-undocumented': string;
23644
+ };
23573
23645
  };
23574
23646
  '/unstable_locations/create': {
23575
23647
  post: {
@@ -23644,6 +23716,10 @@ declare const _default: {
23644
23716
  format: string;
23645
23717
  type: string;
23646
23718
  };
23719
+ name: {
23720
+ description: string;
23721
+ type: string;
23722
+ };
23647
23723
  time_zone: {
23648
23724
  description: string;
23649
23725
  type: string;
@@ -23821,6 +23897,10 @@ declare const _default: {
23821
23897
  format: string;
23822
23898
  type: string;
23823
23899
  };
23900
+ name: {
23901
+ description: string;
23902
+ type: string;
23903
+ };
23824
23904
  time_zone: {
23825
23905
  description: string;
23826
23906
  type: string;
@@ -23917,6 +23997,10 @@ declare const _default: {
23917
23997
  format: string;
23918
23998
  type: string;
23919
23999
  };
24000
+ name: {
24001
+ description: string;
24002
+ type: string;
24003
+ };
23920
24004
  time_zone: {
23921
24005
  description: string;
23922
24006
  type: string;
@@ -24011,6 +24095,10 @@ declare const _default: {
24011
24095
  format: string;
24012
24096
  type: string;
24013
24097
  };
24098
+ name: {
24099
+ description: string;
24100
+ type: string;
24101
+ };
24014
24102
  time_zone: {
24015
24103
  description: string;
24016
24104
  type: string;
@@ -24141,6 +24229,137 @@ declare const _default: {
24141
24229
  };
24142
24230
  };
24143
24231
  '/unstable_locations/update': {
24232
+ patch: {
24233
+ description: string;
24234
+ operationId: string;
24235
+ requestBody: {
24236
+ content: {
24237
+ 'application/json': {
24238
+ schema: {
24239
+ properties: {
24240
+ geolocation: {
24241
+ properties: {
24242
+ latitude: {
24243
+ format: string;
24244
+ type: string;
24245
+ };
24246
+ longitude: {
24247
+ format: string;
24248
+ type: string;
24249
+ };
24250
+ };
24251
+ required: string[];
24252
+ type: string;
24253
+ };
24254
+ location_id: {
24255
+ format: string;
24256
+ type: string;
24257
+ };
24258
+ name: {
24259
+ type: string;
24260
+ };
24261
+ time_zone: {
24262
+ type: string;
24263
+ };
24264
+ };
24265
+ required: string[];
24266
+ type: string;
24267
+ };
24268
+ };
24269
+ };
24270
+ };
24271
+ responses: {
24272
+ 200: {
24273
+ content: {
24274
+ 'application/json': {
24275
+ schema: {
24276
+ properties: {
24277
+ location: {
24278
+ properties: {
24279
+ created_at: {
24280
+ description: string;
24281
+ format: string;
24282
+ type: string;
24283
+ };
24284
+ display_name: {
24285
+ description: string;
24286
+ type: string;
24287
+ };
24288
+ geolocation: {
24289
+ description: string;
24290
+ properties: {
24291
+ latitude: {
24292
+ format: string;
24293
+ type: string;
24294
+ };
24295
+ longitude: {
24296
+ format: string;
24297
+ type: string;
24298
+ };
24299
+ };
24300
+ required: string[];
24301
+ type: string;
24302
+ };
24303
+ location_id: {
24304
+ description: string;
24305
+ format: string;
24306
+ type: string;
24307
+ };
24308
+ name: {
24309
+ description: string;
24310
+ type: string;
24311
+ };
24312
+ time_zone: {
24313
+ description: string;
24314
+ type: string;
24315
+ };
24316
+ workspace_id: {
24317
+ description: string;
24318
+ format: string;
24319
+ type: string;
24320
+ };
24321
+ };
24322
+ required: string[];
24323
+ type: string;
24324
+ };
24325
+ ok: {
24326
+ type: string;
24327
+ };
24328
+ };
24329
+ required: string[];
24330
+ type: string;
24331
+ };
24332
+ };
24333
+ };
24334
+ description: string;
24335
+ };
24336
+ 400: {
24337
+ description: string;
24338
+ };
24339
+ 401: {
24340
+ description: string;
24341
+ };
24342
+ };
24343
+ security: ({
24344
+ pat_with_workspace: never[];
24345
+ console_session_with_workspace?: never;
24346
+ api_key?: never;
24347
+ } | {
24348
+ console_session_with_workspace: never[];
24349
+ pat_with_workspace?: never;
24350
+ api_key?: never;
24351
+ } | {
24352
+ api_key: never[];
24353
+ pat_with_workspace?: never;
24354
+ console_session_with_workspace?: never;
24355
+ })[];
24356
+ summary: string;
24357
+ tags: never[];
24358
+ 'x-fern-ignore': boolean;
24359
+ 'x-response-key': string;
24360
+ 'x-title': string;
24361
+ 'x-undocumented': string;
24362
+ };
24144
24363
  post: {
24145
24364
  description: string;
24146
24365
  operationId: string;
@@ -24217,6 +24436,10 @@ declare const _default: {
24217
24436
  format: string;
24218
24437
  type: string;
24219
24438
  };
24439
+ name: {
24440
+ description: string;
24441
+ type: string;
24442
+ };
24220
24443
  time_zone: {
24221
24444
  description: string;
24222
24445
  type: string;