@seamapi/types 1.787.0 → 1.789.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.
@@ -830,6 +830,11 @@ export type Routes = {
830
830
  type: 'encoding_interrupted';
831
831
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
832
832
  message: string;
833
+ } | {
834
+ /** Error type to indicate that the credential is being deleted and can no longer be encoded. */
835
+ type: 'credential_being_deleted';
836
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
837
+ message: string;
833
838
  };
834
839
  } | {
835
840
  /** ID of the action attempt. */
@@ -3233,6 +3238,11 @@ export type Routes = {
3233
3238
  type: 'encoding_interrupted';
3234
3239
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3235
3240
  message: string;
3241
+ } | {
3242
+ /** Error type to indicate that the credential is being deleted and can no longer be encoded. */
3243
+ type: 'credential_being_deleted';
3244
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3245
+ message: string;
3236
3246
  };
3237
3247
  } | {
3238
3248
  /** ID of the action attempt. */
@@ -7333,6 +7343,11 @@ export type Routes = {
7333
7343
  type: 'encoding_interrupted';
7334
7344
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7335
7345
  message: string;
7346
+ } | {
7347
+ /** Error type to indicate that the credential is being deleted and can no longer be encoded. */
7348
+ type: 'credential_being_deleted';
7349
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7350
+ message: string;
7336
7351
  };
7337
7352
  } | {
7338
7353
  /** ID of the action attempt. */
@@ -9772,6 +9787,11 @@ export type Routes = {
9772
9787
  type: 'encoding_interrupted';
9773
9788
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
9774
9789
  message: string;
9790
+ } | {
9791
+ /** Error type to indicate that the credential is being deleted and can no longer be encoded. */
9792
+ type: 'credential_being_deleted';
9793
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
9794
+ message: string;
9775
9795
  };
9776
9796
  } | {
9777
9797
  /** ID of the action attempt. */
@@ -14410,6 +14430,11 @@ export type Routes = {
14410
14430
  type: 'encoding_interrupted';
14411
14431
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
14412
14432
  message: string;
14433
+ } | {
14434
+ /** Error type to indicate that the credential is being deleted and can no longer be encoded. */
14435
+ type: 'credential_being_deleted';
14436
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
14437
+ message: string;
14413
14438
  };
14414
14439
  } | {
14415
14440
  /** ID of the action attempt. */
@@ -21034,6 +21059,11 @@ export type Routes = {
21034
21059
  type: 'encoding_interrupted';
21035
21060
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
21036
21061
  message: string;
21062
+ } | {
21063
+ /** Error type to indicate that the credential is being deleted and can no longer be encoded. */
21064
+ type: 'credential_being_deleted';
21065
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
21066
+ message: string;
21037
21067
  };
21038
21068
  } | {
21039
21069
  /** ID of the action attempt. */
@@ -22477,6 +22507,11 @@ export type Routes = {
22477
22507
  type: 'encoding_interrupted';
22478
22508
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
22479
22509
  message: string;
22510
+ } | {
22511
+ /** Error type to indicate that the credential is being deleted and can no longer be encoded. */
22512
+ type: 'credential_being_deleted';
22513
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
22514
+ message: string;
22480
22515
  };
22481
22516
  } | {
22482
22517
  /** ID of the action attempt. */
@@ -24382,6 +24417,11 @@ export type Routes = {
24382
24417
  type: 'encoding_interrupted';
24383
24418
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
24384
24419
  message: string;
24420
+ } | {
24421
+ /** Error type to indicate that the credential is being deleted and can no longer be encoded. */
24422
+ type: 'credential_being_deleted';
24423
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
24424
+ message: string;
24385
24425
  };
24386
24426
  } | {
24387
24427
  /** ID of the action attempt. */
@@ -27754,6 +27794,11 @@ export type Routes = {
27754
27794
  type: 'encoding_interrupted';
27755
27795
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
27756
27796
  message: string;
27797
+ } | {
27798
+ /** Error type to indicate that the credential is being deleted and can no longer be encoded. */
27799
+ type: 'credential_being_deleted';
27800
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
27801
+ message: string;
27757
27802
  };
27758
27803
  } | {
27759
27804
  /** ID of the action attempt. */
@@ -29090,6 +29135,11 @@ export type Routes = {
29090
29135
  type: 'encoding_interrupted';
29091
29136
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
29092
29137
  message: string;
29138
+ } | {
29139
+ /** Error type to indicate that the credential is being deleted and can no longer be encoded. */
29140
+ type: 'credential_being_deleted';
29141
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
29142
+ message: string;
29093
29143
  };
29094
29144
  } | {
29095
29145
  /** ID of the action attempt. */
@@ -41967,6 +42017,11 @@ export type Routes = {
41967
42017
  type: 'encoding_interrupted';
41968
42018
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
41969
42019
  message: string;
42020
+ } | {
42021
+ /** Error type to indicate that the credential is being deleted and can no longer be encoded. */
42022
+ type: 'credential_being_deleted';
42023
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
42024
+ message: string;
41970
42025
  };
41971
42026
  } | {
41972
42027
  /** ID of the action attempt. */
@@ -48669,6 +48724,11 @@ export type Routes = {
48669
48724
  type: 'encoding_interrupted';
48670
48725
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
48671
48726
  message: string;
48727
+ } | {
48728
+ /** Error type to indicate that the credential is being deleted and can no longer be encoded. */
48729
+ type: 'credential_being_deleted';
48730
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
48731
+ message: string;
48672
48732
  };
48673
48733
  } | {
48674
48734
  /** ID of the action attempt. */
@@ -50006,6 +50066,11 @@ export type Routes = {
50006
50066
  type: 'encoding_interrupted';
50007
50067
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
50008
50068
  message: string;
50069
+ } | {
50070
+ /** Error type to indicate that the credential is being deleted and can no longer be encoded. */
50071
+ type: 'credential_being_deleted';
50072
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
50073
+ message: string;
50009
50074
  };
50010
50075
  } | {
50011
50076
  /** ID of the action attempt. */
@@ -51341,6 +51406,11 @@ export type Routes = {
51341
51406
  type: 'encoding_interrupted';
51342
51407
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
51343
51408
  message: string;
51409
+ } | {
51410
+ /** Error type to indicate that the credential is being deleted and can no longer be encoded. */
51411
+ type: 'credential_being_deleted';
51412
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
51413
+ message: string;
51344
51414
  };
51345
51415
  } | {
51346
51416
  /** ID of the action attempt. */
@@ -52678,6 +52748,11 @@ export type Routes = {
52678
52748
  type: 'encoding_interrupted';
52679
52749
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
52680
52750
  message: string;
52751
+ } | {
52752
+ /** Error type to indicate that the credential is being deleted and can no longer be encoded. */
52753
+ type: 'credential_being_deleted';
52754
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
52755
+ message: string;
52681
52756
  };
52682
52757
  } | {
52683
52758
  /** ID of the action attempt. */
@@ -56724,6 +56799,11 @@ export type Routes = {
56724
56799
  type: 'encoding_interrupted';
56725
56800
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
56726
56801
  message: string;
56802
+ } | {
56803
+ /** Error type to indicate that the credential is being deleted and can no longer be encoded. */
56804
+ type: 'credential_being_deleted';
56805
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
56806
+ message: string;
56727
56807
  };
56728
56808
  } | {
56729
56809
  /** ID of the action attempt. */
@@ -58080,6 +58160,11 @@ export type Routes = {
58080
58160
  type: 'encoding_interrupted';
58081
58161
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
58082
58162
  message: string;
58163
+ } | {
58164
+ /** Error type to indicate that the credential is being deleted and can no longer be encoded. */
58165
+ type: 'credential_being_deleted';
58166
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
58167
+ message: string;
58083
58168
  };
58084
58169
  } | {
58085
58170
  /** ID of the action attempt. */
@@ -59492,6 +59577,11 @@ export type Routes = {
59492
59577
  type: 'encoding_interrupted';
59493
59578
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
59494
59579
  message: string;
59580
+ } | {
59581
+ /** Error type to indicate that the credential is being deleted and can no longer be encoded. */
59582
+ type: 'credential_being_deleted';
59583
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
59584
+ message: string;
59495
59585
  };
59496
59586
  } | {
59497
59587
  /** ID of the action attempt. */
@@ -61812,6 +61902,11 @@ export type Routes = {
61812
61902
  type: 'encoding_interrupted';
61813
61903
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
61814
61904
  message: string;
61905
+ } | {
61906
+ /** Error type to indicate that the credential is being deleted and can no longer be encoded. */
61907
+ type: 'credential_being_deleted';
61908
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
61909
+ message: string;
61815
61910
  };
61816
61911
  } | {
61817
61912
  /** ID of the action attempt. */
@@ -66379,7 +66474,7 @@ export type Routes = {
66379
66474
  created_before?: Date | undefined;
66380
66475
  /** Timestamp by which to limit returned reservations. Returns reservations created after this timestamp. */
66381
66476
  created_after?: Date | undefined;
66382
- /** Lower and upper timestamps to define an exclusive interval containing the reservations that you want to list. */
66477
+ /** Lower and upper timestamps to filter reservations whose time range overlaps with the given interval. */
66383
66478
  between?: (string | Date)[] | undefined;
66384
66479
  /** String for which to search. Filters returned reservations to include all records that satisfy a partial match using `reservation_id`, `reservation_key`, `name`, `guest_name`, or space names. */
66385
66480
  search?: string | undefined;
@@ -70691,6 +70786,11 @@ export type Routes = {
70691
70786
  type: 'encoding_interrupted';
70692
70787
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
70693
70788
  message: string;
70789
+ } | {
70790
+ /** Error type to indicate that the credential is being deleted and can no longer be encoded. */
70791
+ type: 'credential_being_deleted';
70792
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
70793
+ message: string;
70694
70794
  };
70695
70795
  } | {
70696
70796
  /** ID of the action attempt. */
@@ -72032,6 +72132,11 @@ export type Routes = {
72032
72132
  type: 'encoding_interrupted';
72033
72133
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
72034
72134
  message: string;
72135
+ } | {
72136
+ /** Error type to indicate that the credential is being deleted and can no longer be encoded. */
72137
+ type: 'credential_being_deleted';
72138
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
72139
+ message: string;
72035
72140
  };
72036
72141
  } | {
72037
72142
  /** ID of the action attempt. */
@@ -73479,6 +73584,11 @@ export type Routes = {
73479
73584
  type: 'encoding_interrupted';
73480
73585
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
73481
73586
  message: string;
73587
+ } | {
73588
+ /** Error type to indicate that the credential is being deleted and can no longer be encoded. */
73589
+ type: 'credential_being_deleted';
73590
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
73591
+ message: string;
73482
73592
  };
73483
73593
  } | {
73484
73594
  /** ID of the action attempt. */
@@ -76176,6 +76286,11 @@ export type Routes = {
76176
76286
  type: 'encoding_interrupted';
76177
76287
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
76178
76288
  message: string;
76289
+ } | {
76290
+ /** Error type to indicate that the credential is being deleted and can no longer be encoded. */
76291
+ type: 'credential_being_deleted';
76292
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
76293
+ message: string;
76179
76294
  };
76180
76295
  } | {
76181
76296
  /** ID of the action attempt. */
@@ -77521,6 +77636,11 @@ export type Routes = {
77521
77636
  type: 'encoding_interrupted';
77522
77637
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
77523
77638
  message: string;
77639
+ } | {
77640
+ /** Error type to indicate that the credential is being deleted and can no longer be encoded. */
77641
+ type: 'credential_being_deleted';
77642
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
77643
+ message: string;
77524
77644
  };
77525
77645
  } | {
77526
77646
  /** ID of the action attempt. */
@@ -81557,6 +81677,11 @@ export type Routes = {
81557
81677
  type: 'encoding_interrupted';
81558
81678
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
81559
81679
  message: string;
81680
+ } | {
81681
+ /** Error type to indicate that the credential is being deleted and can no longer be encoded. */
81682
+ type: 'credential_being_deleted';
81683
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
81684
+ message: string;
81560
81685
  };
81561
81686
  } | {
81562
81687
  /** ID of the action attempt. */
@@ -83097,6 +83222,11 @@ export type Routes = {
83097
83222
  type: 'encoding_interrupted';
83098
83223
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
83099
83224
  message: string;
83225
+ } | {
83226
+ /** Error type to indicate that the credential is being deleted and can no longer be encoded. */
83227
+ type: 'credential_being_deleted';
83228
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
83229
+ message: string;
83100
83230
  };
83101
83231
  } | {
83102
83232
  /** ID of the action attempt. */
@@ -84465,6 +84595,11 @@ export type Routes = {
84465
84595
  type: 'encoding_interrupted';
84466
84596
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
84467
84597
  message: string;
84598
+ } | {
84599
+ /** Error type to indicate that the credential is being deleted and can no longer be encoded. */
84600
+ type: 'credential_being_deleted';
84601
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
84602
+ message: string;
84468
84603
  };
84469
84604
  } | {
84470
84605
  /** ID of the action attempt. */
@@ -85945,6 +86080,11 @@ export type Routes = {
85945
86080
  type: 'encoding_interrupted';
85946
86081
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
85947
86082
  message: string;
86083
+ } | {
86084
+ /** Error type to indicate that the credential is being deleted and can no longer be encoded. */
86085
+ type: 'credential_being_deleted';
86086
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
86087
+ message: string;
85948
86088
  };
85949
86089
  } | {
85950
86090
  /** ID of the action attempt. */
@@ -93596,6 +93736,11 @@ export type Routes = {
93596
93736
  type: 'encoding_interrupted';
93597
93737
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
93598
93738
  message: string;
93739
+ } | {
93740
+ /** Error type to indicate that the credential is being deleted and can no longer be encoded. */
93741
+ type: 'credential_being_deleted';
93742
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
93743
+ message: string;
93599
93744
  };
93600
93745
  } | {
93601
93746
  /** ID of the action attempt. */
@@ -100476,6 +100621,11 @@ export type Routes = {
100476
100621
  type: 'encoding_interrupted';
100477
100622
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
100478
100623
  message: string;
100624
+ } | {
100625
+ /** Error type to indicate that the credential is being deleted and can no longer be encoded. */
100626
+ type: 'credential_being_deleted';
100627
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
100628
+ message: string;
100479
100629
  };
100480
100630
  } | {
100481
100631
  /** ID of the action attempt. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.787.0",
3
+ "version": "1.789.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -124,6 +124,23 @@ const encoding_interrupted_error = z
124
124
  'Error to indicate that encoding was interrupted, for example, if the card was removed from the encoder before writing was complete.',
125
125
  )
126
126
 
127
+ const credential_being_deleted_error = z
128
+ .object({
129
+ type: z
130
+ .literal('credential_being_deleted')
131
+ .describe(
132
+ 'Error type to indicate that the credential is being deleted and can no longer be encoded.',
133
+ ),
134
+ message: z
135
+ .string()
136
+ .describe(
137
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
138
+ ),
139
+ })
140
+ .describe(
141
+ 'Error to indicate that the credential is being deleted and can no longer be encoded.',
142
+ )
143
+
127
144
  const error = z.union([
128
145
  ...common_action_attempt_errors,
129
146
  no_credential_on_encoder_error,
@@ -133,6 +150,7 @@ const error = z.union([
133
150
  encoder_communication_timeout,
134
151
  bridge_disconnected_error,
135
152
  encoding_interrupted_error,
153
+ credential_being_deleted_error,
136
154
  ])
137
155
 
138
156
  const result = acs_credential
@@ -8153,6 +8153,25 @@ export default {
8153
8153
  required: ['type', 'message'],
8154
8154
  type: 'object',
8155
8155
  },
8156
+ {
8157
+ description:
8158
+ 'Error to indicate that the credential is being deleted and can no longer be encoded.',
8159
+ properties: {
8160
+ message: {
8161
+ description:
8162
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8163
+ type: 'string',
8164
+ },
8165
+ type: {
8166
+ description:
8167
+ 'Error type to indicate that the credential is being deleted and can no longer be encoded.',
8168
+ enum: ['credential_being_deleted'],
8169
+ type: 'string',
8170
+ },
8171
+ },
8172
+ required: ['type', 'message'],
8173
+ type: 'object',
8174
+ },
8156
8175
  ],
8157
8176
  },
8158
8177
  result: {
@@ -69054,7 +69073,7 @@ export default {
69054
69073
  name: 'between',
69055
69074
  schema: {
69056
69075
  description:
69057
- 'Lower and upper timestamps to define an exclusive interval containing the reservations that you want to list.',
69076
+ 'Lower and upper timestamps to filter reservations whose time range overlaps with the given interval.',
69058
69077
  items: {
69059
69078
  oneOf: [
69060
69079
  { type: 'string' },
@@ -69323,7 +69342,7 @@ export default {
69323
69342
  properties: {
69324
69343
  between: {
69325
69344
  description:
69326
- 'Lower and upper timestamps to define an exclusive interval containing the reservations that you want to list.',
69345
+ 'Lower and upper timestamps to filter reservations whose time range overlaps with the given interval.',
69327
69346
  items: {
69328
69347
  oneOf: [
69329
69348
  { type: 'string' },