@seamapi/types 1.868.0 → 1.870.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.
package/dist/connect.cjs CHANGED
@@ -2338,13 +2338,30 @@ var duplicate_code_attempt_prevented = common_access_code_error.extend({
2338
2338
  var no_space_for_access_code_on_device = common_access_code_error.extend({
2339
2339
  error_code: zod.z.literal("no_space_for_access_code_on_device").describe(error_code_description3)
2340
2340
  }).describe("No space for access code on device.");
2341
+ var access_code_state_unconfirmed = common_access_code_error.extend({
2342
+ error_code: zod.z.literal("access_code_state_unconfirmed").describe(error_code_description3)
2343
+ }).describe(
2344
+ "Indicates that the provider cannot confirm whether the access code was set or removed on the device."
2345
+ );
2341
2346
  var kwikset_unable_to_confirm_code = common_access_code_error.extend({
2342
2347
  error_code: zod.z.literal("kwikset_unable_to_confirm_code").describe(error_code_description3)
2343
- }).describe("Unable to confirm that the access code is set on Kwikset device.");
2348
+ }).describe(
2349
+ `
2350
+ ---
2351
+ deprecated: Use \`access_code_state_unconfirmed\` instead.
2352
+ ---
2353
+ Unable to confirm that the access code is set on Kwikset device.
2354
+ `
2355
+ );
2344
2356
  var kwikset_unable_to_confirm_deletion = common_access_code_error.extend({
2345
2357
  error_code: zod.z.literal("kwikset_unable_to_confirm_deletion").describe(error_code_description3)
2346
2358
  }).describe(
2347
- "Unable to confirm the deletion of the access code on Kwikset device."
2359
+ `
2360
+ ---
2361
+ deprecated: Use \`access_code_state_unconfirmed\` instead.
2362
+ ---
2363
+ Unable to confirm the deletion of the access code on Kwikset device.
2364
+ `
2348
2365
  );
