@seamapi/types 1.623.0 → 1.625.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.
@@ -95409,9 +95409,19 @@ declare const _default: {
95409
95409
  description: string;
95410
95410
  };
95411
95411
  };
95412
- security: {
95412
+ security: ({
95413
95413
  api_key: never[];
95414
- }[];
95414
+ client_session_with_customer?: never;
95415
+ console_session_with_workspace?: never;
95416
+ } | {
95417
+ client_session_with_customer: never[];
95418
+ api_key?: never;
95419
+ console_session_with_workspace?: never;
95420
+ } | {
95421
+ console_session_with_workspace: never[];
95422
+ api_key?: never;
95423
+ client_session_with_customer?: never;
95424
+ })[];
95415
95425
  summary: string;
95416
95426
  tags: never[];
95417
95427
  'x-fern-sdk-group-name': string[];
@@ -95419,6 +95429,169 @@ declare const _default: {
95419
95429
  'x-fern-sdk-return-value': string;
95420
95430
  'x-response-key': string;
95421
95431
  'x-title': string;
95432
+ 'x-undocumented': string;
95433
+ };
95434
+ };
95435
+ '/seam/customer/v1/connectors/list': {
95436
+ get: {
95437
+ description: string;
95438
+ operationId: string;
95439
+ responses: {
95440
+ 200: {
95441
+ content: {
95442
+ 'application/json': {
95443
+ schema: {
95444
+ properties: {
95445
+ connectors: {
95446
+ items: {
95447
+ properties: {
95448
+ config: {
95449
+ additionalProperties: {
95450
+ $ref: string;
95451
+ };
95452
+ type: string;
95453
+ };
95454
+ connector_id: {
95455
+ type: string;
95456
+ };
95457
+ connector_type: {
95458
+ type: string;
95459
+ };
95460
+ created_at: {
95461
+ type: string;
95462
+ };
95463
+ status: {
95464
+ enum: string[];
95465
+ type: string;
95466
+ };
95467
+ updated_at: {
95468
+ type: string;
95469
+ };
95470
+ };
95471
+ required: string[];
95472
+ type: string;
95473
+ };
95474
+ type: string;
95475
+ };
95476
+ ok: {
95477
+ type: string;
95478
+ };
95479
+ };
95480
+ required: string[];
95481
+ type: string;
95482
+ };
95483
+ };
95484
+ };
95485
+ description: string;
95486
+ };
95487
+ 400: {
95488
+ description: string;
95489
+ };
95490
+ 401: {
95491
+ description: string;
95492
+ };
95493
+ };
95494
+ security: ({
95495
+ api_key: never[];
95496
+ client_session_with_customer?: never;
95497
+ console_session_with_workspace?: never;
95498
+ } | {
95499
+ client_session_with_customer: never[];
95500
+ api_key?: never;
95501
+ console_session_with_workspace?: never;
95502
+ } | {
95503
+ console_session_with_workspace: never[];
95504
+ api_key?: never;
95505
+ client_session_with_customer?: never;
95506
+ })[];
95507
+ summary: string;
95508
+ tags: never[];
95509
+ 'x-fern-sdk-group-name': string[];
95510
+ 'x-fern-sdk-method-name': string;
95511
+ 'x-fern-sdk-return-value': string;
95512
+ 'x-response-key': string;
95513
+ 'x-title': string;
95514
+ 'x-undocumented': string;
95515
+ };
95516
+ post: {
95517
+ description: string;
95518
+ operationId: string;
95519
+ responses: {
95520
+ 200: {
95521
+ content: {
95522
+ 'application/json': {
95523
+ schema: {
95524
+ properties: {
95525
+ connectors: {
95526
+ items: {
95527
+ properties: {
95528
+ config: {
95529
+ additionalProperties: {
95530
+ $ref: string;
95531
+ };
95532
+ type: string;
95533
+ };
95534
+ connector_id: {
95535
+ type: string;
95536
+ };
95537
+ connector_type: {
95538
+ type: string;
95539
+ };
95540
+ created_at: {
95541
+ type: string;
95542
+ };
95543
+ status: {
95544
+ enum: string[];
95545
+ type: string;
95546
+ };
95547
+ updated_at: {
95548
+ type: string;
95549
+ };
95550
+ };
95551
+ required: string[];
95552
+ type: string;
95553
+ };
95554
+ type: string;
95555
+ };
95556
+ ok: {
95557
+ type: string;
95558
+ };
95559
+ };
95560
+ required: string[];
95561
+ type: string;
95562
+ };
95563
+ };
95564
+ };
95565
+ description: string;
95566
+ };
95567
+ 400: {
95568
+ description: string;
95569
+ };
95570
+ 401: {
95571
+ description: string;
95572
+ };
95573
+ };
95574
+ security: ({
95575
+ api_key: never[];
95576
+ client_session_with_customer?: never;
95577
+ console_session_with_workspace?: never;
95578
+ } | {
95579
+ client_session_with_customer: never[];
95580
+ api_key?: never;
95581
+ console_session_with_workspace?: never;
95582
+ } | {
95583
+ console_session_with_workspace: never[];
95584
+ api_key?: never;
95585
+ client_session_with_customer?: never;
95586
+ })[];
95587
+ summary: string;
95588
+ tags: never[];
95589
+ 'x-fern-sdk-group-name': string[];
95590
+ 'x-fern-sdk-method-name': string;
95591
+ 'x-fern-sdk-return-value': string;
95592
+ 'x-response-key': string;
95593
+ 'x-title': string;
95594
+ 'x-undocumented': string;
95422
95595
  };
95423
95596
  };
