@seamapi/types 1.661.0 → 1.663.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.
@@ -5574,10 +5574,13 @@ declare const acs_user: z.ZodObject<{
5574
5574
  last_successful_sync_at: z.ZodNullable<z.ZodString>;
5575
5575
  connected_account_id: z.ZodString;
5576
5576
  salto_space_metadata: z.ZodOptional<z.ZodObject<{
5577
+ user_id: z.ZodOptional<z.ZodString>;
5577
5578
  audit_openings: z.ZodOptional<z.ZodBoolean>;
5578
5579
  }, "strip", z.ZodTypeAny, {
5580
+ user_id?: string | undefined;
5579
5581
  audit_openings?: boolean | undefined;
5580
5582
  }, {
5583
+ user_id?: string | undefined;
5581
5584
  audit_openings?: boolean | undefined;
5582
5585
  }>>;
5583
5586
  } & {
@@ -5643,6 +5646,7 @@ declare const acs_user: z.ZodObject<{
5643
5646
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
5644
5647
  external_type_display_name?: string | undefined;
5645
5648
  salto_space_metadata?: {
5649
+ user_id?: string | undefined;
5646
5650
  audit_openings?: boolean | undefined;
5647
5651
  } | undefined;
5648
5652
  email_address?: string | undefined;
@@ -5773,6 +5777,7 @@ declare const acs_user: z.ZodObject<{
5773
5777
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
5774
5778
  external_type_display_name?: string | undefined;
5775
5779
  salto_space_metadata?: {
5780
+ user_id?: string | undefined;
5776
5781
  audit_openings?: boolean | undefined;
5777
5782
  } | undefined;
5778
5783
  email_address?: string | undefined;
@@ -6236,10 +6241,13 @@ declare const unmanaged_acs_user: z.ZodObject<{
6236
6241
  last_successful_sync_at: z.ZodNullable<z.ZodString>;
6237
6242
  connected_account_id: z.ZodString;
6238
6243
  salto_space_metadata: z.ZodOptional<z.ZodObject<{
6244
+ user_id: z.ZodOptional<z.ZodString>;
6239
6245
  audit_openings: z.ZodOptional<z.ZodBoolean>;
6240
6246
  }, "strip", z.ZodTypeAny, {
6247
+ user_id?: string | undefined;
6241
6248
  audit_openings?: boolean | undefined;
6242
6249
  }, {
6250
+ user_id?: string | undefined;
6243
6251
  audit_openings?: boolean | undefined;
6244
6252
  }>>;
6245
6253
  } & {
@@ -6305,6 +6313,7 @@ declare const unmanaged_acs_user: z.ZodObject<{
6305
6313
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
6306
6314
  external_type_display_name?: string | undefined;
6307
6315
  salto_space_metadata?: {
6316
+ user_id?: string | undefined;
6308
6317
  audit_openings?: boolean | undefined;
6309
6318
  } | undefined;
6310
6319
  email_address?: string | undefined;
@@ -6435,6 +6444,7 @@ declare const unmanaged_acs_user: z.ZodObject<{
6435
6444
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
6436
6445
  external_type_display_name?: string | undefined;
6437
6446
  salto_space_metadata?: {
6447
+ user_id?: string | undefined;
6438
6448
  audit_openings?: boolean | undefined;
6439
6449
  } | undefined;
6440
6450
  email_address?: string | undefined;
@@ -16145,10 +16155,13 @@ declare const batch: z.ZodObject<{
16145
16155
  last_successful_sync_at: z.ZodNullable<z.ZodString>;
16146
16156
  connected_account_id: z.ZodString;
16147
16157
  salto_space_metadata: z.ZodOptional<z.ZodObject<{
16158
+ user_id: z.ZodOptional<z.ZodString>;
16148
16159
  audit_openings: z.ZodOptional<z.ZodBoolean>;
16149
16160
  }, "strip", z.ZodTypeAny, {
16161
+ user_id?: string | undefined;
16150
16162
  audit_openings?: boolean | undefined;
16151
16163
  }, {
16164
+ user_id?: string | undefined;
16152
16165
  audit_openings?: boolean | undefined;
16153
16166
  }>>;
16154
16167
  } & {
@@ -16214,6 +16227,7 @@ declare const batch: z.ZodObject<{
16214
16227
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
16215
16228
  external_type_display_name?: string | undefined;
16216
16229
  salto_space_metadata?: {
16230
+ user_id?: string | undefined;
16217
16231
  audit_openings?: boolean | undefined;
16218
16232
  } | undefined;
16219
16233
  email_address?: string | undefined;
@@ -16344,6 +16358,7 @@ declare const batch: z.ZodObject<{
16344
16358
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
16345
16359
  external_type_display_name?: string | undefined;
16346
16360
  salto_space_metadata?: {
16361
+ user_id?: string | undefined;
16347
16362
  audit_openings?: boolean | undefined;
16348
16363
  } | undefined;
16349
16364
  email_address?: string | undefined;
@@ -21396,10 +21411,13 @@ declare const batch: z.ZodObject<{
21396
21411
  last_successful_sync_at: z.ZodNullable<z.ZodString>;
21397
21412
  connected_account_id: z.ZodString;
21398
21413
  salto_space_metadata: z.ZodOptional<z.ZodObject<{
21414
+ user_id: z.ZodOptional<z.ZodString>;
21399
21415
  audit_openings: z.ZodOptional<z.ZodBoolean>;
21400
21416
  }, "strip", z.ZodTypeAny, {
21417
+ user_id?: string | undefined;
21401
21418
  audit_openings?: boolean | undefined;
21402
21419
  }, {
21420
+ user_id?: string | undefined;
21403
21421
  audit_openings?: boolean | undefined;
21404
21422
  }>>;
21405
21423
  } & {
@@ -21465,6 +21483,7 @@ declare const batch: z.ZodObject<{
21465
21483
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
21466
21484
  external_type_display_name?: string | undefined;
21467
21485
  salto_space_metadata?: {
21486
+ user_id?: string | undefined;
21468
21487
  audit_openings?: boolean | undefined;
21469
21488
  } | undefined;
21470
21489
  email_address?: string | undefined;
@@ -21595,6 +21614,7 @@ declare const batch: z.ZodObject<{
21595
21614
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
21596
21615
  external_type_display_name?: string | undefined;
21597
21616
  salto_space_metadata?: {
21617
+ user_id?: string | undefined;
21598
21618
  audit_openings?: boolean | undefined;
21599
21619
  } | undefined;
21600
21620
  email_address?: string | undefined;
@@ -32755,6 +32775,7 @@ declare const batch: z.ZodObject<{
32755
32775
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
32756
32776
  external_type_display_name?: string | undefined;
32757
32777
  salto_space_metadata?: {
32778
+ user_id?: string | undefined;
32758
32779
  audit_openings?: boolean | undefined;
32759
32780
  } | undefined;
32760
32781
  email_address?: string | undefined;
@@ -33804,6 +33825,7 @@ declare const batch: z.ZodObject<{
33804
33825
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
33805
33826
  external_type_display_name?: string | undefined;
33806
33827
  salto_space_metadata?: {
33828
+ user_id?: string | undefined;
33807
33829
  audit_openings?: boolean | undefined;
33808
33830
  } | undefined;
33809
33831
  email_address?: string | undefined;
@@ -36786,6 +36808,7 @@ declare const batch: z.ZodObject<{
36786
36808
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
36787
36809
  external_type_display_name?: string | undefined;
36788
36810
  salto_space_metadata?: {
36811
+ user_id?: string | undefined;
36789
36812
  audit_openings?: boolean | undefined;
36790
36813
  } | undefined;
36791
36814
  email_address?: string | undefined;
@@ -37835,6 +37858,7 @@ declare const batch: z.ZodObject<{
37835
37858
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
37836
37859
  external_type_display_name?: string | undefined;
37837
37860
  salto_space_metadata?: {
37861
+ user_id?: string | undefined;
37838
37862
  audit_openings?: boolean | undefined;
37839
37863
  } | undefined;
37840
37864
  email_address?: string | undefined;
@@ -54755,6 +54779,10 @@ declare const _default: {
54755
54779
  description: string;
54756
54780
  type: string;
54757
54781
  };
54782
+ user_id: {
54783
+ description: string;
54784
+ type: string;
54785
+ };
54758
54786
  };
54759
54787
  type: string;
54760
54788
  };
@@ -66794,6 +66822,10 @@ declare const _default: {
66794
66822
  description: string;
66795
66823
  type: string;
66796
66824
  };
66825
+ user_id: {
66826
+ description: string;
66827
+ type: string;
66828
+ };
66797
66829
  };
66798
66830
  type: string;
66799
66831
  };
@@ -99411,6 +99443,223 @@ declare const _default: {
99411
99443
  'x-undocumented': string;
99412
99444
  };
99413
99445
  };
99446
+ '/seam/customer/v1/spaces/list_reservations': {
99447
+ get: {
99448
+ description: string;
99449
+ operationId: string;
99450
+ parameters: ({
99451
+ in: string;
99452
+ name: string;
99453
+ required: boolean;
99454
+ schema: {
99455
+ default: string;
99456
+ description: string;
99457
+ enum: string[];
99458
+ type: string;
99459
+ };
99460
+ } | {
99461
+ in: string;
99462
+ name: string;
99463
+ required: boolean;
99464
+ schema: {
99465
+ description: string;
99466
+ type: string;
99467
+ default?: never;
99468
+ enum?: never;
99469
+ };
99470
+ })[];
99471
+ responses: {
99472
+ 200: {
99473
+ content: {
99474
+ 'application/json': {
99475
+ schema: {
99476
+ properties: {
99477
+ ok: {
99478
+ type: string;
99479
+ };
99480
+ reservations: {
99481
+ items: {
99482
+ properties: {
99483
+ access_methods: {
99484
+ items: {
99485
+ $ref: string;
99486
+ };
99487
+ type: string;
99488
+ };
99489
+ created_at: {
99490
+ format: string;
99491
+ type: string;
99492
+ };
99493
+ ends_at: {
99494
+ format: string;
99495
+ nullable: boolean;
99496
+ type: string;
99497
+ };
99498
+ guest_name: {
99499
+ nullable: boolean;
99500
+ type: string;
99501
+ };
99502
+ has_issued_access: {
99503
+ type: string;
99504
+ };
99505
+ name: {
99506
+ nullable: boolean;
99507
+ type: string;
99508
+ };
99509
+ reservation_id: {
99510
+ format: string;
99511
+ type: string;
99512
+ };
99513
+ reservation_key: {
99514
+ type: string;
99515
+ };
99516
+ starts_at: {
99517
+ format: string;
99518
+ nullable: boolean;
99519
+ type: string;
99520
+ };
99521
+ };
99522
+ required: string[];
99523
+ type: string;
99524
+ };
99525
+ type: string;
99526
+ };
99527
+ };
99528
+ required: string[];
99529
+ type: string;
99530
+ };
99531
+ };
99532
+ };
99533
+ description: string;
99534
+ };
99535
+ 400: {
99536
+ description: string;
99537
+ };
99538
+ 401: {
99539
+ description: string;
99540
+ };
99541
+ };
99542
+ security: {
99543
+ client_session_with_customer: never[];
99544
+ }[];
99545
+ summary: string;
99546
+ tags: never[];
99547
+ 'x-fern-sdk-group-name': string[];
99548
+ 'x-fern-sdk-method-name': string;
99549
+ 'x-fern-sdk-return-value': string;
99550
+ 'x-response-key': string;
99551
+ 'x-title': string;
99552
+ 'x-undocumented': string;
99553
+ };
99554
+ post: {
99555
+ description: string;
99556
+ operationId: string;
99557
+ requestBody: {
99558
+ content: {
99559
+ 'application/json': {
99560
+ schema: {
99561
+ properties: {
99562
+ issued_status: {
99563
+ default: string;
99564
+ description: string;
99565
+ enum: string[];
99566
+ type: string;
99567
+ };
99568
+ space_key: {
99569
+ description: string;
99570
+ type: string;
99571
+ };
99572
+ };
99573
+ required: string[];
99574
+ type: string;
99575
+ };
99576
+ };
99577
+ };
99578
+ };
99579
+ responses: {
99580
+ 200: {
99581
+ content: {
99582
+ 'application/json': {
99583
+ schema: {
99584
+ properties: {
99585
+ ok: {
99586
+ type: string;
99587
+ };
99588
+ reservations: {
99589
+ items: {
99590
+ properties: {
99591
+ access_methods: {
99592
+ items: {
99593
+ $ref: string;
99594
+ };
99595
+ type: string;
99596
+ };
99597
+ created_at: {
99598
+ format: string;
99599
+ type: string;
99600
+ };
99601
+ ends_at: {
99602
+ format: string;
99603
+ nullable: boolean;
99604
+ type: string;
99605
+ };
99606
+ guest_name: {
99607
+ nullable: boolean;
99608
+ type: string;
99609
+ };
99610
+ has_issued_access: {
99611
+ type: string;
99612
+ };
99613
+ name: {
99614
+ nullable: boolean;
99615
+ type: string;
99616
+ };
99617
+ reservation_id: {
99618
+ format: string;
99619
+ type: string;
99620
+ };
99621
+ reservation_key: {
99622
+ type: string;
99623
+ };
99624
+ starts_at: {
99625
+ format: string;
99626
+ nullable: boolean;
99627
+ type: string;
99628
+ };
99629
+ };
99630
+ required: string[];
99631
+ type: string;
99632
+ };
99633
+ type: string;
99634
+ };
99635
+ };
99636
+ required: string[];
99637
+ type: string;
99638
+ };
99639
+ };
99640
+ };
99641
+ description: string;
99642
+ };
99643
+ 400: {
99644
+ description: string;
99645
+ };
99646
+ 401: {
99647
+ description: string;
99648
+ };
99649
+ };
99650
+ security: {
99651
+ client_session_with_customer: never[];
99652
+ }[];
99653
+ summary: string;
99654
+ tags: never[];
99655
+ 'x-fern-sdk-group-name': string[];
99656
+ 'x-fern-sdk-method-name': string;
99657
+ 'x-fern-sdk-return-value': string;
99658
+ 'x-response-key': string;
99659
+ 'x-title': string;
99660
+ 'x-undocumented': string;
99661
+ };
99662
+ };
99414
99663
  '/seam/customer/v1/staff_members/get': {
99415
99664
  get: {
99416
99665
  description: string;
@@ -128327,6 +128576,8 @@ type Routes = {
128327
128576
  connected_account_id: string;
128328
128577
  /** Salto Space-specific metadata associated with the [access system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
128329
128578
  salto_space_metadata?: {
128579
+ /** User ID in the Salto Space access system. */
128580
+ user_id?: string | undefined;
128330
128581
  /** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
128331
128582
  audit_openings?: boolean | undefined;
128332
128583
  } | undefined;
@@ -134015,6 +134266,8 @@ type Routes = {
134015
134266
  connected_account_id: string;
134016
134267
  /** Salto Space-specific metadata associated with the [access system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
134017
134268
  salto_space_metadata?: {
134269
+ /** User ID in the Salto Space access system. */
134270
+ user_id?: string | undefined;
134018
134271
  /** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
134019
134272
  audit_openings?: boolean | undefined;
134020
134273
  } | undefined;
@@ -134277,6 +134530,8 @@ type Routes = {
134277
134530
  connected_account_id: string;
134278
134531
  /** Salto Space-specific metadata associated with the [access system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
134279
134532
  salto_space_metadata?: {
134533
+ /** User ID in the Salto Space access system. */
134534
+ user_id?: string | undefined;
134280
134535
  /** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
134281
134536
  audit_openings?: boolean | undefined;
134282
134537
  } | undefined;
@@ -134527,6 +134782,8 @@ type Routes = {
134527
134782
  connected_account_id: string;
134528
134783
  /** Salto Space-specific metadata associated with the [access system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
134529
134784
  salto_space_metadata?: {
134785
+ /** User ID in the Salto Space access system. */
134786
+ user_id?: string | undefined;
134530
134787
  /** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
134531
134788
  audit_openings?: boolean | undefined;
134532
134789
  } | undefined;
@@ -134965,6 +135222,8 @@ type Routes = {
134965
135222
  connected_account_id: string;
134966
135223
  /** Salto Space-specific metadata associated with the [access system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
134967
135224
  salto_space_metadata?: {
135225
+ /** User ID in the Salto Space access system. */
135226
+ user_id?: string | undefined;
134968
135227
  /** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
134969
135228
  audit_openings?: boolean | undefined;
134970
135229
  } | undefined;
@@ -135209,6 +135468,8 @@ type Routes = {
135209
135468
  connected_account_id: string;
135210
135469
  /** Salto Space-specific metadata associated with the [access system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
135211
135470
  salto_space_metadata?: {
135471
+ /** User ID in the Salto Space access system. */
135472
+ user_id?: string | undefined;
135212
135473
  /** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
135213
135474
  audit_openings?: boolean | undefined;
135214
135475
  } | undefined;
@@ -167016,6 +167277,37 @@ type Routes = {
167016
167277
  };
167017
167278
  maxDuration: undefined;
167018
167279
  };
167280
+ '/seam/customer/v1/spaces/list_reservations': {
167281
+ route: '/seam/customer/v1/spaces/list_reservations';
167282
+ method: 'GET' | 'POST';
167283
+ queryParams: {};
167284
+ jsonBody: {};
167285
+ commonParams: {
167286
+ /** Filter reservations by issued status. */
167287
+ issued_status?: ('issued' | 'pending') | undefined;
167288
+ /** Filter reservations by space key. */
167289
+ space_key: string;
167290
+ };
167291
+ formData: {};
167292
+ jsonResponse: {
167293
+ reservations: {
167294
+ reservation_id: string;
167295
+ reservation_key: string;
167296
+ name: string | null;
167297
+ starts_at: string | null;
167298
+ ends_at: string | null;
167299
+ created_at: string;
167300
+ guest_name: string | null;
167301
+ has_issued_access: boolean;
167302
+ access_methods: {
167303
+ access_method_id: string;
167304
+ mode: string;
167305
+ is_issued: boolean;
167306
+ }[];
167307
+ }[];
167308
+ };
167309
+ maxDuration: undefined;
167310
+ };
167019
167311
  '/seam/customer/v1/staff_members/get': {
167020
167312
  route: '/seam/customer/v1/staff_members/get';
167021
167313
  method: 'GET' | 'POST';
@@ -188708,6 +189000,8 @@ type Routes = {
188708
189000
  connected_account_id: string;
188709
189001
  /** Salto Space-specific metadata associated with the [access system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
188710
189002
  salto_space_metadata?: {
189003
+ /** User ID in the Salto Space access system. */
189004
+ user_id?: string | undefined;
188711
189005
  /** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
188712
189006
  audit_openings?: boolean | undefined;
188713
189007
  } | undefined;
@@ -190990,6 +191284,8 @@ type Routes = {
190990
191284
  connected_account_id: string;
190991
191285
  /** Salto Space-specific metadata associated with the [access system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
190992
191286
  salto_space_metadata?: {
191287
+ /** User ID in the Salto Space access system. */
191288
+ user_id?: string | undefined;
190993
191289
  /** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
190994
191290
  audit_openings?: boolean | undefined;
190995
191291
  } | undefined;
@@ -192547,6 +192843,8 @@ type Routes = {
192547
192843
  connected_account_id: string;
192548
192844
  /** Salto Space-specific metadata associated with the [access system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
192549
192845
  salto_space_metadata?: {
192846
+ /** User ID in the Salto Space access system. */
192847
+ user_id?: string | undefined;
192550
192848
  /** Indicates whether AuditOpenings is enabled for the user in the Salto Space access system. */
192551
192849
  audit_openings?: boolean | undefined;
192552
192850
  } | undefined;