@seamapi/http 2.10.0 → 2.11.1

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.
Files changed (35) hide show
  1. package/lib/client.js +2 -1
  2. package/lib/client.js.map +1 -1
  3. package/lib/resources/access-code.d.ts +26 -26
  4. package/lib/resources/acs-access-group.d.ts +1 -1
  5. package/lib/resources/acs-credential.d.ts +1 -1
  6. package/lib/resources/acs-user.d.ts +1 -1
  7. package/lib/resources/action-attempt.d.ts +3 -3
  8. package/lib/resources/device.d.ts +20 -20
  9. package/lib/resources/unmanaged-access-code.d.ts +28 -28
  10. package/lib/resources/unmanaged-device.d.ts +18 -18
  11. package/lib/routes/access-grants/unmanaged/unmanaged.d.ts +1 -1
  12. package/lib/routes/connect-webviews/connect-webviews.d.ts +1 -1
  13. package/lib/routes/connected-accounts/connected-accounts.d.ts +1 -1
  14. package/lib/routes/devices/devices.d.ts +1 -1
  15. package/lib/routes/devices/unmanaged/unmanaged.d.ts +1 -1
  16. package/lib/routes/user-identities/unmanaged/unmanaged.d.ts +1 -1
  17. package/lib/version.d.ts +1 -1
  18. package/lib/version.js +1 -1
  19. package/package.json +3 -3
  20. package/src/lib/client.ts +6 -1
  21. package/src/lib/resources/access-code.ts +26 -26
  22. package/src/lib/resources/acs-access-group.ts +1 -1
  23. package/src/lib/resources/acs-credential.ts +1 -1
  24. package/src/lib/resources/acs-user.ts +1 -1
  25. package/src/lib/resources/action-attempt.ts +3 -3
  26. package/src/lib/resources/device.ts +20 -20
  27. package/src/lib/resources/unmanaged-access-code.ts +28 -28
  28. package/src/lib/resources/unmanaged-device.ts +18 -18
  29. package/src/lib/routes/access-grants/unmanaged/unmanaged.ts +1 -1
  30. package/src/lib/routes/connect-webviews/connect-webviews.ts +1 -1
  31. package/src/lib/routes/connected-accounts/connected-accounts.ts +1 -1
  32. package/src/lib/routes/devices/devices.ts +1 -1
  33. package/src/lib/routes/devices/unmanaged/unmanaged.ts +1 -1
  34. package/src/lib/routes/user-identities/unmanaged/unmanaged.ts +1 -1
  35. package/src/lib/version.ts +1 -1
package/lib/client.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import axios, {} from 'axios';
2
- import axiosRetry, { exponentialDelay } from 'axios-retry';
2
+ import axiosRetry, { exponentialDelay, isIdempotentRequestError, } from 'axios-retry';
3
3
  import { errorInterceptor } from './error-interceptor.js';
4
4
  import { serializeUrlSearchParams } from './url-search-params-serializer.js';
5
5
  export const defaultTimeout = 30_000;