95424
95597
  '/seam/customer/v1/connectors/sync': {
@@ -97586,6 +97759,223 @@ declare const _default: {
97586
97759
  'x-title': string;
97587
97760
  };
97588
97761
  };
97762
+ '/seam/customer/v1/staff_members/get': {
97763
+ get: {
97764
+ description: string;
97765
+ operationId: string;
97766
+ parameters: {
97767
+ in: string;
97768
+ name: string;
97769
+ required: boolean;
97770
+ schema: {
97771
+ description: string;
97772
+ type: string;
97773
+ };
97774
+ }[];
97775
+ responses: {
97776
+ 200: {
97777
+ content: {
97778
+ 'application/json': {
97779
+ schema: {
97780
+ properties: {
97781
+ access_grant: {
97782
+ $ref: string;
97783
+ };
97784
+ ok: {
97785
+ type: string;
97786
+ };
97787
+ spaces: {
97788
+ items: {
97789
+ properties: {
97790
+ child_space_keys: {
97791
+ items: {
97792
+ type: string;
97793
+ };
97794
+ type: string;
97795
+ };
97796
+ space_key: {
97797
+ type: string;
97798
+ };
97799
+ };
97800
+ required: string[];
97801
+ type: string;
97802
+ };
97803
+ type: string;
97804
+ };
97805
+ staff_member: {
97806
+ description: string;
97807
+ properties: {
97808
+ email_address: {
97809
+ description: string;
97810
+ type: string;
97811
+ };
97812
+ name: {
97813
+ description: string;
97814
+ type: string;
97815
+ };
97816
+ phone_number: {
97817
+ description: string;
97818
+ type: string;
97819
+ };
97820
+ space_keys: {
97821
+ description: string;
97822
+ items: {
97823
+ type: string;
97824
+ };
97825
+ type: string;
97826
+ };
97827
+ staff_member_key: {
97828
+ description: string;
97829
+ type: string;
97830
+ };
97831
+ user_identity_id: {
97832
+ format: string;
97833
+ type: string;
97834
+ };
97835
+ };
97836
+ required: string[];
97837
+ type: string;
97838
+ 'x-route-path': string;
97839
+ };
97840
+ };
97841
+ required: string[];
97842
+ type: string;
97843
+ };
97844
+ };
97845
+ };
97846
+ description: string;
97847
+ };
97848
+ 400: {
97849
+ description: string;
97850
+ };
97851
+ 401: {
97852
+ description: string;
97853
+ };
97854
+ };
97855
+ security: {
97856
+ client_session_with_customer: never[];
97857
+ }[];
97858
+ summary: string;
97859
+ tags: never[];
97860
+ 'x-fern-sdk-group-name': string[];
97861
+ 'x-fern-sdk-method-name': string;
97862
+ 'x-fern-sdk-return-value': string;
97863
+ 'x-response-key': string;
97864
+ 'x-title': string;
97865
+ 'x-undocumented': string;
97866
+ };
97867
+ post: {
97868
+ description: string;
97869
+ operationId: string;
97870
+ requestBody: {
97871
+ content: {
97872
+ 'application/json': {
97873
+ schema: {
97874
+ properties: {
97875
+ staff_member_key: {
97876
+ description: string;
97877
+ type: string;
97878
+ };
97879
+ };
97880
+ required: string[];
97881
+ type: string;
97882
+ };
97883
+ };
97884
+ };
97885
+ };
97886
+ responses: {
97887
+ 200: {
97888
+ content: {
97889
+ 'application/json': {
97890
+ schema: {
97891
+ properties: {
97892
+ access_grant: {
97893
+ $ref: string;
97894
+ };
97895
+ ok: {
97896
+ type: string;
97897
+ };
97898
+ spaces: {
97899
+ items: {
97900
+ properties: {
97901
+ child_space_keys: {
97902
+ items: {
97903
+ type: string;
97904
+ };
97905
+ type: string;
97906
+ };
97907
+ space_key: {
97908
+ type: string;
97909
+ };
97910
+ };
97911
+ required: string[];
97912
+ type: string;
97913
+ };
97914
+ type: string;
97915
+ };
97916
+ staff_member: {
97917
+ description: string;
97918
+ properties: {
97919
+ email_address: {
97920
+ description: string;
97921
+ type: string;
97922
+ };
97923
+ name: {
97924
+ description: string;
97925
+ type: string;
97926
+ };
97927
+ phone_number: {
97928
+ description: string;
97929
+ type: string;
97930
+ };
97931
+ space_keys: {
97932
+ description: string;
97933
+ items: {
97934
+ type: string;
97935
+ };
97936
+ type: string;
97937
+ };
97938
+ staff_member_key: {
97939
+ description: string;
97940
+ type: string;
97941
+ };
97942
+ user_identity_id: {
97943
+ format: string;
97944
+ type: string;
97945
+ };
97946
+ };
97947
+ required: string[];
97948
+ type: string;
97949
+ 'x-route-path': string;
97950
+ };
97951
+ };
97952
+ required: string[];
97953
+ type: string;
97954
+ };
97955
+ };
97956
+ };
97957
+ description: string;
97958
+ };
97959
+ 400: {
97960
+ description: string;
97961
+ };
97962
+ 401: {
97963
+ description: string;
97964
+ };
97965
+ };
97966
+ security: {
97967
+ client_session_with_customer: never[];
97968
+ }[];
97969
+ summary: string;
97970
+ tags: never[];
97971
+ 'x-fern-sdk-group-name': string[];
97972
+ 'x-fern-sdk-method-name': string;
97973
+ 'x-fern-sdk-return-value': string;
97974
+ 'x-response-key': string;
97975
+ 'x-title': string;
97976
+ 'x-undocumented': string;
97977
+ };
97978
+ };
97589
97979
  '/seam/customer/v1/staff_members/list': {
97590
97980
  get: {
97591
97981
  description: string;
@@ -167528,7 +167918,7 @@ type Routes = {
167528
167918
  /** Type of connector to create */
167529
167919
  connector_type: 'mews' | 'mock';
167530
167920
  /** Key identifying the customer */
167531
- customer_key: string;
167921
+ customer_key?: string | undefined;
167532
167922
  /** Instance-specific configuration for the connector */
167533
167923
  config: {
167534
167924
  client_token?: string | undefined;
@@ -167555,6 +167945,26 @@ type Routes = {
167555
167945
  };
167556
167946
  };
167557
167947
  };
167948
+ '/seam/customer/v1/connectors/list': {
167949
+ route: '/seam/customer/v1/connectors/list';
167950
+ method: 'GET' | 'POST';
167951
+ queryParams: {};
167952
+ jsonBody: {};
167953
+ commonParams: {};
167954
+ formData: {};
167955
+ jsonResponse: {
167956
+ connectors: {
167957
+ connector_id: string;
167958
+ connector_type: string;
167959
+ status: 'active' | 'inactive' | 'error';
167960
+ config: {
167961
+ [x: string]: any;
167962
+ };
167963
+ created_at: string;
167964
+ updated_at: string;
167965
+ }[];
167966
+ };
167967
+ };
167558
167968
  '/seam/customer/v1/connectors/sync': {
167559
167969
  route: '/seam/customer/v1/connectors/sync';
167560
167970
  method: 'POST';
@@ -169798,6 +170208,95 @@ type Routes = {
169798
170208
  }[];
169799
170209
  };
169800
170210
  };
170211
+ '/seam/customer/v1/staff_members/get': {
170212
+ route: '/seam/customer/v1/staff_members/get';
170213
+ method: 'GET' | 'POST';
170214
+ queryParams: {};
170215
+ jsonBody: {};
170216
+ commonParams: {
170217
+ /** Key of staff member to get. */
170218
+ staff_member_key: string;
170219
+ };
170220
+ formData: {};
170221
+ jsonResponse: {
170222
+ /** Represents an Access Grant. Access Grants enable you to grant a user identity access to spaces, entrances, and devices through one or more access methods, such as mobile keys, plastic cards, and PIN codes. You can create an Access Grant for an existing user identity, or you can create a new user identity *while* creating the new Access Grant. */
170223
+ access_grant: {
170224
+ /** ID of the Seam workspace associated with the Access Grant. */
170225
+ workspace_id: string;
170226
+ /** ID of the Access Grant. */
170227
+ access_grant_id: string;
170228
+ /** Unique key for the access grant within the workspace. */
170229
+ access_grant_key?: string | undefined;
170230
+ /** Reservation key for the access grant. */
170231
+ reservation_key?: string | undefined;
170232
+ /** ID of user identity to which the Access Grant gives access. */
170233
+ user_identity_id: string;
170234
+ /**
170235
+ * @deprecated Use `space_ids`.*/
170236
+ location_ids: string[];
170237
+ /** IDs of the spaces to which the Access Grant gives access. */
170238
+ space_ids: string[];
170239
+ /** Access methods that the user requested for the Access Grant. */
170240
+ requested_access_methods: {
170241
+ /** Display name of the access method. */
170242
+ display_name: string;
170243
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
170244
+ mode: 'code' | 'card' | 'mobile_key';
170245
+ /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
170246
+ code?: string | undefined;
170247
+ /** Date and time at which the requested access method was added to the Access Grant. */
170248
+ created_at: string;
170249
+ /** IDs of the access methods created for the requested access method. */
170250
+ created_access_method_ids: string[];
170251
+ }[];
170252
+ /** IDs of the access methods created for the Access Grant. */
170253
+ access_method_ids: string[];
170254
+ /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
170255
+ client_session_token?: string | undefined;
170256
+ /** Name of the Access Grant. If not provided, the display name will be computed. */
170257
+ name: string | null;
170258
+ /** Display name of the Access Grant. */
170259
+ display_name: string;
170260
+ /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
170261
+ instant_key_url?: string | undefined;
170262
+ /** Date and time at which the Access Grant was created. */
170263
+ created_at: string;
170264
+ /** Date and time at which the Access Grant starts. */
170265
+ starts_at: string;
170266
+ /** Date and time at which the Access Grant ends. */
170267
+ ends_at: string | null;
170268
+ /** Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
170269
+ warnings: {
170270
+ /** Date and time at which Seam created the warning. */
170271
+ created_at: string;
170272
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
170273
+ message: string;
170274
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
170275
+ warning_code: 'being_deleted';
170276
+ }[];
170277
+ /** ID of the customization profile associated with the Access Grant. */
170278
+ customization_profile_id?: string | undefined;
170279
+ };
170280
+ spaces: {
170281
+ space_key: string;
170282
+ child_space_keys?: string[] | undefined;
170283
+ }[];
170284
+ /** Represents a staff member for a specific customer. */
170285
+ staff_member: {
170286
+ /** Your unique identifier for the staff. */
170287
+ staff_member_key: string;
170288
+ /** Phone number associated with the user identity. */
170289
+ phone_number?: string | undefined;
170290
+ /** Email address associated with the user identity. */
170291
+ email_address?: string | undefined;
170292
+ /** Your display name for this user identity resource. */
170293
+ name: string;
170294
+ /** List of unique identifiers for the spaces the staff member is associated with. */
170295
+ space_keys?: string[] | undefined;
170296
+ user_identity_id?: string | undefined;
170297
+ };
170298
+ };
170299
+ };
169801
170300
  '/seam/customer/v1/staff_members/list': {
169802
170301
  route: '/seam/customer/v1/staff_members/list';
169803
170302
  method: 'GET' | 'POST';