@seamapi/types 1.770.0 → 1.771.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.
@@ -825,6 +825,11 @@ export type Routes = {
825
825
  type: 'bridge_disconnected';
826
826
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
827
827
  message: string;
828
+ } | {
829
+ /** Error type to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete. */
830
+ type: 'encoding_interrupted';
831
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
832
+ message: string;
828
833
  };
829
834
  } | {
830
835
  /** ID of the action attempt. */
@@ -3223,6 +3228,11 @@ export type Routes = {
3223
3228
  type: 'bridge_disconnected';
3224
3229
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3225
3230
  message: string;
3231
+ } | {
3232
+ /** Error type to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete. */
3233
+ type: 'encoding_interrupted';
3234
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3235
+ message: string;
3226
3236
  };
3227
3237
  } | {
3228
3238
  /** ID of the action attempt. */
@@ -7316,6 +7326,11 @@ export type Routes = {
7316
7326
  type: 'bridge_disconnected';
7317
7327
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7318
7328
  message: string;
7329
+ } | {
7330
+ /** Error type to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete. */
7331
+ type: 'encoding_interrupted';
7332
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7333
+ message: string;
7319
7334
  };
7320
7335
  } | {
7321
7336
  /** ID of the action attempt. */
@@ -9750,6 +9765,11 @@ export type Routes = {
9750
9765
  type: 'bridge_disconnected';
9751
9766
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
9752
9767
  message: string;
9768
+ } | {
9769
+ /** Error type to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete. */
9770
+ type: 'encoding_interrupted';
9771
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
9772
+ message: string;
9753
9773
  };
9754
9774
  } | {
9755
9775
  /** ID of the action attempt. */
@@ -14365,6 +14385,11 @@ export type Routes = {
14365
14385
  type: 'bridge_disconnected';
14366
14386
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
14367
14387
  message: string;
14388
+ } | {
14389
+ /** Error type to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete. */
14390
+ type: 'encoding_interrupted';
14391
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
14392
+ message: string;
14368
14393
  };
14369
14394
  } | {
14370
14395
  /** ID of the action attempt. */
@@ -20939,6 +20964,11 @@ export type Routes = {
20939
20964
  type: 'bridge_disconnected';
20940
20965
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
20941
20966
  message: string;
20967
+ } | {
20968
+ /** Error type to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete. */
20969
+ type: 'encoding_interrupted';
20970
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
20971
+ message: string;
20942
20972
  };
20943
20973
  } | {
20944
20974
  /** ID of the action attempt. */
@@ -22377,6 +22407,11 @@ export type Routes = {
22377
22407
  type: 'bridge_disconnected';
22378
22408
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
22379
22409
  message: string;
22410
+ } | {
22411
+ /** Error type to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete. */
22412
+ type: 'encoding_interrupted';
22413
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
22414
+ message: string;
22380
22415
  };
22381
22416
  } | {
22382
22417
  /** ID of the action attempt. */
@@ -22927,7 +22962,7 @@ export type Routes = {
22927
22962
  /** ID of the `acs_encoder` that will be used in the next request to encode the `acs_credential`. */
22928
22963
  acs_encoder_id: string;
22929
22964
  /** Code of the error to simulate. */
22930
- error_code?: 'no_credential_on_encoder';
22965
+ error_code?: 'no_credential_on_encoder' | 'encoding_interrupted';
22931
22966
  } | {
22932
22967
  /** ID of the `acs_encoder` that will be used in the next request to encode the `acs_credential`. */
22933
22968
  acs_encoder_id: string;
@@ -24277,6 +24312,11 @@ export type Routes = {
24277
24312
  type: 'bridge_disconnected';
24278
24313
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
24279
24314
  message: string;
24315
+ } | {
24316
+ /** Error type to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete. */
24317
+ type: 'encoding_interrupted';
24318
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
24319
+ message: string;
24280
24320
  };
24281
24321
  } | {
24282
24322
  /** ID of the action attempt. */
@@ -27644,6 +27684,11 @@ export type Routes = {
27644
27684
  type: 'bridge_disconnected';
27645
27685
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
27646
27686
  message: string;
27687
+ } | {
27688
+ /** Error type to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete. */
27689
+ type: 'encoding_interrupted';
27690
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
27691
+ message: string;
27647
27692
  };
27648
27693
  } | {
27649
27694
  /** ID of the action attempt. */
@@ -28975,6 +29020,11 @@ export type Routes = {
28975
29020
  type: 'bridge_disconnected';
28976
29021
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
28977
29022
  message: string;
29023
+ } | {
29024
+ /** Error type to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete. */
29025
+ type: 'encoding_interrupted';
29026
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
29027
+ message: string;
28978
29028
  };
28979
29029
  } | {
28980
29030
  /** ID of the action attempt. */
@@ -41827,6 +41877,11 @@ export type Routes = {
41827
41877
  type: 'bridge_disconnected';
41828
41878
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
41829
41879
  message: string;
41880
+ } | {
41881
+ /** Error type to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete. */
41882
+ type: 'encoding_interrupted';
41883
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
41884
+ message: string;
41830
41885
  };
41831
41886
  } | {
41832
41887
  /** ID of the action attempt. */
@@ -48504,6 +48559,11 @@ export type Routes = {
48504
48559
  type: 'bridge_disconnected';
48505
48560
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
48506
48561
  message: string;
48562
+ } | {
48563
+ /** Error type to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete. */
48564
+ type: 'encoding_interrupted';
48565
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
48566
+ message: string;
48507
48567
  };
48508
48568
  } | {
48509
48569
  /** ID of the action attempt. */
@@ -49836,6 +49896,11 @@ export type Routes = {
49836
49896
  type: 'bridge_disconnected';
49837
49897
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
49838
49898
  message: string;
49899
+ } | {
49900
+ /** Error type to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete. */
49901
+ type: 'encoding_interrupted';
49902
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
49903
+ message: string;
49839
49904
  };
49840
49905
  } | {
49841
49906
  /** ID of the action attempt. */
@@ -51166,6 +51231,11 @@ export type Routes = {
51166
51231
  type: 'bridge_disconnected';
51167
51232
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
51168
51233
  message: string;
51234
+ } | {
51235
+ /** Error type to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete. */
51236
+ type: 'encoding_interrupted';
51237
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
51238
+ message: string;
51169
51239
  };
51170
51240
  } | {
51171
51241
  /** ID of the action attempt. */
@@ -52498,6 +52568,11 @@ export type Routes = {
52498
52568
  type: 'bridge_disconnected';
52499
52569
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
52500
52570
  message: string;
52571
+ } | {
52572
+ /** Error type to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete. */
52573
+ type: 'encoding_interrupted';
52574
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
52575
+ message: string;
52501
52576
  };
52502
52577
  } | {
52503
52578
  /** ID of the action attempt. */
@@ -56529,6 +56604,11 @@ export type Routes = {
56529
56604
  type: 'bridge_disconnected';
56530
56605
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
56531
56606
  message: string;
56607
+ } | {
56608
+ /** Error type to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete. */
56609
+ type: 'encoding_interrupted';
56610
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
56611
+ message: string;
56532
56612
  };
56533
56613
  } | {
56534
56614
  /** ID of the action attempt. */
@@ -57880,6 +57960,11 @@ export type Routes = {
57880
57960
  type: 'bridge_disconnected';
57881
57961
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
57882
57962
  message: string;
57963
+ } | {
57964
+ /** Error type to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete. */
57965
+ type: 'encoding_interrupted';
57966
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
57967
+ message: string;
57883
57968
  };
57884
57969
  } | {
57885
57970
  /** ID of the action attempt. */
@@ -59287,6 +59372,11 @@ export type Routes = {
59287
59372
  type: 'bridge_disconnected';
59288
59373
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
59289
59374
  message: string;
59375
+ } | {
59376
+ /** Error type to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete. */
59377
+ type: 'encoding_interrupted';
59378
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
59379
+ message: string;
59290
59380
  };
59291
59381
  } | {
59292
59382
  /** ID of the action attempt. */
@@ -61588,6 +61678,11 @@ export type Routes = {
61588
61678
  type: 'bridge_disconnected';
61589
61679
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
61590
61680
  message: string;
61681
+ } | {
61682
+ /** Error type to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete. */
61683
+ type: 'encoding_interrupted';
61684
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
61685
+ message: string;
61591
61686
  };
61592
61687
  } | {
61593
61688
  /** ID of the action attempt. */
@@ -65757,6 +65852,129 @@ export type Routes = {
65757
65852
  };
65758
65853
  maxDuration: undefined;
65759
65854
  };
65855
+ '/seam/customer/v1/portals/update': {
65856
+ route: '/seam/customer/v1/portals/update';
65857
+ method: 'PATCH' | 'POST';
65858
+ queryParams: {};
65859
+ jsonBody: {
65860
+ /** ID of the customer portal to update. */
65861
+ customer_portal_id: string;
65862
+ /** Partial portal configuration to merge with the existing configuration. */
65863
+ portal_configuration: {
65864
+ features?: {
65865
+ /** Configuration for the connect accounts feature. */
65866
+ connect?: {
65867
+ /** Whether to exclude this feature from the portal. */
65868
+ exclude?: boolean;
65869
+ /** List of provider keys to allow for the connect feature. These providers will be shown when the customer tries to connect an account. */
65870
+ accepted_providers?: string[] | undefined;
65871
+ /** List of provider keys to exclude from the connect feature. These providers will not be shown when the customer tries to connect an account. */
65872
+ excluded_providers?: string[] | undefined;
65873
+ };
65874
+ /** Configuration for the manage feature. */
65875
+ manage?: {
65876
+ /** Whether to exclude this feature from the portal. */
65877
+ exclude?: boolean;
65878
+ /** Indicates whether the customer can manage reservations for their properties. */
65879
+ exclude_reservation_management?: boolean;
65880
+ /** Indicates whether to exclude technical details from reservation views. */
65881
+ exclude_reservation_technical_details?: boolean;
65882
+ /** Indicates whether the customer can manage staff for their properties. */
65883
+ exclude_staff_management?: boolean;
65884
+ /** Configuration for event type filtering in the manage feature. */
65885
+ events?: {
65886
+ /** List of event types to show in the events filter. When set, only these event types will be available. Leave empty to show all events. */
65887
+ allowed_events?: string[] | undefined;
65888
+ /** List of event types that are pre-selected in the events filter when the user first loads the events tab. */
65889
+ default_events?: string[] | undefined;
65890
+ } | undefined;
65891
+ };
65892
+ /** Configuration for the manage devices feature.
65893
+ ---
65894
+ deprecated: Use `manage` instead.
65895
+ --- */
65896
+ manage_devices?: {
65897
+ /** Whether to exclude this feature from the portal. */
65898
+ exclude?: boolean;
65899
+ };
65900
+ /** Configuration for the organize feature. */
65901
+ organize?: {
65902
+ /** Whether to exclude this feature from the portal. */
65903
+ exclude?: boolean;
65904
+ };
65905
+ /** Configuration for the configure feature. */
65906
+ configure?: {
65907
+ /** Whether to exclude this feature from the portal. */
65908
+ exclude?: boolean;
65909
+ /** Indicates whether the customer can customize the access automation rules for their properties. */
65910
+ allow_access_automation_rule_customization?: boolean;
65911
+ /** Indicates whether the customer can customize the climate automation rules for their properties. */
65912
+ allow_climate_automation_rule_customization?: boolean;
65913
+ /** Indicates whether the customer can customize the Instant Key profile for their properties. */
65914
+ allow_instant_key_customization?: boolean;
65915
+ };
65916
+ } | undefined;
65917
+ /** Whether the portal is embedded in another application. */
65918
+ is_embedded?: boolean | undefined;
65919
+ /** Configuration for the landing page when the portal loads. */
65920
+ landing_page?: ({
65921
+ manage?: (({
65922
+ space_key: string;
65923
+ } | {
65924
+ property_key: string;
65925
+ } | {
65926
+ room_key: string;
65927
+ } | {
65928
+ common_area_key: string;
65929
+ } | {
65930
+ unit_key: string;
65931
+ } | {
65932
+ facility_key: string;
65933
+ } | {
65934
+ building_key: string;
65935
+ } | {
65936
+ listing_key: string;
65937
+ } | {
65938
+ property_listing_key: string;
65939
+ } | {
65940
+ site_key: string;
65941
+ }) | ({
65942
+ reservation_key: string;
65943
+ } | {
65944
+ booking_key: string;
65945
+ } | {
65946
+ access_grant_key: string;
65947
+ })) | undefined;
65948
+ } | undefined) | undefined;
65949
+ /** The locale to use for the portal. */
65950
+ locale?: (('en-US' | 'pt-PT' | 'fr-FR' | 'it-IT' | 'es-ES') | undefined) | undefined;
65951
+ /** Whether to exclude the option to select a locale within the portal UI. */
65952
+ exclude_locale_picker?: boolean | undefined;
65953
+ /** The ID of the customization profile to use for the portal. */
65954
+ customization_profile_id?: (string | undefined) | undefined;
65955
+ /** Filter configuration for resources based on their custom_metadata. Each filter specifies a field, operation, and value to match against resource custom_metadata. */
65956
+ customer_resources_filters?: ({
65957
+ /** The custom_metadata field name to filter on. */
65958
+ field: string;
65959
+ /** The comparison operation. Currently only '=' is supported. */
65960
+ operation: '=';
65961
+ /** The value to compare against. */
65962
+ value: string | boolean;
65963
+ }[] | undefined) | undefined;
65964
+ /** Navigation mode for the portal. 'restricted' tells frontend to hide navigation UI, typically used for embedded deep links. */
65965
+ navigation_mode?: ('full' | 'restricted') | undefined;
65966
+ /** Deep link target resource for initial redirect. When set, the portal will navigate directly to the specified resource. */
65967
+ deep_link?: ({
65968
+ resource_type: 'reservation' | 'space';
65969
+ resource_key: string;
65970
+ } | undefined) | undefined;
65971
+ };
65972
+ };
65973
+ commonParams: {};
65974
+ formData: {};
65975
+ jsonResponse: {};
65976
+ maxDuration: undefined;
65977
+ };
65760
65978
  '/seam/customer/v1/reservations/get': {
65761
65979
  route: '/seam/customer/v1/reservations/get';
65762
65980
  method: 'GET' | 'POST';
@@ -70111,6 +70329,11 @@ export type Routes = {
70111
70329
  type: 'bridge_disconnected';
70112
70330
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
70113
70331
  message: string;
70332
+ } | {
70333
+ /** Error type to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete. */
70334
+ type: 'encoding_interrupted';
70335
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
70336
+ message: string;
70114
70337
  };
70115
70338
  } | {
70116
70339
  /** ID of the action attempt. */
@@ -71447,6 +71670,11 @@ export type Routes = {
71447
71670
  type: 'bridge_disconnected';
71448
71671
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
71449
71672
  message: string;
71673
+ } | {
71674
+ /** Error type to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete. */
71675
+ type: 'encoding_interrupted';
71676
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
71677
+ message: string;
71450
71678
  };
71451
71679
  } | {
71452
71680
  /** ID of the action attempt. */
@@ -72889,6 +73117,11 @@ export type Routes = {
72889
73117
  type: 'bridge_disconnected';
72890
73118
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
72891
73119
  message: string;
73120
+ } | {
73121
+ /** Error type to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete. */
73122
+ type: 'encoding_interrupted';
73123
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
73124
+ message: string;
72892
73125
  };
72893
73126
  } | {
72894
73127
  /** ID of the action attempt. */
@@ -75576,6 +75809,11 @@ export type Routes = {
75576
75809
  type: 'bridge_disconnected';
75577
75810
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
75578
75811
  message: string;
75812
+ } | {
75813
+ /** Error type to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete. */
75814
+ type: 'encoding_interrupted';
75815
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
75816
+ message: string;
75579
75817
  };
75580
75818
  } | {
75581
75819
  /** ID of the action attempt. */
@@ -76916,6 +77154,11 @@ export type Routes = {
76916
77154
  type: 'bridge_disconnected';
76917
77155
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
76918
77156
  message: string;
77157
+ } | {
77158
+ /** Error type to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete. */
77159
+ type: 'encoding_interrupted';
77160
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
77161
+ message: string;
76919
77162
  };
76920
77163
  } | {
76921
77164
  /** ID of the action attempt. */
@@ -80937,6 +81180,11 @@ export type Routes = {
80937
81180
  type: 'bridge_disconnected';
80938
81181
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
80939
81182
  message: string;
81183
+ } | {
81184
+ /** Error type to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete. */
81185
+ type: 'encoding_interrupted';
81186
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
81187
+ message: string;
80940
81188
  };
80941
81189
  } | {
80942
81190
  /** ID of the action attempt. */
@@ -82472,6 +82720,11 @@ export type Routes = {
82472
82720
  type: 'bridge_disconnected';
82473
82721
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
82474
82722
  message: string;
82723
+ } | {
82724
+ /** Error type to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete. */
82725
+ type: 'encoding_interrupted';
82726
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
82727
+ message: string;
82475
82728
  };
82476
82729
  } | {
82477
82730
  /** ID of the action attempt. */
@@ -83835,6 +84088,11 @@ export type Routes = {
83835
84088
  type: 'bridge_disconnected';
83836
84089
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
83837
84090
  message: string;
84091
+ } | {
84092
+ /** Error type to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete. */
84093
+ type: 'encoding_interrupted';
84094
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
84095
+ message: string;
83838
84096
  };
83839
84097
  } | {
83840
84098
  /** ID of the action attempt. */
@@ -85310,6 +85568,11 @@ export type Routes = {
85310
85568
  type: 'bridge_disconnected';
85311
85569
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
85312
85570
  message: string;
85571
+ } | {
85572
+ /** Error type to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete. */
85573
+ type: 'encoding_interrupted';
85574
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
85575
+ message: string;
85313
85576
  };
85314
85577
  } | {
85315
85578
  /** ID of the action attempt. */
@@ -92783,6 +93046,11 @@ export type Routes = {
92783
93046
  type: 'bridge_disconnected';
92784
93047
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
92785
93048
  message: string;
93049
+ } | {
93050
+ /** Error type to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete. */
93051
+ type: 'encoding_interrupted';
93052
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
93053
+ message: string;
92786
93054
  };
92787
93055
  } | {
92788
93056
  /** ID of the action attempt. */
@@ -99644,6 +99912,11 @@ export type Routes = {
99644
99912
  type: 'bridge_disconnected';
99645
99913
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
99646
99914
  message: string;
99915
+ } | {
99916
+ /** Error type to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete. */
99917
+ type: 'encoding_interrupted';
99918
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
99919
+ message: string;
99647
99920
  };
99648
99921
  } | {
99649
99922
  /** ID of the action attempt. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.770.0",
3
+ "version": "1.771.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -107,6 +107,23 @@ const bridge_disconnected_error = z
107
107
  'Error to indicate that the Seam Bridge is disconnected or cannot reach the access control system.',
108
108
  )
109
109
 
110
+ const encoding_interrupted_error = z
111
+ .object({
112
+ type: z
113
+ .literal('encoding_interrupted')
114
+ .describe(
115
+ 'Error type to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete.',
116
+ ),
117
+ message: z
118
+ .string()
119
+ .describe(
120
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
121
+ ),
122
+ })
123
+ .describe(
124
+ 'Error to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete.',
125
+ )
126
+
110
127
  const error = z.union([
111
128
  ...common_action_attempt_errors,
112
129
  no_credential_on_encoder_error,
@@ -115,6 +132,7 @@ const error = z.union([
115
132
  encoder_not_online_error,
116
133
  encoder_timeout_error,
117
134
  bridge_disconnected_error,
135
+ encoding_interrupted_error,
118
136
  ])
119
137
 
120
138
  const result = acs_credential