@seamapi/types 1.451.0 → 1.453.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.
@@ -3625,12 +3625,14 @@ declare const access_grant: z.ZodObject<{
3625
3625
  }>, "many">;
3626
3626
  access_method_ids: z.ZodArray<z.ZodString, "many">;
3627
3627
  client_session_token: z.ZodOptional<z.ZodString>;
3628
+ name: z.ZodNullable<z.ZodString>;
3628
3629
  display_name: z.ZodString;
3629
3630
  instant_key_url: z.ZodOptional<z.ZodString>;
3630
3631
  created_at: z.ZodString;
3631
3632
  starts_at: z.ZodOptional<z.ZodString>;
3632
3633
  ends_at: z.ZodOptional<z.ZodString>;
3633
3634
  }, "strip", z.ZodTypeAny, {
3635
+ name: string | null;
3634
3636
  display_name: string;
3635
3637
  workspace_id: string;
3636
3638
  created_at: string;
@@ -3651,6 +3653,7 @@ declare const access_grant: z.ZodObject<{
3651
3653
  client_session_token?: string | undefined;
3652
3654
  instant_key_url?: string | undefined;
3653
3655
  }, {
3656
+ name: string | null;
3654
3657
  display_name: string;
3655
3658
  workspace_id: string;
3656
3659
  created_at: string;
@@ -28471,6 +28474,11 @@ declare const _default: {
28471
28474
  type: string;
28472
28475
  'x-deprecated': string;
28473
28476
  };
28477
+ name: {
28478
+ description: string;
28479
+ nullable: boolean;
28480
+ type: string;
28481
+ };
28474
28482
  requested_access_methods: {
28475
28483
  description: string;
28476
28484
  items: {
@@ -43308,6 +43316,8 @@ declare const _default: {
43308
43316
  description: string;
43309
43317
  format: string;
43310
43318
  type: string;
43319
+ default?: never;
43320
+ nullable?: never;
43311
43321
  };
43312
43322
  } | {
43313
43323
  in: string;
@@ -43317,6 +43327,30 @@ declare const _default: {
43317
43327
  description: string;
43318
43328
  type: string;
43319
43329
  format?: never;
43330
+ default?: never;
43331
+ nullable?: never;
43332
+ };
43333
+ } | {
43334
+ in: string;
43335
+ name: string;
43336
+ required: boolean;
43337
+ schema: {
43338
+ default: number;
43339
+ description: string;
43340
+ format: string;
43341
+ type: string;
43342
+ nullable?: never;
43343
+ };
43344
+ } | {
43345
+ in: string;
43346
+ name: string;
43347
+ required: boolean;
43348
+ schema: {
43349
+ description: string;
43350
+ nullable: boolean;
43351
+ type: string;
43352
+ format?: never;
43353
+ default?: never;
43320
43354
  };
43321
43355
  })[];
43322
43356
  responses: {
@@ -43334,6 +43368,9 @@ declare const _default: {
43334
43368
  ok: {
43335
43369
  type: string;
43336
43370
  };
43371
+ pagination: {
43372
+ $ref: string;
43373
+ };
43337
43374
  };
43338
43375
  required: string[];
43339
43376
  type: string;
@@ -43391,6 +43428,17 @@ declare const _default: {
43391
43428
  format: string;
43392
43429
  type: string;
43393
43430
  };
43431
+ limit: {
43432
+ default: number;
43433
+ description: string;
43434
+ format: string;
43435
+ type: string;
43436
+ };
43437
+ page_cursor: {
43438
+ description: string;
43439
+ nullable: boolean;
43440
+ type: string;
43441
+ };
43394
43442
  user_identifier_key: {
43395
43443
  description: string;
43396
43444
  type: string;
@@ -43417,6 +43465,9 @@ declare const _default: {
43417
43465
  ok: {
43418
43466
  type: string;
43419
43467
  };
43468
+ pagination: {
43469
+ $ref: string;
43470
+ };
43420
43471
  };
43421
43472
  required: string[];
43422
43473
  type: string;
@@ -44431,6 +44482,11 @@ declare const _default: {
44431
44482
  type: string;
44432
44483
  'x-deprecated': string;
44433
44484
  };
44485
+ name: {
44486
+ description: string;
44487
+ nullable: boolean;
44488
+ type: string;
44489
+ };
44434
44490
  requested_access_methods: {
44435
44491
  items: {
44436
44492
  properties: {
@@ -45037,6 +45093,11 @@ declare const _default: {
45037
45093
  nullable: boolean;
45038
45094
  type: string;
45039
45095
  };
45096
+ name: {
45097
+ description: string;
45098
+ nullable: boolean;
45099
+ type: string;
45100
+ };
45040
45101
  starts_at: {
45041
45102
  description: string;
45042
45103
  format: string;
@@ -45122,6 +45183,11 @@ declare const _default: {
45122
45183
  nullable: boolean;
45123
45184
  type: string;
45124
45185
  };
45186
+ name: {
45187
+ description: string;
45188
+ nullable: boolean;
45189
+ type: string;
45190
+ };
45125
45191
  starts_at: {
45126
45192
  description: string;
45127
45193
  format: string;
@@ -49835,21 +49901,31 @@ declare const _default: {
49835
49901
  client_session?: never;
49836
49902
  pat_with_workspace?: never;
49837
49903
  console_session_with_workspace?: never;
49904
+ client_session_with_customer?: never;
49838
49905
  } | {
49839
49906
  client_session: never[];
49840
49907
  api_key?: never;
49841
49908
  pat_with_workspace?: never;
49842
49909
  console_session_with_workspace?: never;
49910
+ client_session_with_customer?: never;
49843
49911
  } | {
49844
49912
  pat_with_workspace: never[];
49845
49913
  api_key?: never;
49846
49914
  client_session?: never;
49847
49915
  console_session_with_workspace?: never;
49916
+ client_session_with_customer?: never;
49848
49917
  } | {
49849
49918
  console_session_with_workspace: never[];
49850
49919
  api_key?: never;
49851
49920
  client_session?: never;
49852
49921
  pat_with_workspace?: never;
49922
+ client_session_with_customer?: never;
49923
+ } | {
49924
+ client_session_with_customer: never[];
49925
+ api_key?: never;
49926
+ client_session?: never;
49927
+ pat_with_workspace?: never;
49928
+ console_session_with_workspace?: never;
49853
49929
  })[];
49854
49930
  summary: string;
49855
49931
  tags: string[];
@@ -49958,21 +50034,31 @@ declare const _default: {
49958
50034
  client_session?: never;
49959
50035
  pat_with_workspace?: never;
49960
50036
  console_session_with_workspace?: never;
50037
+ client_session_with_customer?: never;
49961
50038
  } | {
49962
50039
  client_session: never[];
49963
50040
  api_key?: never;
49964
50041
  pat_with_workspace?: never;
49965
50042
  console_session_with_workspace?: never;
50043
+ client_session_with_customer?: never;
49966
50044
  } | {
49967
50045
  pat_with_workspace: never[];
49968
50046
  api_key?: never;
49969
50047
  client_session?: never;
49970
50048
  console_session_with_workspace?: never;
50049
+ client_session_with_customer?: never;
49971
50050
  } | {
49972
50051
  console_session_with_workspace: never[];
49973
50052
  api_key?: never;
49974
50053
  client_session?: never;
49975
50054
  pat_with_workspace?: never;
50055
+ client_session_with_customer?: never;
50056
+ } | {
50057
+ client_session_with_customer: never[];
50058
+ api_key?: never;
50059
+ client_session?: never;
50060
+ pat_with_workspace?: never;
50061
+ console_session_with_workspace?: never;
49976
50062
  })[];
49977
50063
  summary: string;
49978
50064
  tags: string[];
@@ -66436,14 +66522,22 @@ declare const _default: {
66436
66522
  pat_with_workspace: never[];
66437
66523
  console_session_with_workspace?: never;
66438
66524
  api_key?: never;
66525
+ client_session_with_customer?: never;
66439
66526
  } | {
66440
66527
  console_session_with_workspace: never[];
66441
66528
  pat_with_workspace?: never;
66442
66529
  api_key?: never;
66530
+ client_session_with_customer?: never;
66443
66531
  } | {
66444
66532
  api_key: never[];
66445
66533
  pat_with_workspace?: never;
66446
66534
  console_session_with_workspace?: never;
66535
+ client_session_with_customer?: never;
66536
+ } | {
66537
+ client_session_with_customer: never[];
66538
+ pat_with_workspace?: never;
66539
+ console_session_with_workspace?: never;
66540
+ api_key?: never;
66447
66541
  })[];
66448
66542
  summary: string;
66449
66543
  tags: never[];
@@ -66509,14 +66603,22 @@ declare const _default: {
66509
66603
  pat_with_workspace: never[];
66510
66604
  console_session_with_workspace?: never;
66511
66605
  api_key?: never;
66606
+ client_session_with_customer?: never;
66512
66607
  } | {
66513
66608
  console_session_with_workspace: never[];
66514
66609
  pat_with_workspace?: never;
66515
66610
  api_key?: never;
66611
+ client_session_with_customer?: never;
66516
66612
  } | {
66517
66613
  api_key: never[];
66518
66614
  pat_with_workspace?: never;
66519
66615
  console_session_with_workspace?: never;
66616
+ client_session_with_customer?: never;
66617
+ } | {
66618
+ client_session_with_customer: never[];
66619
+ pat_with_workspace?: never;
66620
+ console_session_with_workspace?: never;
66621
+ api_key?: never;
66520
66622
  })[];
66521
66623
  summary: string;
66522
66624
  tags: never[];
@@ -66583,14 +66685,22 @@ declare const _default: {
66583
66685
  pat_with_workspace: never[];
66584
66686
  console_session_with_workspace?: never;
66585
66687
  api_key?: never;
66688
+ client_session_with_customer?: never;
66586
66689
  } | {
66587
66690
  console_session_with_workspace: never[];
66588
66691
  pat_with_workspace?: never;
66589
66692
  api_key?: never;
66693
+ client_session_with_customer?: never;
66590
66694
  } | {
66591
66695
  api_key: never[];
66592
66696
  pat_with_workspace?: never;
66593
66697
  console_session_with_workspace?: never;
66698
+ client_session_with_customer?: never;
66699
+ } | {
66700
+ client_session_with_customer: never[];
66701
+ pat_with_workspace?: never;
66702
+ console_session_with_workspace?: never;
66703
+ api_key?: never;
66594
66704
  })[];
66595
66705
  summary: string;
66596
66706
  tags: never[];
@@ -66656,14 +66766,22 @@ declare const _default: {
66656
66766
  pat_with_workspace: never[];
66657
66767
  console_session_with_workspace?: never;
66658
66768
  api_key?: never;
66769
+ client_session_with_customer?: never;
66659
66770
  } | {
66660
66771
  console_session_with_workspace: never[];
66661
66772
  pat_with_workspace?: never;
66662
66773
  api_key?: never;
66774
+ client_session_with_customer?: never;
66663
66775
  } | {
66664
66776
  api_key: never[];
66665
66777
  pat_with_workspace?: never;
66666
66778
  console_session_with_workspace?: never;
66779
+ client_session_with_customer?: never;
66780
+ } | {
66781
+ client_session_with_customer: never[];
66782
+ pat_with_workspace?: never;
66783
+ console_session_with_workspace?: never;
66784
+ api_key?: never;
66667
66785
  })[];
66668
66786
  summary: string;
66669
66787
  tags: never[];
@@ -66683,6 +66801,22 @@ declare const _default: {
66683
66801
  'application/json': {
66684
66802
  schema: {
66685
66803
  properties: {
66804
+ acs_entrance_ids: {
66805
+ description: string;
66806
+ items: {
66807
+ format: string;
66808
+ type: string;
66809
+ };
66810
+ type: string;
66811
+ };
66812
+ device_ids: {
66813
+ description: string;
66814
+ items: {
66815
+ format: string;
66816
+ type: string;
66817
+ };
66818
+ type: string;
66819
+ };
66686
66820
  name: {
66687
66821
  description: string;
66688
66822
  type: string;
@@ -66692,8 +66826,11 @@ declare const _default: {
66692
66826
  format: string;
66693
66827
  type: string;
66694
66828
  };
66829
+ space_key: {
66830
+ description: string;
66831
+ type: string;
66832
+ };
66695
66833
  };
66696
- required: string[];
66697
66834
  type: string;
66698
66835
  };
66699
66836
  };
@@ -66730,14 +66867,22 @@ declare const _default: {
66730
66867
  pat_with_workspace: never[];
66731
66868
  console_session_with_workspace?: never;
66732
66869
  api_key?: never;
66870
+ client_session_with_customer?: never;
66733
66871
  } | {
66734
66872
  console_session_with_workspace: never[];
66735
66873
  pat_with_workspace?: never;
66736
66874
  api_key?: never;
66875
+ client_session_with_customer?: never;
66737
66876
  } | {
66738
66877
  api_key: never[];
66739
66878
  pat_with_workspace?: never;
66740
66879
  console_session_with_workspace?: never;
66880
+ client_session_with_customer?: never;
66881
+ } | {
66882
+ client_session_with_customer: never[];
66883
+ pat_with_workspace?: never;
66884
+ console_session_with_workspace?: never;
66885
+ api_key?: never;
66741
66886
  })[];
66742
66887
  summary: string;
66743
66888
  tags: never[];
@@ -66756,6 +66901,22 @@ declare const _default: {
66756
66901
  'application/json': {
66757
66902
  schema: {
66758
66903
  properties: {
66904
+ acs_entrance_ids: {
66905
+ description: string;
66906
+ items: {
66907
+ format: string;
66908
+ type: string;
66909
+ };
66910
+ type: string;
66911
+ };
66912
+ device_ids: {
66913
+ description: string;
66914
+ items: {
66915
+ format: string;
66916
+ type: string;
66917
+ };
66918
+ type: string;
66919
+ };
66759
66920
  name: {
66760
66921
  description: string;
66761
66922
  type: string;
@@ -66765,8 +66926,11 @@ declare const _default: {
66765
66926
  format: string;
66766
66927
  type: string;
66767
66928
  };
66929
+ space_key: {
66930
+ description: string;
66931
+ type: string;
66932
+ };
66768
66933
  };
66769
- required: string[];
66770
66934
  type: string;
66771
66935
  };
66772
66936
  };
@@ -66803,14 +66967,22 @@ declare const _default: {
66803
66967
  pat_with_workspace: never[];
66804
66968
  console_session_with_workspace?: never;
66805
66969
  api_key?: never;
66970
+ client_session_with_customer?: never;
66806
66971
  } | {
66807
66972
  console_session_with_workspace: never[];
66808
66973
  pat_with_workspace?: never;
66809
66974
  api_key?: never;
66975
+ client_session_with_customer?: never;
66810
66976
  } | {
66811
66977
  api_key: never[];
66812
66978
  pat_with_workspace?: never;
66813
66979
  console_session_with_workspace?: never;
66980
+ client_session_with_customer?: never;
66981
+ } | {
66982
+ client_session_with_customer: never[];
66983
+ pat_with_workspace?: never;
66984
+ console_session_with_workspace?: never;
66985
+ api_key?: never;
66814
66986
  })[];
66815
66987
  summary: string;
66816
66988
  tags: never[];
@@ -84980,6 +85152,10 @@ interface Routes {
84980
85152
  device_id: string;
84981
85153
  /** Your user ID for the user by which to filter unmanaged access codes. */
84982
85154
  user_identifier_key?: string | undefined;
85155
+ /** Numerical limit on the number of unmanaged access codes to return. */
85156
+ limit?: number;
85157
+ /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
85158
+ page_cursor?: (string | undefined) | null;
84983
85159
  };
84984
85160
  formData: {};
84985
85161
  jsonResponse: {
@@ -85470,6 +85646,15 @@ interface Routes {
85470
85646
  /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */
85471
85647
  status: 'set';
85472
85648
  }>;
85649
+ /** Information about the current page of results. */
85650
+ pagination: {
85651
+ /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
85652
+ next_page_cursor: string | null;
85653
+ /** Indicates whether there is another page of results after this one. */
85654
+ has_next_page: boolean;
85655
+ /** URL to get the next page of results. */
85656
+ next_page_url: string | null;
85657
+ };
85473
85658
  };
85474
85659
  };
85475
85660
  '/access_codes/unmanaged/update': {
@@ -86833,6 +87018,8 @@ interface Routes {
86833
87018
  full_name?: (string | null) | undefined;
86834
87019
  };
86835
87020
  }) & {
87021
+ /** Name for the access grant. */
87022
+ name?: (string | undefined) | null;
86836
87023
  /** Unique key for the access grant within the workspace. */
86837
87024
  access_grant_key?: string | undefined;
86838
87025
  /**
@@ -86896,6 +87083,8 @@ interface Routes {
86896
87083
  access_method_ids: string[];
86897
87084
  /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
86898
87085
  client_session_token?: string | undefined;
87086
+ /** Name of the Access Grant. If not provided, the display name will be computed. */
87087
+ name: string | null;
86899
87088
  /** Display name of the Access Grant. */
86900
87089
  display_name: string;
86901
87090
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -86965,6 +87154,8 @@ interface Routes {
86965
87154
  access_method_ids: string[];
86966
87155
  /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
86967
87156
  client_session_token?: string | undefined;
87157
+ /** Name of the Access Grant. If not provided, the display name will be computed. */
87158
+ name: string | null;
86968
87159
  /** Display name of the Access Grant. */
86969
87160
  display_name: string;
86970
87161
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -87029,6 +87220,8 @@ interface Routes {
87029
87220
  access_method_ids: string[];
87030
87221
  /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
87031
87222
  client_session_token?: string | undefined;
87223
+ /** Name of the Access Grant. If not provided, the display name will be computed. */
87224
+ name: string | null;
87032
87225
  /** Display name of the Access Grant. */
87033
87226
  display_name: string;
87034
87227
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -87048,6 +87241,8 @@ interface Routes {
87048
87241
  queryParams: {};
87049
87242
  jsonBody: {};
87050
87243
  commonParams: {
87244
+ /** Display name for the access grant. */
87245
+ name?: (string | null) | undefined;
87051
87246
  /** ID of the Access Grant to update. */
87052
87247
  access_grant_id: string;
87053
87248
  /** Date and time at which the validity of the grant starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -124940,10 +125135,16 @@ interface Routes {
124940
125135
  method: 'POST' | 'PATCH';
124941
125136
  queryParams: {};
124942
125137
  jsonBody: {
124943
- /** ID of the space that you want to update. */
124944
- space_id: string;
124945
125138
  /** Name of the space. */
124946
125139
  name?: string | undefined;
125140
+ /** ID of the space that you want to update. */
125141
+ space_id?: string | undefined;
125142
+ /** Unique key of the space that you want to update. */
125143
+ space_key?: string | undefined;
125144
+ /** IDs of the devices that you want to set for the space. If specified, this will replace all existing devices. */
125145
+ device_ids?: string[] | undefined;
125146
+ /** IDs of the entrances that you want to set for the space. If specified, this will replace all existing entrances. */
125147
+ acs_entrance_ids?: string[] | undefined;
124947
125148
  };
124948
125149
  commonParams: {};
124949
125150
  formData: {};
@@ -140433,6 +140634,8 @@ interface Routes {
140433
140634
  access_method_ids: string[];
140434
140635
  /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
140435
140636
  client_session_token?: string | undefined;
140637
+ /** Name of the Access Grant. If not provided, the display name will be computed. */
140638
+ name: string | null;
140436
140639
  /** Display name of the Access Grant. */
140437
140640
  display_name: string;
140438
140641
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -140499,6 +140702,8 @@ interface Routes {
140499
140702
  access_method_ids: string[];
140500
140703
  /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
140501
140704
  client_session_token?: string | undefined;
140705
+ /** Name of the Access Grant. If not provided, the display name will be computed. */
140706
+ name: string | null;
140502
140707
  /** Display name of the Access Grant. */
140503
140708
  display_name: string;
140504
140709
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -140561,6 +140766,8 @@ interface Routes {
140561
140766
  access_method_ids: string[];
140562
140767
  /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
140563
140768
  client_session_token?: string | undefined;
140769
+ /** Name of the Access Grant. If not provided, the display name will be computed. */
140770
+ name: string | null;
140564
140771
  /** Display name of the Access Grant. */
140565
140772
  display_name: string;
140566
140773
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */