@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.
@@ -720,10 +720,13 @@ export declare const acs_user: z.ZodObject<{
720
720
  last_successful_sync_at: z.ZodNullable<z.ZodString>;
721
721
  connected_account_id: z.ZodString;
722
722
  salto_space_metadata: z.ZodOptional<z.ZodObject<{
723
+ user_id: z.ZodOptional<z.ZodString>;
723
724
  audit_openings: z.ZodOptional<z.ZodBoolean>;
724
725
  }, "strip", z.ZodTypeAny, {
726
+ user_id?: string | undefined;
725
727
  audit_openings?: boolean | undefined;
726
728
  }, {
729
+ user_id?: string | undefined;
727
730
  audit_openings?: boolean | undefined;
728
731
  }>>;
729
732
  } & {
@@ -789,6 +792,7 @@ export declare const acs_user: z.ZodObject<{
789
792
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
790
793
  external_type_display_name?: string | undefined;
791
794
  salto_space_metadata?: {
795
+ user_id?: string | undefined;
792
796
  audit_openings?: boolean | undefined;
793
797
  } | undefined;
794
798
  email_address?: string | undefined;
@@ -919,6 +923,7 @@ export declare const acs_user: z.ZodObject<{
919
923
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
920
924
  external_type_display_name?: string | undefined;
921
925
  salto_space_metadata?: {
926
+ user_id?: string | undefined;
922
927
  audit_openings?: boolean | undefined;
923
928
  } | undefined;
924
929
  email_address?: string | undefined;
@@ -1382,10 +1387,13 @@ export declare const unmanaged_acs_user: z.ZodObject<{
1382
1387
  last_successful_sync_at: z.ZodNullable<z.ZodString>;
1383
1388
  connected_account_id: z.ZodString;
1384
1389
  salto_space_metadata: z.ZodOptional<z.ZodObject<{
1390
+ user_id: z.ZodOptional<z.ZodString>;
1385
1391
  audit_openings: z.ZodOptional<z.ZodBoolean>;
1386
1392
  }, "strip", z.ZodTypeAny, {
1393
+ user_id?: string | undefined;
1387
1394
  audit_openings?: boolean | undefined;
1388
1395
  }, {
1396
+ user_id?: string | undefined;
1389
1397
  audit_openings?: boolean | undefined;
1390
1398
  }>>;
1391
1399
  } & {
@@ -1451,6 +1459,7 @@ export declare const unmanaged_acs_user: z.ZodObject<{
1451
1459
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
1452
1460
  external_type_display_name?: string | undefined;
1453
1461
  salto_space_metadata?: {
1462
+ user_id?: string | undefined;
1454
1463
  audit_openings?: boolean | undefined;
1455
1464
  } | undefined;
1456
1465
  email_address?: string | undefined;
@@ -1581,6 +1590,7 @@ export declare const unmanaged_acs_user: z.ZodObject<{
1581
1590
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
1582
1591
  external_type_display_name?: string | undefined;
1583
1592
  salto_space_metadata?: {
1593
+ user_id?: string | undefined;
1584
1594
  audit_openings?: boolean | undefined;
1585
1595
  } | undefined;
1586
1596
  email_address?: string | undefined;
@@ -26,10 +26,13 @@ export declare const acs_entrance_salto_space_metadata: z.ZodObject<{
26
26
  }>;
27
27
  export type AcsEntranceSaltoSpaceMetadata = z.infer<typeof acs_entrance_salto_space_metadata>;
28
28
  export declare const acs_user_salto_space_metadata: z.ZodObject<{
29
+ user_id: z.ZodOptional<z.ZodString>;
29
30
  audit_openings: z.ZodOptional<z.ZodBoolean>;
30
31
  }, "strip", z.ZodTypeAny, {
32
+ user_id?: string | undefined;
31
33
  audit_openings?: boolean | undefined;
32
34
  }, {
35
+ user_id?: string | undefined;
33
36
  audit_openings?: boolean | undefined;
34
37
  }>;
35
38
  export type AcsUserSaltoSpaceMetadata = z.infer<typeof acs_user_salto_space_metadata>;
@@ -27,10 +27,11 @@ export const acs_entrance_salto_space_metadata = z
27
27
  .describe('Salto Space-specific metadata associated with the entrance.');
28
28
  export const acs_user_salto_space_metadata = z
29
29
  .object({
30
+ user_id: z.string().describe('User ID in the Salto Space access system.'),
30
31
  audit_openings: z
31
32
  .boolean()
32
- .optional()
33
33
  .describe('Indicates whether AuditOpenings is enabled for the user in the Salto Space access system.'),
34
34
  })
35
+ .partial()
35
36
  .describe('Salto Space-specific metadata associated with the access system user.');
36
37
  //# sourceMappingURL=salto-space.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"salto-space.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/acs/metadata/salto-space.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC;KAC/C,MAAM,CAAC;IACN,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC;;;;KAIhC,CAAC;IACF,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,2CAA2C,CAAC;IACzE,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,CAAC,oDAAoD,CAAC;IACjE,gBAAgB,EAAE,CAAC;SAChB,MAAM,EAAE;SACR,QAAQ,CAAC,2DAA2D,CAAC;IACxE,aAAa,EAAE,CAAC;SACb,OAAO,EAAE;SACT,QAAQ,CACP,yFAAyF,CAC1F;IACH,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,CAAC,oDAAoD,CAAC;IACjE,gBAAgB,EAAE,CAAC;SAChB,MAAM,EAAE;SACR,QAAQ,CAAC,2DAA2D,CAAC;CACzE,CAAC;KACD,OAAO,EAAE;KACT,QAAQ,CAAC,6DAA6D,CAAC,CAAA;AAM1E,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC;KAC3C,MAAM,CAAC;IACN,cAAc,EAAE,CAAC;SACd,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,2FAA2F,CAC5F;CACJ,CAAC;KACD,QAAQ,CACP,uEAAuE,CACxE,CAAA"}
1
+ {"version":3,"file":"salto-space.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/acs/metadata/salto-space.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC;KAC/C,MAAM,CAAC;IACN,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC;;;;KAIhC,CAAC;IACF,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,2CAA2C,CAAC;IACzE,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,CAAC,oDAAoD,CAAC;IACjE,gBAAgB,EAAE,CAAC;SAChB,MAAM,EAAE;SACR,QAAQ,CAAC,2DAA2D,CAAC;IACxE,aAAa,EAAE,CAAC;SACb,OAAO,EAAE;SACT,QAAQ,CACP,yFAAyF,CAC1F;IACH,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,CAAC,oDAAoD,CAAC;IACjE,gBAAgB,EAAE,CAAC;SAChB,MAAM,EAAE;SACR,QAAQ,CAAC,2DAA2D,CAAC;CACzE,CAAC;KACD,OAAO,EAAE;KACT,QAAQ,CAAC,6DAA6D,CAAC,CAAA;AAM1E,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC;KAC3C,MAAM,CAAC;IACN,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,2CAA2C,CAAC;IACzE,cAAc,EAAE,CAAC;SACd,OAAO,EAAE;SACT,QAAQ,CACP,2FAA2F,CAC5F;CACJ,CAAC;KACD,OAAO,EAAE;KACT,QAAQ,CACP,uEAAuE,CACxE,CAAA"}
@@ -5766,10 +5766,13 @@ export declare const batch: z.ZodObject<{
5766
5766
  last_successful_sync_at: z.ZodNullable<z.ZodString>;
5767
5767
  connected_account_id: z.ZodString;
5768
5768
  salto_space_metadata: z.ZodOptional<z.ZodObject<{
5769
+ user_id: z.ZodOptional<z.ZodString>;
5769
5770
  audit_openings: z.ZodOptional<z.ZodBoolean>;
5770
5771
  }, "strip", z.ZodTypeAny, {
5772
+ user_id?: string | undefined;
5771
5773
  audit_openings?: boolean | undefined;
5772
5774
  }, {
5775
+ user_id?: string | undefined;
5773
5776
  audit_openings?: boolean | undefined;
5774
5777
  }>>;
5775
5778
  } & {
@@ -5835,6 +5838,7 @@ export declare const batch: z.ZodObject<{
5835
5838
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
5836
5839
  external_type_display_name?: string | undefined;
5837
5840
  salto_space_metadata?: {
5841
+ user_id?: string | undefined;
5838
5842
  audit_openings?: boolean | undefined;
5839
5843
  } | undefined;
5840
5844
  email_address?: string | undefined;
@@ -5965,6 +5969,7 @@ export declare const batch: z.ZodObject<{
5965
5969
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
5966
5970
  external_type_display_name?: string | undefined;
5967
5971
  salto_space_metadata?: {
5972
+ user_id?: string | undefined;
5968
5973
  audit_openings?: boolean | undefined;
5969
5974
  } | undefined;
5970
5975
  email_address?: string | undefined;
@@ -11017,10 +11022,13 @@ export declare const batch: z.ZodObject<{
11017
11022
  last_successful_sync_at: z.ZodNullable<z.ZodString>;
11018
11023
  connected_account_id: z.ZodString;
11019
11024
  salto_space_metadata: z.ZodOptional<z.ZodObject<{
11025
+ user_id: z.ZodOptional<z.ZodString>;
11020
11026
  audit_openings: z.ZodOptional<z.ZodBoolean>;
11021
11027
  }, "strip", z.ZodTypeAny, {
11028
+ user_id?: string | undefined;
11022
11029
  audit_openings?: boolean | undefined;
11023
11030
  }, {
11031
+ user_id?: string | undefined;
11024
11032
  audit_openings?: boolean | undefined;
11025
11033
  }>>;
11026
11034
  } & {
@@ -11086,6 +11094,7 @@ export declare const batch: z.ZodObject<{
11086
11094
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
11087
11095
  external_type_display_name?: string | undefined;
11088
11096
  salto_space_metadata?: {
11097
+ user_id?: string | undefined;
11089
11098
  audit_openings?: boolean | undefined;
11090
11099
  } | undefined;
11091
11100
  email_address?: string | undefined;
@@ -11216,6 +11225,7 @@ export declare const batch: z.ZodObject<{
11216
11225
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
11217
11226
  external_type_display_name?: string | undefined;
11218
11227
  salto_space_metadata?: {
11228
+ user_id?: string | undefined;
11219
11229
  audit_openings?: boolean | undefined;
11220
11230
  } | undefined;
11221
11231
  email_address?: string | undefined;
@@ -22376,6 +22386,7 @@ export declare const batch: z.ZodObject<{
22376
22386
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
22377
22387
  external_type_display_name?: string | undefined;
22378
22388
  salto_space_metadata?: {
22389
+ user_id?: string | undefined;
22379
22390
  audit_openings?: boolean | undefined;
22380
22391
  } | undefined;
22381
22392
  email_address?: string | undefined;
@@ -23425,6 +23436,7 @@ export declare const batch: z.ZodObject<{
23425
23436
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
23426
23437
  external_type_display_name?: string | undefined;
23427
23438
  salto_space_metadata?: {
23439
+ user_id?: string | undefined;
23428
23440
  audit_openings?: boolean | undefined;
23429
23441
  } | undefined;
23430
23442
  email_address?: string | undefined;
@@ -26407,6 +26419,7 @@ export declare const batch: z.ZodObject<{
26407
26419
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
26408
26420
  external_type_display_name?: string | undefined;
26409
26421
  salto_space_metadata?: {
26422
+ user_id?: string | undefined;
26410
26423
  audit_openings?: boolean | undefined;
26411
26424
  } | undefined;
26412
26425
  email_address?: string | undefined;
@@ -27456,6 +27469,7 @@ export declare const batch: z.ZodObject<{
27456
27469
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | "dormakaba_community_user" | "salto_space_user" | undefined;
27457
27470
  external_type_display_name?: string | undefined;
27458
27471
  salto_space_metadata?: {
27472
+ user_id?: string | undefined;
27459
27473
  audit_openings?: boolean | undefined;
27460
27474
  } | undefined;
27461
27475
  email_address?: string | undefined;
@@ -2070,6 +2070,10 @@ declare const _default: {
2070
2070
  description: string;
2071
2071
  type: string;
2072
2072
  };
2073
+ user_id: {
2074
+ description: string;
2075
+ type: string;
2076
+ };
2073
2077
  };
2074
2078
  type: string;
2075
2079
  };
@@ -14109,6 +14113,10 @@ declare const _default: {
14109
14113
  description: string;
14110
14114
  type: string;
14111
14115
  };
14116
+ user_id: {
14117
+ description: string;
14118
+ type: string;
14119
+ };
14112
14120
  };
14113
14121
  type: string;
14114
14122
  };
@@ -46726,6 +46734,223 @@ declare const _default: {
46726
46734
  'x-undocumented': string;
46727
46735
  };
46728
46736
  };
46737
+ '/seam/customer/v1/spaces/list_reservations': {
46738
+ get: {
46739
+ description: string;
46740
+ operationId: string;
46741
+ parameters: ({
46742
+ in: string;
46743
+ name: string;
46744
+ required: boolean;
46745
+ schema: {
46746
+ default: string;
46747
+ description: string;
46748
+ enum: string[];
46749
+ type: string;
46750
+ };
46751
+ } | {
46752
+ in: string;
46753
+ name: string;
46754
+ required: boolean;
46755
+ schema: {
46756
+ description: string;
46757
+ type: string;
46758
+ default?: never;
46759
+ enum?: never;
46760
+ };
46761
+ })[];
46762
+ responses: {
46763
+ 200: {
46764
+ content: {
46765
+ 'application/json': {
46766
+ schema: {
46767
+ properties: {
46768
+ ok: {
46769
+ type: string;
46770
+ };
46771
+ reservations: {
46772
+ items: {
46773
+ properties: {
46774
+ access_methods: {
46775
+ items: {
46776
+ $ref: string;
46777
+ };
46778
+ type: string;
46779
+ };
46780
+ created_at: {
46781
+ format: string;
46782
+ type: string;
46783
+ };
46784
+ ends_at: {
46785
+ format: string;
46786
+ nullable: boolean;
46787
+ type: string;
46788
+ };
46789
+ guest_name: {
46790
+ nullable: boolean;
46791
+ type: string;
46792
+ };
46793
+ has_issued_access: {
46794
+ type: string;
46795
+ };
46796
+ name: {
46797
+ nullable: boolean;
46798
+ type: string;
46799
+ };
46800
+ reservation_id: {
46801
+ format: string;
46802
+ type: string;
46803
+ };
46804
+ reservation_key: {
46805
+ type: string;
46806
+ };
46807
+ starts_at: {
46808
+ format: string;
46809
+ nullable: boolean;
46810
+ type: string;
46811
+ };
46812
+ };
46813
+ required: string[];
46814
+ type: string;
46815
+ };
46816
+ type: string;
46817
+ };
46818
+ };
46819
+ required: string[];
46820
+ type: string;
46821
+ };
46822
+ };
46823
+ };
46824
+ description: string;
46825
+ };
46826
+ 400: {
46827
+ description: string;
46828
+ };
46829
+ 401: {
46830
+ description: string;
46831
+ };
46832
+ };
46833
+ security: {
46834
+ client_session_with_customer: never[];
46835
+ }[];
46836
+ summary: string;
46837
+ tags: never[];
46838
+ 'x-fern-sdk-group-name': string[];
46839
+ 'x-fern-sdk-method-name': string;
46840
+ 'x-fern-sdk-return-value': string;
46841
+ 'x-response-key': string;
46842
+ 'x-title': string;
46843
+ 'x-undocumented': string;
46844
+ };
46845
+ post: {
46846
+ description: string;
46847
+ operationId: string;
46848
+ requestBody: {
46849
+ content: {
46850
+ 'application/json': {
46851
+ schema: {
46852
+ properties: {
46853
+ issued_status: {
46854
+ default: string;
46855
+ description: string;
46856
+ enum: string[];
46857
+ type: string;
46858
+ };
46859
+ space_key: {
46860
+ description: string;
46861
+ type: string;
46862
+ };
46863
+ };
46864
+ required: string[];
46865
+ type: string;
46866
+ };
46867
+ };
46868
+ };
46869
+ };
46870
+ responses: {
46871
+ 200: {
46872
+ content: {
46873
+ 'application/json': {
46874
+ schema: {
46875
+ properties: {
46876
+ ok: {
46877
+ type: string;
46878
+ };
46879
+ reservations: {
46880
+ items: {
46881
+ properties: {
46882
+ access_methods: {
46883
+ items: {
46884
+ $ref: string;
46885
+ };
46886
+ type: string;
46887
+ };
46888
+ created_at: {
46889
+ format: string;
46890
+ type: string;
46891
+ };
46892
+ ends_at: {
46893
+ format: string;
46894
+ nullable: boolean;
46895
+ type: string;
46896
+ };
46897
+ guest_name: {
46898
+ nullable: boolean;
46899
+ type: string;
46900
+ };
46901
+ has_issued_access: {
46902
+ type: string;
46903
+ };
46904
+ name: {
46905
+ nullable: boolean;
46906
+ type: string;
46907
+ };
46908
+ reservation_id: {
46909
+ format: string;
46910
+ type: string;
46911
+ };
46912
+ reservation_key: {
46913
+ type: string;
46914
+ };
46915
+ starts_at: {
46916
+ format: string;
46917
+ nullable: boolean;
46918
+ type: string;
46919
+ };
46920
+ };
46921
+ required: string[];
46922
+ type: string;
46923
+ };
46924
+ type: string;
46925
+ };
46926
+ };
46927
+ required: string[];
46928
+ type: string;
46929
+ };
46930
+ };
46931
+ };
46932
+ description: string;
46933
+ };
46934
+ 400: {
46935
+ description: string;
46936
+ };
46937
+ 401: {
46938
+ description: string;
46939
+ };
46940
+ };
46941
+ security: {
46942
+ client_session_with_customer: never[];
46943
+ }[];
46944
+ summary: string;
46945
+ tags: never[];
46946
+ 'x-fern-sdk-group-name': string[];
46947
+ 'x-fern-sdk-method-name': string;
46948
+ 'x-fern-sdk-return-value': string;
46949
+ 'x-response-key': string;
46950
+ 'x-title': string;
46951
+ 'x-undocumented': string;
46952
+ };
46953
+ };
46729
46954
  '/seam/customer/v1/staff_members/get': {
46730
46955
  get: {
46731
46956
  description: string;
@@ -3646,6 +3646,10 @@ export default {
3646
3646
  description: 'Indicates whether AuditOpenings is enabled for the user in the Salto Space access system.',
3647
3647
  type: 'boolean',
3648
3648
  },
3649
+ user_id: {
3650
+ description: 'User ID in the Salto Space access system.',
3651
+ type: 'string',
3652
+ },
3649
3653
  },
3650
3654
  type: 'object',
3651
3655
  },
@@ -21809,6 +21813,10 @@ export default {
21809
21813
  description: 'Indicates whether AuditOpenings is enabled for the user in the Salto Space access system.',
21810
21814
  type: 'boolean',
21811
21815
  },
21816
+ user_id: {
21817
+ description: 'User ID in the Salto Space access system.',
21818
+ type: 'string',
21819
+ },
21812
21820
  },
21813
21821
  type: 'object',
21814
21822
  },
@@ -51317,6 +51325,196 @@ export default {
51317
51325
  'x-undocumented': 'Only used internally.',
51318
51326
  },
51319
51327
  },
51328
+ '/seam/customer/v1/spaces/list_reservations': {
51329
+ get: {
51330
+ description: 'Returns a list of existing reservations for a specific space.\nIf issued_status is "issued", only reservations that have access methods issued will be returned.\nIf issued_status is "pending", only reservations that do not have access methods issued will be returned.\nIf issued_status is not provided, only reservations that do not have access methods issued will be returned.',
51331
+ operationId: 'seamCustomerV1SpacesListReservationsGet',
51332
+ parameters: [
51333
+ {
51334
+ in: 'query',
51335
+ name: 'issued_status',
51336
+ required: false,
51337
+ schema: {
51338
+ default: 'pending',
51339
+ description: 'Filter reservations by issued status.',
51340
+ enum: ['issued', 'pending'],
51341
+ type: 'string',
51342
+ },
51343
+ },
51344
+ {
51345
+ in: 'query',
51346
+ name: 'space_key',
51347
+ required: true,
51348
+ schema: {
51349
+ description: 'Filter reservations by space key.',
51350
+ type: 'string',
51351
+ },
51352
+ },
51353
+ ],
51354
+ responses: {
51355
+ 200: {
51356
+ content: {
51357
+ 'application/json': {
51358
+ schema: {
51359
+ properties: {
51360
+ ok: { type: 'boolean' },
51361
+ reservations: {
51362
+ items: {
51363
+ properties: {
51364
+ access_methods: {
51365
+ items: {
51366
+ $ref: '#/components/schemas/access_method',
51367
+ },
51368
+ type: 'array',
51369
+ },
51370
+ created_at: { format: 'date-time', type: 'string' },
51371
+ ends_at: {
51372
+ format: 'date-time',
51373
+ nullable: true,
51374
+ type: 'string',
51375
+ },
51376
+ guest_name: { nullable: true, type: 'string' },
51377
+ has_issued_access: { type: 'boolean' },
51378
+ name: { nullable: true, type: 'string' },
51379
+ reservation_id: { format: 'uuid', type: 'string' },
51380
+ reservation_key: { type: 'string' },
51381
+ starts_at: {
51382
+ format: 'date-time',
51383
+ nullable: true,
51384
+ type: 'string',
51385
+ },
51386
+ },
51387
+ required: [
51388
+ 'reservation_id',
51389
+ 'reservation_key',
51390
+ 'name',
51391
+ 'starts_at',
51392
+ 'ends_at',
51393
+ 'created_at',
51394
+ 'guest_name',
51395
+ 'has_issued_access',
51396
+ 'access_methods',
51397
+ ],
51398
+ type: 'object',
51399
+ },
51400
+ type: 'array',
51401
+ },
51402
+ },
51403
+ required: ['reservations', 'ok'],
51404
+ type: 'object',
51405
+ },
51406
+ },
51407
+ },
51408
+ description: 'OK',
51409
+ },
51410
+ 400: { description: 'Bad Request' },
51411
+ 401: { description: 'Unauthorized' },
51412
+ },
51413
+ security: [{ client_session_with_customer: [] }],
51414
+ summary: '/seam/customer/v1/spaces/list_reservations',
51415
+ tags: [],
51416
+ 'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'spaces'],
51417
+ 'x-fern-sdk-method-name': 'list_reservations',
51418
+ 'x-fern-sdk-return-value': 'reservations',
51419
+ 'x-response-key': 'reservations',
51420
+ 'x-title': 'List Reservations for Space',
51421
+ 'x-undocumented': 'Internal endpoint for customer portals.',
51422
+ },
51423
+ post: {
51424
+ description: 'Returns a list of existing reservations for a specific space.\nIf issued_status is "issued", only reservations that have access methods issued will be returned.\nIf issued_status is "pending", only reservations that do not have access methods issued will be returned.\nIf issued_status is not provided, only reservations that do not have access methods issued will be returned.',
51425
+ operationId: 'seamCustomerV1SpacesListReservationsPost',
51426
+ requestBody: {
51427
+ content: {
51428
+ 'application/json': {
51429
+ schema: {
51430
+ properties: {
51431
+ issued_status: {
51432
+ default: 'pending',
51433
+ description: 'Filter reservations by issued status.',
51434
+ enum: ['issued', 'pending'],
51435
+ type: 'string',
51436
+ },
51437
+ space_key: {
51438
+ description: 'Filter reservations by space key.',
51439
+ type: 'string',
51440
+ },
51441
+ },
51442
+ required: ['space_key'],
51443
+ type: 'object',
51444
+ },
51445
+ },
51446
+ },
51447
+ },
51448
+ responses: {
51449
+ 200: {
51450
+ content: {
51451
+ 'application/json': {
51452
+ schema: {
51453
+ properties: {
51454
+ ok: { type: 'boolean' },
51455
+ reservations: {
51456
+ items: {
51457
+ properties: {
51458
+ access_methods: {
51459
+ items: {
51460
+ $ref: '#/components/schemas/access_method',
51461
+ },
51462
+ type: 'array',
51463
+ },
51464
+ created_at: { format: 'date-time', type: 'string' },
51465
+ ends_at: {
51466
+ format: 'date-time',
51467
+ nullable: true,
51468
+ type: 'string',
51469
+ },
51470
+ guest_name: { nullable: true, type: 'string' },
51471
+ has_issued_access: { type: 'boolean' },
51472
+ name: { nullable: true, type: 'string' },
51473
+ reservation_id: { format: 'uuid', type: 'string' },
51474
+ reservation_key: { type: 'string' },
51475
+ starts_at: {
51476
+ format: 'date-time',
51477
+ nullable: true,
51478
+ type: 'string',
51479
+ },
51480
+ },
51481
+ required: [
51482
+ 'reservation_id',
51483
+ 'reservation_key',
51484
+ 'name',
51485
+ 'starts_at',
51486
+ 'ends_at',
51487
+ 'created_at',
51488
+ 'guest_name',
51489
+ 'has_issued_access',
51490
+ 'access_methods',
51491
+ ],
51492
+ type: 'object',
51493
+ },
51494
+ type: 'array',
51495
+ },
51496
+ },
51497
+ required: ['reservations', 'ok'],
51498
+ type: 'object',
51499
+ },
51500
+ },
51501
+ },
51502
+ description: 'OK',
51503
+ },
51504
+ 400: { description: 'Bad Request' },
51505
+ 401: { description: 'Unauthorized' },
51506
+ },
51507
+ security: [{ client_session_with_customer: [] }],
51508
+ summary: '/seam/customer/v1/spaces/list_reservations',
51509
+ tags: [],
51510
+ 'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'spaces'],
51511
+ 'x-fern-sdk-method-name': 'list_reservations',
51512
+ 'x-fern-sdk-return-value': 'reservations',
51513
+ 'x-response-key': 'reservations',
51514
+ 'x-title': 'List Reservations for Space',
51515
+ 'x-undocumented': 'Internal endpoint for customer portals.',
51516
+ },
51517
+ },
51320
51518
  '/seam/customer/v1/staff_members/get': {
51321
51519
  get: {
51322
51520
  description: 'Returns a staff member for a specific customer.',