@@ -13,6 +13,7 @@ export const createClient = (options) => {
13
13
  axiosRetry(client, {
14
14
  retries: 2,
15
15
  retryDelay: exponentialDelay,
16
+ retryCondition: isIdempotentRequestError,
16
17
  ...options.axiosRetryOptions,
17
18
  });
18
19
  client.interceptors.response.use(undefined, errorInterceptor);
package/lib/client.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"client.js","sourceRoot":"","sources":["../src/lib/client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA+C,MAAM,OAAO,CAAA;AAC1E,OAAO,UAAU,EAAE,EAAmB,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAE3E,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AACzD,OAAO,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAA;AAI5E,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAA;AAUpC,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,OAAsB,EAAiB,EAAE;IACpE,MAAM,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC1B,gBAAgB,EAAE,wBAAwB;QAC1C,OAAO,EAAE,OAAO;QAChB,OAAO,EAAE,OAAO,CAAC,OAAO,IAAI,cAAc;QAC1C,GAAG,OAAO,CAAC,YAAY;KACxB,CAAC,CAAA;IAEF,UAAU,CAAC,MAAM,EAAE;QACjB,OAAO,EAAE,CAAC;QACV,UAAU,EAAE,gBAAgB;QAC5B,GAAG,OAAO,CAAC,iBAAiB;KAC7B,CAAC,CAAA;IAEF,MAAM,CAAC,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,SAAS,EAAE,gBAAgB,CAAC,CAAA;IAE7D,OAAO,MAAM,CAAA;AACf,CAAC,CAAA"}
1
+ {"version":3,"file":"client.js","sourceRoot":"","sources":["../src/lib/client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA+C,MAAM,OAAO,CAAA;AAC1E,OAAO,UAAU,EAAE,EAEjB,gBAAgB,EAChB,wBAAwB,GACzB,MAAM,aAAa,CAAA;AAEpB,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AACzD,OAAO,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAA;AAI5E,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAA;AAUpC,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,OAAsB,EAAiB,EAAE;IACpE,MAAM,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC1B,gBAAgB,EAAE,wBAAwB;QAC1C,OAAO,EAAE,OAAO;QAChB,OAAO,EAAE,OAAO,CAAC,OAAO,IAAI,cAAc;QAC1C,GAAG,OAAO,CAAC,YAAY;KACxB,CAAC,CAAA;IAEF,UAAU,CAAC,MAAM,EAAE;QACjB,OAAO,EAAE,CAAC;QACV,UAAU,EAAE,gBAAgB;QAC5B,cAAc,EAAE,wBAAwB;QACxC,GAAG,OAAO,CAAC,iBAAiB;KAC7B,CAAC,CAAA;IAEF,MAAM,CAAC,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,SAAS,EAAE,gBAAgB,CAAC,CAAA;IAE7D,OAAO,MAAM,CAAA;AACf,CAAC,CAAA"}
@@ -90,7 +90,7 @@ export type AccessCode = {
90
90
  /**
91
91
  * Indicates that this is an access code error.
92
92
  */
93
- is_access_code_error: boolean;
93
+ is_access_code_error: true;
94
94
  /**
95
95
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
96
96
  */
@@ -109,7 +109,7 @@ export type AccessCode = {
109
109
  /**
110
110
  * Indicates that this is an access code error.
111
111
  */
112
- is_access_code_error: boolean;
112
+ is_access_code_error: true;
113
113
  /**
114
114
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
115
115
  */
@@ -128,7 +128,7 @@ export type AccessCode = {
128
128
  /**
129
129
  * Indicates that this is an access code error.
130
130
  */
131
- is_access_code_error: boolean;
131
+ is_access_code_error: true;
132
132
  /**
133
133
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
134
134
  */
@@ -147,7 +147,7 @@ export type AccessCode = {
147
147
  /**
148
148
  * Indicates that this is an access code error.
149
149
  */
150
- is_access_code_error: boolean;
150
+ is_access_code_error: true;
151
151
  /**
152
152
  * ID of the managed access code that conflicts with this managed access code, when Seam can identify it.
153
153
  */
@@ -174,7 +174,7 @@ export type AccessCode = {
174
174
  /**
175
175
  * Indicates that this is an access code error.
176
176
  */
177
- is_access_code_error: boolean;
177
+ is_access_code_error: true;
178
178
  /**
179
179
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
180
180
  */
@@ -197,7 +197,7 @@ export type AccessCode = {
197
197
  /**
198
198
  * Indicates that this is an access code error.
199
199
  */
200
- is_access_code_error: boolean;
200
+ is_access_code_error: true;
201
201
  /**
202
202
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
203
203
  */
@@ -233,7 +233,7 @@ export type AccessCode = {
233
233
  /**
234
234
  * Indicates that this is an access code error.
235
235
  */
236
- is_access_code_error: boolean;
236
+ is_access_code_error: true;
237
237
  /**
238
238
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
239
239
  */
@@ -252,7 +252,7 @@ export type AccessCode = {
252
252
  /**
253
253
  * Indicates that this is an access code error.
254
254
  */
255
- is_access_code_error: boolean;
255
+ is_access_code_error: true;
256
256
  /**
257
257
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
258
258
  */
@@ -271,11 +271,11 @@ export type AccessCode = {
271
271
  /**
272
272
  * Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.
273
273
  */
274
- is_connected_account_error: boolean;
274
+ is_connected_account_error: true;
275
275
  /**
276
276
  * Indicates that the error is not a device error.
277
277
  */
278
- is_device_error: boolean;
278
+ is_device_error: false;
279
279
  /**
280
280
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
281
281
  */
@@ -294,11 +294,11 @@ export type AccessCode = {
294
294
  /**
295
295
  * Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.
296
296
  */
297
- is_connected_account_error: boolean;
297
+ is_connected_account_error: true;
298
298
  /**
299
299
  * Indicates that the error is not a device error.
300
300
  */
301
- is_device_error: boolean;
301
+ is_device_error: false;
302
302
  /**
303
303
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
304
304
  */
@@ -317,11 +317,11 @@ export type AccessCode = {
317
317
  /**
318
318
  * Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.
319
319
  */
320
- is_connected_account_error: boolean;
320
+ is_connected_account_error: true;
321
321
  /**
322
322
  * Indicates that the error is not a device error.
323
323
  */
324
- is_device_error: boolean;
324
+ is_device_error: false;
325
325
  /**
326
326
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
327
327
  */
@@ -340,11 +340,11 @@ export type AccessCode = {
340
340
  /**
341
341
  * Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.
342
342
  */
343
- is_connected_account_error: boolean;
343
+ is_connected_account_error: true;
344
344
  /**
345
345
  * Indicates that the error is not a device error.
346
346
  */
347
- is_device_error: boolean;
347
+ is_device_error: false;
348
348
  /**
349
349
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
350
350
  */
@@ -363,7 +363,7 @@ export type AccessCode = {
363
363
  /**
364
364
  * Indicates that the error is a device error.
365
365
  */
366
- is_device_error: boolean;
366
+ is_device_error: true;
367
367
  /**
368
368
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
369
369
  */
@@ -382,7 +382,7 @@ export type AccessCode = {
382
382
  /**
383
383
  * Indicates that the error is a device error.
384
384
  */
385
- is_device_error: boolean;
385
+ is_device_error: true;
386
386
  /**
387
387
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
388
388
  */
@@ -401,7 +401,7 @@ export type AccessCode = {
401
401
  /**
402
402
  * Indicates that the error is a device error.
403
403
  */
404
- is_device_error: boolean;
404
+ is_device_error: true;
405
405
  /**
406
406
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
407
407
  */
@@ -420,7 +420,7 @@ export type AccessCode = {
420
420
  /**
421
421
  * Indicates that the error is a device error.
422
422
  */
423
- is_device_error: boolean;
423
+ is_device_error: true;
424
424
  /**
425
425
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
426
426
  */
@@ -439,7 +439,7 @@ export type AccessCode = {
439
439
  /**
440
440
  * Indicates that the error is a device error.
441
441
  */
442
- is_device_error: boolean;
442
+ is_device_error: true;
443
443
  /**
444
444
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
445
445
  */
@@ -458,7 +458,7 @@ export type AccessCode = {
458
458
  /**
459
459
  * Indicates that the error is a device error.
460
460
  */
461
- is_device_error: boolean;
461
+ is_device_error: true;
462
462
  /**
463
463
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
464
464
  */
@@ -477,7 +477,7 @@ export type AccessCode = {
477
477
  /**
478
478
  * Indicates that the error is a device error.
479
479
  */
480
- is_device_error: boolean;
480
+ is_device_error: true;
481
481
  /**
482
482
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
483
483
  */
@@ -496,7 +496,7 @@ export type AccessCode = {
496
496
  /**
497
497
  * Indicates that the error is a device error.
498
498
  */
499
- is_device_error: boolean;
499
+ is_device_error: true;
500
500
  /**
501
501
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
502
502
  */
@@ -515,7 +515,7 @@ export type AccessCode = {
515
515
  /**
516
516
  * Indicates that the error is a device error.
517
517
  */
518
- is_device_error: boolean;
518
+ is_device_error: true;
519
519
  /**
520
520
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
521
521
  */
@@ -559,7 +559,7 @@ export type AccessCode = {
559
559
  /**
560
560
  * Indicates whether Seam manages the access code.
561
561
  */
562
- is_managed: boolean;
562
+ is_managed: true;
563
563
  /**
564
564
  * Indicates whether the access code is intended for use in offline scenarios. If `true`, this code can be created on a device without a network connection.
565
565
  */
@@ -79,7 +79,7 @@ export type AcsAccessGroup = {
79
79
  /**
80
80
  * Indicates whether Seam manages the access group.
81
81
  */
82
- is_managed: boolean;
82
+ is_managed: true;
83
83
  /**
84
84
  * Name of the access group.
85
85
  */
@@ -120,7 +120,7 @@ export type AcsCredential = {
120
120
  /**
121
121
  * Indicates whether Seam manages the credential.
122
122
  */
123
- is_managed: boolean;
123
+ is_managed: true;
124
124
  /**
125
125
  * Indicates whether the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) is a [multi-phone sync credential](https://docs.seam.co/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials).
126
126
  */
@@ -144,7 +144,7 @@ export type AcsUser = {
144
144
  /**
145
145
  * Indicates whether Seam manages the access system user.
146
146
  */
147
- is_managed: boolean;
147
+ is_managed: true;
148
148
  /**
149
149
  * Indicates whether the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) is currently [suspended](https://docs.seam.co/low-level-apis/access-systems/user-management/suspending-and-unsuspending-users).
150
150
  */
@@ -279,7 +279,7 @@ export type ActionAttempt = {
279
279
  * Indicates whether the latest state of the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) has been synced from Seam to the provider.
280
280
  */
281
281
  is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
282
- is_managed: boolean;
282
+ is_managed: true | false;
283
283
  /**
284
284
  * Indicates whether the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) is a [multi-phone sync credential](https://docs.seam.co/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials).
285
285
  */
@@ -522,7 +522,7 @@ export type ActionAttempt = {
522
522
  * Indicates whether the latest state of the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) has been synced from Seam to the provider.
523
523
  */
524
524
  is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
525
- is_managed: boolean;
525
+ is_managed: true | false;
526
526
  /**
527
527
  * Indicates whether the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) is a [multi-phone sync credential](https://docs.seam.co/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials).
528
528
  */
@@ -754,7 +754,7 @@ export type ActionAttempt = {
754
754
  /**
755
755
  * Indicates whether Seam manages the credential.
756
756
  */
757
- is_managed: boolean;
757
+ is_managed: true;
758
758
  /**
759
759
  * Indicates whether the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) is a [multi-phone sync credential](https://docs.seam.co/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials).
760
760
  */
@@ -167,11 +167,11 @@ export type Device = {
167
167
  /**
168
168
  * Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.
169
169
  */
170
- is_connected_account_error: boolean;
170
+ is_connected_account_error: true;
171
171
  /**
172
172
  * Indicates that the error is not a device error.
173
173
  */
174
- is_device_error: boolean;
174
+ is_device_error: false;
175
175
  /**
176
176
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
177
177
  */
@@ -190,11 +190,11 @@ export type Device = {
190
190
  /**
191
191
  * Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.
192
192
  */
193
- is_connected_account_error: boolean;
193
+ is_connected_account_error: true;
194
194
  /**
195
195
  * Indicates that the error is not a device error.
196
196
  */
197
- is_device_error: boolean;
197
+ is_device_error: false;
198
198
  /**
199
199
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
200
200
  */
@@ -213,11 +213,11 @@ export type Device = {
213
213
  /**
214
214
  * Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.
215
215
  */
216
- is_connected_account_error: boolean;
216
+ is_connected_account_error: true;
217
217
  /**
218
218
  * Indicates that the error is not a device error.
219
219
  */
220
- is_device_error: boolean;
220
+ is_device_error: false;
221
221
  /**
222
222
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
223
223
  */
@@ -236,11 +236,11 @@ export type Device = {
236
236
  /**
237
237
  * Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.
238
238
  */
239
- is_connected_account_error: boolean;
239
+ is_connected_account_error: true;
240
240
  /**
241
241
  * Indicates that the error is not a device error.
242
242
  */
243
- is_device_error: boolean;
243
+ is_device_error: false;
244
244
  /**
245
245
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
246
246
  */
@@ -259,7 +259,7 @@ export type Device = {
259
259
  /**
260
260
  * Indicates that the error is a device error.
261
261
  */
262
- is_device_error: boolean;
262
+ is_device_error: true;
263
263
  /**
264
264
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
265
265
  */
@@ -278,7 +278,7 @@ export type Device = {
278
278
  /**
279
279
  * Indicates that the error is a device error.
280
280
  */
281
- is_device_error: boolean;
281
+ is_device_error: true;
282
282
  /**
283
283
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
284
284
  */
@@ -297,7 +297,7 @@ export type Device = {
297
297
  /**
298
298
  * Indicates that the error is a device error.
299
299
  */
300
- is_device_error: boolean;
300
+ is_device_error: true;
301
301
  /**
302
302
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
303
303
  */
@@ -316,7 +316,7 @@ export type Device = {
316
316
  /**
317
317
  * Indicates that the error is a device error.
318
318
  */
319
- is_device_error: boolean;
319
+ is_device_error: true;
320
320
  /**
321
321
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
322
322
  */
@@ -335,7 +335,7 @@ export type Device = {
335
335
  /**
336
336
  * Indicates that the error is a device error.
337
337
  */
338
- is_device_error: boolean;
338
+ is_device_error: true;
339
339
  /**
340
340
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
341
341
  */
@@ -354,7 +354,7 @@ export type Device = {
354
354
  /**
355
355
  * Indicates that the error is a device error.
356
356
  */
357
- is_device_error: boolean;
357
+ is_device_error: true;
358
358
  /**
359
359
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
360
360
  */
@@ -373,7 +373,7 @@ export type Device = {
373
373
  /**
374
374
  * Indicates that the error is a device error.
375
375
  */
376
- is_device_error: boolean;
376
+ is_device_error: true;
377
377
  /**
378
378
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
379
379
  */
@@ -392,7 +392,7 @@ export type Device = {
392
392
  /**
393
393
  * Indicates that the error is a device error.
394
394
  */
395
- is_device_error: boolean;
395
+ is_device_error: true;
396
396
  /**
397
397
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
398
398
  */
@@ -411,7 +411,7 @@ export type Device = {
411
411
  /**
412
412
  * Indicates that the error is a device error.
413
413
  */
414
- is_device_error: boolean;
414
+ is_device_error: true;
415
415
  /**
416
416
  * Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
417
417
  */
@@ -443,7 +443,7 @@ export type Device = {
443
443
  /**
444
444
  * Indicates whether Seam manages the device. See also [Managed and Unmanaged Devices](https://docs.seam.co/core-concepts/devices/managed-and-unmanaged-devices).
445
445
  */
446
- is_managed: boolean;
446
+ is_managed: true;
447
447
  /**
448
448
  * Location information for the device.
449
449
  */
@@ -1814,7 +1814,7 @@ export type Device = {
1814
1814
  /**
1815
1815
  * When `true`, the start and end must fall at the same time of day (the caller picks which). Mutually exclusive with `time_pairs`.
1816
1816
  */
1817
- matching_start_end_time?: boolean | undefined;
1817
+ matching_start_end_time?: true | undefined;
1818
1818
  /**
1819
1819
  * Maximum duration this option covers, as an ISO 8601 duration (for example, `PT672H` or `P367D`). Omitted when there is no maximum.
1820
1820
  */
@@ -1864,7 +1864,7 @@ export type Device = {
1864
1864
  /**
1865
1865
  * When `true`, the start and end must fall at the same time of day (the caller picks which). Mutually exclusive with `time_pairs`.
1866
1866
  */
1867
- matching_start_end_time?: boolean | undefined;
1867
+ matching_start_end_time?: true | undefined;
1868
1868
  /**
1869
1869
  * Maximum duration this option covers, as an ISO 8601 duration (for example, `PT672H` or `P367D`). Omitted when there is no maximum.
1870
1870
  */