@seamapi/types 1.450.0 → 1.452.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;
@@ -3681,6 +3684,7 @@ declare const access_method: z.ZodObject<{
3681
3684
  created_at: z.ZodString;
3682
3685
  issued_at: z.ZodOptional<z.ZodString>;
3683
3686
  instant_key_url: z.ZodOptional<z.ZodString>;
3687
+ client_session_token: z.ZodOptional<z.ZodString>;
3684
3688
  is_encoding_required: z.ZodOptional<z.ZodBoolean>;
3685
3689
  code: z.ZodOptional<z.ZodString>;
3686
3690
  }, "strip", z.ZodTypeAny, {
@@ -3690,6 +3694,7 @@ declare const access_method: z.ZodObject<{
3690
3694
  mode: "code" | "card" | "mobile_key";
3691
3695
  access_method_id: string;
3692
3696
  code?: string | undefined;
3697
+ client_session_token?: string | undefined;
3693
3698
  instant_key_url?: string | undefined;
3694
3699
  issued_at?: string | undefined;
3695
3700
  is_encoding_required?: boolean | undefined;
@@ -3700,6 +3705,7 @@ declare const access_method: z.ZodObject<{
3700
3705
  mode: "code" | "card" | "mobile_key";
3701
3706
  access_method_id: string;
3702
3707
  code?: string | undefined;
3708
+ client_session_token?: string | undefined;
3703
3709
  instant_key_url?: string | undefined;
3704
3710
  issued_at?: string | undefined;
3705
3711
  is_encoding_required?: boolean | undefined;
@@ -28468,6 +28474,11 @@ declare const _default: {
28468
28474
  type: string;
28469
28475
  'x-deprecated': string;
28470
28476
  };
28477
+ name: {
28478
+ description: string;
28479
+ nullable: boolean;
28480
+ type: string;
28481
+ };
28471
28482
  requested_access_methods: {
28472
28483
  description: string;
28473
28484
  items: {
@@ -28537,6 +28548,10 @@ declare const _default: {
28537
28548
  format: string;
28538
28549
  type: string;
28539
28550
  };
28551
+ client_session_token: {
28552
+ description: string;
28553
+ type: string;
28554
+ };
28540
28555
  code: {
28541
28556
  description: string;
28542
28557
  type: string;
@@ -44424,6 +44439,11 @@ declare const _default: {
44424
44439
  type: string;
44425
44440
  'x-deprecated': string;
44426
44441
  };
44442
+ name: {
44443
+ description: string;
44444
+ nullable: boolean;
44445
+ type: string;
44446
+ };
44427
44447
  requested_access_methods: {
44428
44448
  items: {
44429
44449
  properties: {
@@ -45030,6 +45050,11 @@ declare const _default: {
45030
45050
  nullable: boolean;
45031
45051
  type: string;
45032
45052
  };
45053
+ name: {
45054
+ description: string;
45055
+ nullable: boolean;
45056
+ type: string;
45057
+ };
45033
45058
  starts_at: {
45034
45059
  description: string;
45035
45060
  format: string;
@@ -45115,6 +45140,11 @@ declare const _default: {
45115
45140
  nullable: boolean;
45116
45141
  type: string;
45117
45142
  };
45143
+ name: {
45144
+ description: string;
45145
+ nullable: boolean;
45146
+ type: string;
45147
+ };
45118
45148
  starts_at: {
45119
45149
  description: string;
45120
45150
  format: string;
@@ -49828,21 +49858,31 @@ declare const _default: {
49828
49858
  client_session?: never;
49829
49859
  pat_with_workspace?: never;
49830
49860
  console_session_with_workspace?: never;
49861
+ client_session_with_customer?: never;
49831
49862
  } | {
49832
49863
  client_session: never[];
49833
49864
  api_key?: never;
49834
49865
  pat_with_workspace?: never;
49835
49866
  console_session_with_workspace?: never;
49867
+ client_session_with_customer?: never;
49836
49868
  } | {
49837
49869
  pat_with_workspace: never[];
49838
49870
  api_key?: never;
49839
49871
  client_session?: never;
49840
49872
  console_session_with_workspace?: never;
49873
+ client_session_with_customer?: never;
49841
49874
  } | {
49842
49875
  console_session_with_workspace: never[];
49843
49876
  api_key?: never;
49844
49877
  client_session?: never;
49845
49878
  pat_with_workspace?: never;
49879
+ client_session_with_customer?: never;
49880
+ } | {
49881
+ client_session_with_customer: never[];
49882
+ api_key?: never;
49883
+ client_session?: never;
49884
+ pat_with_workspace?: never;
49885
+ console_session_with_workspace?: never;
49846
49886
  })[];
49847
49887
  summary: string;
49848
49888
  tags: string[];
@@ -49951,21 +49991,31 @@ declare const _default: {
49951
49991
  client_session?: never;
49952
49992
  pat_with_workspace?: never;
49953
49993
  console_session_with_workspace?: never;
49994
+ client_session_with_customer?: never;
49954
49995
  } | {
49955
49996
  client_session: never[];
49956
49997
  api_key?: never;
49957
49998
  pat_with_workspace?: never;
49958
49999
  console_session_with_workspace?: never;
50000
+ client_session_with_customer?: never;
49959
50001
  } | {
49960
50002
  pat_with_workspace: never[];
49961
50003
  api_key?: never;
49962
50004
  client_session?: never;
49963
50005
  console_session_with_workspace?: never;
50006
+ client_session_with_customer?: never;
49964
50007
  } | {
49965
50008
  console_session_with_workspace: never[];
49966
50009
  api_key?: never;
49967
50010
  client_session?: never;
49968
50011
  pat_with_workspace?: never;
50012
+ client_session_with_customer?: never;
50013
+ } | {
50014
+ client_session_with_customer: never[];
50015
+ api_key?: never;
50016
+ client_session?: never;
50017
+ pat_with_workspace?: never;
50018
+ console_session_with_workspace?: never;
49969
50019
  })[];
49970
50020
  summary: string;
49971
50021
  tags: string[];
@@ -66429,14 +66479,22 @@ declare const _default: {
66429
66479
  pat_with_workspace: never[];
66430
66480
  console_session_with_workspace?: never;
66431
66481
  api_key?: never;
66482
+ client_session_with_customer?: never;
66432
66483
  } | {
66433
66484
  console_session_with_workspace: never[];
66434
66485
  pat_with_workspace?: never;
66435
66486
  api_key?: never;
66487
+ client_session_with_customer?: never;
66436
66488
  } | {
66437
66489
  api_key: never[];
66438
66490
  pat_with_workspace?: never;
66439
66491
  console_session_with_workspace?: never;
66492
+ client_session_with_customer?: never;
66493
+ } | {
66494
+ client_session_with_customer: never[];
66495
+ pat_with_workspace?: never;
66496
+ console_session_with_workspace?: never;
66497
+ api_key?: never;
66440
66498
  })[];
66441
66499
  summary: string;
66442
66500
  tags: never[];
@@ -66502,14 +66560,22 @@ declare const _default: {
66502
66560
  pat_with_workspace: never[];
66503
66561
  console_session_with_workspace?: never;
66504
66562
  api_key?: never;
66563
+ client_session_with_customer?: never;
66505
66564
  } | {
66506
66565
  console_session_with_workspace: never[];
66507
66566
  pat_with_workspace?: never;
66508
66567
  api_key?: never;
66568
+ client_session_with_customer?: never;
66509
66569
  } | {
66510
66570
  api_key: never[];
66511
66571
  pat_with_workspace?: never;
66512
66572
  console_session_with_workspace?: never;
66573
+ client_session_with_customer?: never;
66574
+ } | {
66575
+ client_session_with_customer: never[];
66576
+ pat_with_workspace?: never;
66577
+ console_session_with_workspace?: never;
66578
+ api_key?: never;
66513
66579
  })[];
66514
66580
  summary: string;
66515
66581
  tags: never[];
@@ -66576,14 +66642,22 @@ declare const _default: {
66576
66642
  pat_with_workspace: never[];
66577
66643
  console_session_with_workspace?: never;
66578
66644
  api_key?: never;
66645
+ client_session_with_customer?: never;
66579
66646
  } | {
66580
66647
  console_session_with_workspace: never[];
66581
66648
  pat_with_workspace?: never;
66582
66649
  api_key?: never;
66650
+ client_session_with_customer?: never;
66583
66651
  } | {
66584
66652
  api_key: never[];
66585
66653
  pat_with_workspace?: never;
66586
66654
  console_session_with_workspace?: never;
66655
+ client_session_with_customer?: never;
66656
+ } | {
66657
+ client_session_with_customer: never[];
66658
+ pat_with_workspace?: never;
66659
+ console_session_with_workspace?: never;
66660
+ api_key?: never;
66587
66661
  })[];
66588
66662
  summary: string;
66589
66663
  tags: never[];
@@ -66649,14 +66723,22 @@ declare const _default: {
66649
66723
  pat_with_workspace: never[];
66650
66724
  console_session_with_workspace?: never;
66651
66725
  api_key?: never;
66726
+ client_session_with_customer?: never;
66652
66727
  } | {
66653
66728
  console_session_with_workspace: never[];
66654
66729
  pat_with_workspace?: never;
66655
66730
  api_key?: never;
66731
+ client_session_with_customer?: never;
66656
66732
  } | {
66657
66733
  api_key: never[];
66658
66734
  pat_with_workspace?: never;
66659
66735
  console_session_with_workspace?: never;
66736
+ client_session_with_customer?: never;
66737
+ } | {
66738
+ client_session_with_customer: never[];
66739
+ pat_with_workspace?: never;
66740
+ console_session_with_workspace?: never;
66741
+ api_key?: never;
66660
66742
  })[];
66661
66743
  summary: string;
66662
66744
  tags: never[];
@@ -66676,6 +66758,22 @@ declare const _default: {
66676
66758
  'application/json': {
66677
66759
  schema: {
66678
66760
  properties: {
66761
+ acs_entrance_ids: {
66762
+ description: string;
66763
+ items: {
66764
+ format: string;
66765
+ type: string;
66766
+ };
66767
+ type: string;
66768
+ };
66769
+ device_ids: {
66770
+ description: string;
66771
+ items: {
66772
+ format: string;
66773
+ type: string;
66774
+ };
66775
+ type: string;
66776
+ };
66679
66777
  name: {
66680
66778
  description: string;
66681
66779
  type: string;
@@ -66685,8 +66783,11 @@ declare const _default: {
66685
66783
  format: string;
66686
66784
  type: string;
66687
66785
  };
66786
+ space_key: {
66787
+ description: string;
66788
+ type: string;
66789
+ };
66688
66790
  };
66689
- required: string[];
66690
66791
  type: string;
66691
66792
  };
66692
66793
  };
@@ -66723,14 +66824,22 @@ declare const _default: {
66723
66824
  pat_with_workspace: never[];
66724
66825
  console_session_with_workspace?: never;
66725
66826
  api_key?: never;
66827
+ client_session_with_customer?: never;
66726
66828
  } | {
66727
66829
  console_session_with_workspace: never[];
66728
66830
  pat_with_workspace?: never;
66729
66831
  api_key?: never;
66832
+ client_session_with_customer?: never;
66730
66833
  } | {
66731
66834
  api_key: never[];
66732
66835
  pat_with_workspace?: never;
66733
66836
  console_session_with_workspace?: never;
66837
+ client_session_with_customer?: never;
66838
+ } | {
66839
+ client_session_with_customer: never[];
66840
+ pat_with_workspace?: never;
66841
+ console_session_with_workspace?: never;
66842
+ api_key?: never;
66734
66843
  })[];
66735
66844
  summary: string;
66736
66845
  tags: never[];
@@ -66749,6 +66858,22 @@ declare const _default: {
66749
66858
  'application/json': {
66750
66859
  schema: {
66751
66860
  properties: {
66861
+ acs_entrance_ids: {
66862
+ description: string;
66863
+ items: {
66864
+ format: string;
66865
+ type: string;
66866
+ };
66867
+ type: string;
66868
+ };
66869
+ device_ids: {
66870
+ description: string;
66871
+ items: {
66872
+ format: string;
66873
+ type: string;
66874
+ };
66875
+ type: string;
66876
+ };
66752
66877
  name: {
66753
66878
  description: string;
66754
66879
  type: string;
@@ -66758,8 +66883,11 @@ declare const _default: {
66758
66883
  format: string;
66759
66884
  type: string;
66760
66885
  };
66886
+ space_key: {
66887
+ description: string;
66888
+ type: string;
66889
+ };
66761
66890
  };
66762
- required: string[];
66763
66891
  type: string;
66764
66892
  };
66765
66893
  };
@@ -66796,14 +66924,22 @@ declare const _default: {
66796
66924
  pat_with_workspace: never[];
66797
66925
  console_session_with_workspace?: never;
66798
66926
  api_key?: never;
66927
+ client_session_with_customer?: never;
66799
66928
  } | {
66800
66929
  console_session_with_workspace: never[];
66801
66930
  pat_with_workspace?: never;
66802
66931
  api_key?: never;
66932
+ client_session_with_customer?: never;
66803
66933
  } | {
66804
66934
  api_key: never[];
66805
66935
  pat_with_workspace?: never;
66806
66936
  console_session_with_workspace?: never;
66937
+ client_session_with_customer?: never;
66938
+ } | {
66939
+ client_session_with_customer: never[];
66940
+ pat_with_workspace?: never;
66941
+ console_session_with_workspace?: never;
66942
+ api_key?: never;
66807
66943
  })[];
66808
66944
  summary: string;
66809
66945
  tags: never[];
@@ -86826,6 +86962,8 @@ interface Routes {
86826
86962
  full_name?: (string | null) | undefined;
86827
86963
  };
86828
86964
  }) & {
86965
+ /** Name for the access grant. */
86966
+ name?: (string | undefined) | null;
86829
86967
  /** Unique key for the access grant within the workspace. */
86830
86968
  access_grant_key?: string | undefined;
86831
86969
  /**
@@ -86889,6 +87027,8 @@ interface Routes {
86889
87027
  access_method_ids: string[];
86890
87028
  /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
86891
87029
  client_session_token?: string | undefined;
87030
+ /** Name of the Access Grant. If not provided, the display name will be computed. */
87031
+ name: string | null;
86892
87032
  /** Display name of the Access Grant. */
86893
87033
  display_name: string;
86894
87034
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -86958,6 +87098,8 @@ interface Routes {
86958
87098
  access_method_ids: string[];
86959
87099
  /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
86960
87100
  client_session_token?: string | undefined;
87101
+ /** Name of the Access Grant. If not provided, the display name will be computed. */
87102
+ name: string | null;
86961
87103
  /** Display name of the Access Grant. */
86962
87104
  display_name: string;
86963
87105
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -87022,6 +87164,8 @@ interface Routes {
87022
87164
  access_method_ids: string[];
87023
87165
  /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
87024
87166
  client_session_token?: string | undefined;
87167
+ /** Name of the Access Grant. If not provided, the display name will be computed. */
87168
+ name: string | null;
87025
87169
  /** Display name of the Access Grant. */
87026
87170
  display_name: string;
87027
87171
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -87041,6 +87185,8 @@ interface Routes {
87041
87185
  queryParams: {};
87042
87186
  jsonBody: {};
87043
87187
  commonParams: {
87188
+ /** Display name for the access grant. */
87189
+ name?: (string | null) | undefined;
87044
87190
  /** ID of the Access Grant to update. */
87045
87191
  access_grant_id: string;
87046
87192
  /** 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. */
@@ -88350,6 +88496,8 @@ interface Routes {
88350
88496
  issued_at?: string | undefined;
88351
88497
  /** URL of the Instant Key for mobile key access methods. */
88352
88498
  instant_key_url?: string | undefined;
88499
+ /** Token of the client session associated with the access method. */
88500
+ client_session_token?: string | undefined;
88353
88501
  /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
88354
88502
  is_encoding_required?: boolean | undefined;
88355
88503
  /** The actual PIN code for code access methods. */
@@ -88389,6 +88537,8 @@ interface Routes {
88389
88537
  issued_at?: string | undefined;
88390
88538
  /** URL of the Instant Key for mobile key access methods. */
88391
88539
  instant_key_url?: string | undefined;
88540
+ /** Token of the client session associated with the access method. */
88541
+ client_session_token?: string | undefined;
88392
88542
  /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
88393
88543
  is_encoding_required?: boolean | undefined;
88394
88544
  /** The actual PIN code for code access methods. */
@@ -124929,10 +125079,16 @@ interface Routes {
124929
125079
  method: 'POST' | 'PATCH';
124930
125080
  queryParams: {};
124931
125081
  jsonBody: {
124932
- /** ID of the space that you want to update. */
124933
- space_id: string;
124934
125082
  /** Name of the space. */
124935
125083
  name?: string | undefined;
125084
+ /** ID of the space that you want to update. */
125085
+ space_id?: string | undefined;
125086
+ /** Unique key of the space that you want to update. */
125087
+ space_key?: string | undefined;
125088
+ /** IDs of the devices that you want to set for the space. If specified, this will replace all existing devices. */
125089
+ device_ids?: string[] | undefined;
125090
+ /** IDs of the entrances that you want to set for the space. If specified, this will replace all existing entrances. */
125091
+ acs_entrance_ids?: string[] | undefined;
124936
125092
  };
124937
125093
  commonParams: {};
124938
125094
  formData: {};
@@ -140422,6 +140578,8 @@ interface Routes {
140422
140578
  access_method_ids: string[];
140423
140579
  /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
140424
140580
  client_session_token?: string | undefined;
140581
+ /** Name of the Access Grant. If not provided, the display name will be computed. */
140582
+ name: string | null;
140425
140583
  /** Display name of the Access Grant. */
140426
140584
  display_name: string;
140427
140585
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -140488,6 +140646,8 @@ interface Routes {
140488
140646
  access_method_ids: string[];
140489
140647
  /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
140490
140648
  client_session_token?: string | undefined;
140649
+ /** Name of the Access Grant. If not provided, the display name will be computed. */
140650
+ name: string | null;
140491
140651
  /** Display name of the Access Grant. */
140492
140652
  display_name: string;
140493
140653
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -140550,6 +140710,8 @@ interface Routes {
140550
140710
  access_method_ids: string[];
140551
140711
  /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
140552
140712
  client_session_token?: string | undefined;
140713
+ /** Name of the Access Grant. If not provided, the display name will be computed. */
140714
+ name: string | null;
140553
140715
  /** Display name of the Access Grant. */
140554
140716
  display_name: string;
140555
140717
  /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
@@ -140602,6 +140764,8 @@ interface Routes {
140602
140764
  issued_at?: string | undefined;
140603
140765
  /** URL of the Instant Key for mobile key access methods. */
140604
140766
  instant_key_url?: string | undefined;
140767
+ /** Token of the client session associated with the access method. */
140768
+ client_session_token?: string | undefined;
140605
140769
  /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
140606
140770
  is_encoding_required?: boolean | undefined;
140607
140771
  /** The actual PIN code for code access methods. */
@@ -140635,6 +140799,8 @@ interface Routes {
140635
140799
  issued_at?: string | undefined;
140636
140800
  /** URL of the Instant Key for mobile key access methods. */
140637
140801
  instant_key_url?: string | undefined;
140802
+ /** Token of the client session associated with the access method. */
140803
+ client_session_token?: string | undefined;
140638
140804
  /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
140639
140805
  is_encoding_required?: boolean | undefined;
140640
140806
  /** The actual PIN code for code access methods. */