2349
2366
  var kwikset_insufficient_permissions = common_access_code_error.extend({
2350
2367
  error_code: zod.z.literal("kwikset_insufficient_permissions").describe(error_code_description3)
@@ -2365,10 +2382,24 @@ var salto_ks_user_not_subscribed = common_access_code_error.extend({
2365
2382
  }).describe("Salto site user is not subscribed.");
2366
2383
  var wyze_duplicate_code_name = common_access_code_error.extend({
2367
2384
  error_code: zod.z.literal("wyze_duplicate_code_name").describe(error_code_description3)
2368
- }).describe("Duplicate access code name detected.");
2385
+ }).describe(
2386
+ `
2387
+ ---
2388
+ deprecated: Use \`duplicate_code_on_device\` instead.
2389
+ ---
2390
+ Duplicate access code name detected.
2391
+ `
2392
+ );
2369
2393
  var wyze_potential_duplicate_code = common_access_code_error.extend({
2370
2394
  error_code: zod.z.literal("wyze_potential_duplicate_code").describe(error_code_description3)
2371
- }).describe("Potential duplicate access code detected.");
2395
+ }).describe(
2396
+ `
2397
+ ---
2398
+ deprecated: Use \`duplicate_code_on_device\` instead.
2399
+ ---
2400
+ Potential duplicate access code detected.
2401
+ `
2402
+ );
2372
2403
  var dormakaba_oracode_invalid_time_range = common_access_code_error.extend({
2373
2404
  error_code: zod.z.literal("dormakaba_oracode_invalid_time_range").describe(error_code_description3)
2374
2405
  }).describe(
@@ -2390,6 +2421,7 @@ var access_code_error = zod.z.discriminatedUnion("error_code", [
2390
2421
  duplicate_code_on_device,
2391
2422
  duplicate_code_attempt_prevented,
2392
2423
  no_space_for_access_code_on_device,
2424
+ access_code_state_unconfirmed,
2393
2425
  kwikset_unable_to_confirm_code,
2394
2426
  kwikset_unable_to_confirm_deletion,
2395
2427
  code_modified_external_to_seam_error,
@@ -2414,6 +2446,7 @@ zod.z.object({
2414
2446
  no_space_for_access_code_on_device: no_space_for_access_code_on_device.optional().nullable(),
2415
2447
  duplicate_code_on_device: duplicate_code_on_device.optional().nullable(),
2416
2448
  duplicate_code_attempt_prevented: duplicate_code_attempt_prevented.optional().nullable(),
2449
+ access_code_state_unconfirmed: access_code_state_unconfirmed.optional().nullable(),
2417
2450
  kwikset_unable_to_confirm_code: kwikset_unable_to_confirm_code.optional().nullable(),
2418
2451
  kwikset_unable_to_confirm_deletion: kwikset_unable_to_confirm_deletion.optional().nullable(),
2419
2452
  kwikset_insufficient_permissions: kwikset_insufficient_permissions.optional().nullable(),
@@ -2448,7 +2481,14 @@ var code_modified_external_to_seam_warning = common_access_code_warning.extend({
2448
2481
  );
2449
2482
  var schlage_detected_duplicate = common_access_code_warning.extend({
2450
2483
  warning_code: zod.z.literal("schlage_detected_duplicate").describe(warning_code_description3)
2451
- }).describe("Duplicate access code detected.");
2484
+ }).describe(
2485
+ `
2486
+ ---
2487
+ deprecated: Use \`duplicate_code_on_device\` error instead.
2488
+ ---
2489
+ Duplicate access code detected.
2490
+ `
2491
+ );
2452
2492
  var schlage_creation_outage = common_access_code_warning.extend({
2453
2493
  warning_code: zod.z.literal("schlage_creation_outage").describe(warning_code_description3)
2454
2494
  }).describe("Received an error when attempting to create this code.");
@@ -2477,10 +2517,20 @@ var management_transferred = common_access_code_warning.extend({
2477
2517
  var kwikset_unable_to_confirm_code_warning = common_access_code_warning.extend({
2478
2518
  warning_code: zod.z.literal("kwikset_unable_to_confirm_code").describe(warning_code_description3)
2479
2519
  }).describe("Unable to confirm that the access code is set on Kwikset device.");
2520
+ var access_code_inactive = common_access_code_warning.extend({
2521
+ warning_code: zod.z.literal("access_code_inactive").describe(warning_code_description3)
2522
+ }).describe(
2523
+ "Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled."
2524
+ );
2480
2525
  var ultraloq_access_code_disabled = common_access_code_warning.extend({
2481
2526
  warning_code: zod.z.literal("ultraloq_access_code_disabled").describe(warning_code_description3)
2482
2527
  }).describe(
2483
- "Access code is disabled on Ultraloq device. Re-enable through the Ultraloq mobile app."
2528
+ `
2529
+ ---
2530
+ deprecated: Use \`access_code_inactive\` instead.
2531
+ ---
2532
+ Access code is disabled on Ultraloq device. Re-enable through the Ultraloq mobile app.
2533
+ `
2484
2534
  );
2485
2535
  var using_backup_access_code = common_access_code_warning.extend({
2486
2536
  warning_code: zod.z.literal("using_backup_access_code").describe(warning_code_description3)
@@ -2503,6 +2553,7 @@ var access_code_warning = zod.z.discriminatedUnion("warning_code", [
2503
2553
  igloo_algopin_must_be_used_within_24_hours,
2504
2554
  management_transferred,
2505
2555
  kwikset_unable_to_confirm_code_warning,
2556
+ access_code_inactive,
2506
2557
  ultraloq_access_code_disabled,
2507
2558
  using_backup_access_code,
2508
2559
  being_deleted2
@@ -2522,6 +2573,7 @@ zod.z.object({
2522
2573
  igloo_algopin_must_be_used_within_24_hours: igloo_algopin_must_be_used_within_24_hours.optional().nullable(),
2523
2574
  management_transferred: management_transferred.optional().nullable(),
2524
2575
  kwikset_unable_to_confirm_code_warning: kwikset_unable_to_confirm_code_warning.optional().nullable(),
2576
+ access_code_inactive: access_code_inactive.optional().nullable(),
2525
2577
  ultraloq_access_code_disabled: ultraloq_access_code_disabled.optional().nullable(),
2526
2578
  using_backup_access_code: using_backup_access_code.optional().nullable(),
2527
2579
  being_deleted: being_deleted2.optional().nullable()
@@ -7359,6 +7411,33 @@ var openapi = {
7359
7411
  type: "object"
7360
7412
  },
7361
7413
  {
7414
+ description: "Indicates that the provider cannot confirm whether the access code was set or removed on the device.",
7415
+ properties: {
7416
+ created_at: {
7417
+ description: "Date and time at which Seam created the error.",
7418
+ format: "date-time",
7419
+ type: "string"
7420
+ },
7421
+ error_code: {
7422
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
7423
+ enum: ["access_code_state_unconfirmed"],
7424
+ type: "string"
7425
+ },
7426
+ is_access_code_error: {
7427
+ description: "Indicates that this is an access code error.",
7428
+ enum: [true],
7429
+ type: "boolean"
7430
+ },
7431
+ message: {
7432
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
7433
+ type: "string"
7434
+ }
7435
+ },
7436
+ required: ["message", "is_access_code_error", "error_code"],
7437
+ type: "object"
7438
+ },
7439
+ {
7440
+ deprecated: true,
7362
7441
  description: "Unable to confirm that the access code is set on Kwikset device.",
7363
7442
  properties: {
7364
7443
  created_at: {
@@ -7382,9 +7461,11 @@ var openapi = {
7382
7461
  }
7383
7462
  },
7384
7463
  required: ["message", "is_access_code_error", "error_code"],
7385
- type: "object"
7464
+ type: "object",
7465
+ "x-deprecated": "Use `access_code_state_unconfirmed` instead."
7386
7466
  },
7387
7467
  {
7468
+ deprecated: true,
7388
7469
  description: "Unable to confirm the deletion of the access code on Kwikset device.",
7389
7470
  properties: {
7390
7471
  created_at: {
@@ -7408,7 +7489,8 @@ var openapi = {
7408
7489
  }
7409
7490
  },
7410
7491
  required: ["message", "is_access_code_error", "error_code"],
7411
- type: "object"
7492
+ type: "object",
7493
+ "x-deprecated": "Use `access_code_state_unconfirmed` instead."
7412
7494
  },
7413
7495
  {
7414
7496
  description: "Code was modified or removed externally after Seam successfully set it on the device.",
@@ -7541,6 +7623,7 @@ var openapi = {
7541
7623
  type: "object"
7542
7624
  },
7543
7625
  {
7626
+ deprecated: true,
7544
7627
  description: "Duplicate access code name detected.",
7545
7628
  properties: {
7546
7629
  created_at: {
@@ -7564,9 +7647,11 @@ var openapi = {
7564
7647
  }
7565
7648
  },
7566
7649
  required: ["message", "is_access_code_error", "error_code"],
7567
- type: "object"
7650
+ type: "object",
7651
+ "x-deprecated": "Use `duplicate_code_on_device` instead."
7568
7652
  },
7569
7653
  {
7654
+ deprecated: true,
7570
7655
  description: "Potential duplicate access code detected.",
7571
7656
  properties: {
7572
7657
  created_at: {
@@ -7590,7 +7675,8 @@ var openapi = {
7590
7675
  }
7591
7676
  },
7592
7677
  required: ["message", "is_access_code_error", "error_code"],
7593
- type: "object"
7678
+ type: "object",
7679
+ "x-deprecated": "Use `duplicate_code_on_device` instead."
7594
7680
  },
7595
7681
  {
7596
7682
  description: "No Dormakaba Oracode user levels configured for the requested time range.",
@@ -8534,6 +8620,7 @@ var openapi = {
8534
8620
  type: "object"
8535
8621
  },
8536
8622
  {
8623
+ deprecated: true,
8537
8624
  description: "Duplicate access code detected.",
8538
8625
  properties: {
8539
8626
  created_at: {
@@ -8552,7 +8639,8 @@ var openapi = {
8552
8639
  }
8553
8640
  },
8554
8641
  required: ["message", "warning_code"],
8555
- type: "object"
8642
+ type: "object",
8643
+ "x-deprecated": "Use `duplicate_code_on_device` error instead."
8556
8644
  },
8557
8645
  {
8558
8646
  description: "Received an error when attempting to create this code.",
@@ -8765,6 +8853,28 @@ var openapi = {
8765
8853
  type: "object"
8766
8854
  },
8767
8855
  {
8856
+ description: "Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled.",
8857
+ properties: {
8858
+ created_at: {
8859
+ description: "Date and time at which Seam created the warning.",
8860
+ format: "date-time",
8861
+ type: "string"
8862
+ },
8863
+ message: {
8864
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
8865
+ type: "string"
8866
+ },
8867
+ warning_code: {
8868
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
8869
+ enum: ["access_code_inactive"],
8870
+ type: "string"
8871
+ }
8872
+ },
8873
+ required: ["message", "warning_code"],
8874
+ type: "object"
8875
+ },
8876
+ {
8877
+ deprecated: true,
8768
8878
  description: "Access code is disabled on Ultraloq device. Re-enable through the Ultraloq mobile app.",
8769
8879
  properties: {
8770
8880
  created_at: {
@@ -8783,7 +8893,8 @@ var openapi = {
8783
8893
  }
8784
8894
  },
8785
8895
  required: ["message", "warning_code"],
8786
- type: "object"
8896
+ type: "object",
8897
+ "x-deprecated": "Use `access_code_inactive` instead."
8787
8898
  },
8788
8899
  {
8789
8900
  description: "A backup access code has been pulled and is being used in place of this access code.",
@@ -31802,6 +31913,33 @@ var openapi = {
31802
31913
  type: "object"
31803
31914
  },
31804
31915
  {
31916
+ description: "Indicates that the provider cannot confirm whether the access code was set or removed on the device.",
31917
+ properties: {
31918
+ created_at: {
31919
+ description: "Date and time at which Seam created the error.",
31920
+ format: "date-time",
31921
+ type: "string"
31922
+ },
31923
+ error_code: {
31924
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
31925
+ enum: ["access_code_state_unconfirmed"],
31926
+ type: "string"
31927
+ },
31928
+ is_access_code_error: {
31929
+ description: "Indicates that this is an access code error.",
31930
+ enum: [true],
31931
+ type: "boolean"
31932
+ },
31933
+ message: {
31934
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
31935
+ type: "string"
31936
+ }
31937
+ },
31938
+ required: ["message", "is_access_code_error", "error_code"],
31939
+ type: "object"
31940
+ },
31941
+ {
31942
+ deprecated: true,
31805
31943
  description: "Unable to confirm that the access code is set on Kwikset device.",
31806
31944
  properties: {
31807
31945
  created_at: {
@@ -31825,9 +31963,11 @@ var openapi = {
31825
31963
  }
31826
31964
  },
31827
31965
  required: ["message", "is_access_code_error", "error_code"],
31828
- type: "object"
31966
+ type: "object",
31967
+ "x-deprecated": "Use `access_code_state_unconfirmed` instead."
31829
31968
  },
31830
31969
  {
31970
+ deprecated: true,
31831
31971
  description: "Unable to confirm the deletion of the access code on Kwikset device.",
31832
31972
  properties: {
31833
31973
  created_at: {
@@ -31851,7 +31991,8 @@ var openapi = {
31851
31991
  }
31852
31992
  },
31853
31993
  required: ["message", "is_access_code_error", "error_code"],
31854
- type: "object"
31994
+ type: "object",
31995
+ "x-deprecated": "Use `access_code_state_unconfirmed` instead."
31855
31996
  },
31856
31997
  {
31857
31998
  description: "Code was modified or removed externally after Seam successfully set it on the device.",
@@ -31984,6 +32125,7 @@ var openapi = {
31984
32125
  type: "object"
31985
32126
  },
31986
32127
  {
32128
+ deprecated: true,
31987
32129
  description: "Duplicate access code name detected.",
31988
32130
  properties: {
31989
32131
  created_at: {
@@ -32007,9 +32149,11 @@ var openapi = {
32007
32149
  }
32008
32150
  },
32009
32151
  required: ["message", "is_access_code_error", "error_code"],
32010
- type: "object"
32152
+ type: "object",
32153
+ "x-deprecated": "Use `duplicate_code_on_device` instead."
32011
32154
  },
32012
32155
  {
32156
+ deprecated: true,
32013
32157
  description: "Potential duplicate access code detected.",
32014
32158
  properties: {
32015
32159
  created_at: {
@@ -32033,7 +32177,8 @@ var openapi = {
32033
32177
  }
32034
32178
  },
32035
32179
  required: ["message", "is_access_code_error", "error_code"],
32036
- type: "object"
32180
+ type: "object",
32181
+ "x-deprecated": "Use `duplicate_code_on_device` instead."
32037
32182
  },
32038
32183
  {
32039
32184
  description: "No Dormakaba Oracode user levels configured for the requested time range.",
@@ -32694,6 +32839,7 @@ var openapi = {
32694
32839
  type: "object"
32695
32840
  },
32696
32841
  {
32842
+ deprecated: true,
32697
32843
  description: "Duplicate access code detected.",
32698
32844
  properties: {
32699
32845
  created_at: {
@@ -32712,7 +32858,8 @@ var openapi = {
32712
32858
  }
32713
32859
  },
32714
32860
  required: ["message", "warning_code"],
32715
- type: "object"
32861
+ type: "object",
32862
+ "x-deprecated": "Use `duplicate_code_on_device` error instead."
32716
32863
  },
32717
32864
  {
32718
32865
  description: "Received an error when attempting to create this code.",
@@ -32925,6 +33072,28 @@ var openapi = {
32925
33072
  type: "object"
32926
33073
  },
32927
33074
  {
33075
+ description: "Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled.",
33076
+ properties: {
33077
+ created_at: {
33078
+ description: "Date and time at which Seam created the warning.",
33079
+ format: "date-time",
33080
+ type: "string"
33081
+ },
33082
+ message: {
33083
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
33084
+ type: "string"
33085
+ },
33086
+ warning_code: {
33087
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
33088
+ enum: ["access_code_inactive"],
33089
+ type: "string"
33090
+ }
33091
+ },
33092
+ required: ["message", "warning_code"],
33093
+ type: "object"
33094
+ },
33095
+ {
33096
+ deprecated: true,
32928
33097
  description: "Access code is disabled on Ultraloq device. Re-enable through the Ultraloq mobile app.",
32929
33098
  properties: {
32930
33099
  created_at: {
@@ -32943,7 +33112,8 @@ var openapi = {
32943
33112
  }
32944
33113
  },
32945
33114
  required: ["message", "warning_code"],
32946
- type: "object"
33115
+ type: "object",
33116
+ "x-deprecated": "Use `access_code_inactive` instead."
32947
33117
  },
32948
33118
  {
32949
33119
  description: "A backup access code has been pulled and is being used in place of this access code.",