@seamapi/types 1.336.1 → 1.338.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
@@ -929,6 +929,11 @@ var scheduled_maintenance_window2 = common_device_warning.extend({
929
929
  var device_has_flaky_connection = common_device_warning.extend({
930
930
  warning_code: zod.z.literal("device_has_flaky_connection").describe(warning_code_description2)
931
931
  }).describe("Device has flaky connection.");
932
+ var unknown_issue_with_phone = common_device_warning.extend({
933
+ warning_code: zod.z.literal("unknown_issue_with_phone").describe(warning_code_description2)
934
+ }).describe(
935
+ "An unknown issue occurred while syncing the state of this phone with the provider. This issue may affect the proper functioning of this phone."
936
+ );
932
937
  var device_warning = zod.z.union([
933
938
  partial_backup_access_code_pool,
934
939
  many_active_backup_codes,
@@ -944,7 +949,8 @@ var device_warning = zod.z.union([
944
949
  scheduled_maintenance_window2,
945
950
  device_has_flaky_connection,
946
951
  salto_office_mode,
947
- salto_privacy_mode
952
+ salto_privacy_mode,
953
+ unknown_issue_with_phone
948
954
  ]);
949
955
  var common_device_properties = zod.z.object({
950
956
  online: zod.z.boolean().describe("Indicates whether the device is online."),
@@ -2311,10 +2317,15 @@ var incompatible_card_format_error = zod.z.object({
2311
2317
  type: zod.z.literal("incompatible_card_format"),
2312
2318
  message: zod.z.string()
2313
2319
  });
2320
+ var credential_cannot_be_reissued = zod.z.object({
2321
+ type: zod.z.literal("credential_cannot_be_reissued"),
2322
+ message: zod.z.string()
2323
+ });
2314
2324
  var error3 = zod.z.union([
2315
2325
  ...common_action_attempt_errors,
2316
2326
  no_credential_on_encoder_error,
2317
- incompatible_card_format_error
2327
+ incompatible_card_format_error,
2328
+ credential_cannot_be_reissued
2318
2329
  ]);
2319
2330
  var result3 = acs_credential.or(unmanaged_acs_credential);
2320
2331
  var encode_credential_action_attempt = zod.z.discriminatedUnion("status", [
@@ -7389,6 +7400,17 @@ var openapi_default = {
7389
7400
  },
7390
7401
  required: ["type", "message"],
7391
7402
  type: "object"
7403
+ },
7404
+ {
7405
+ properties: {
7406
+ message: { type: "string" },
7407
+ type: {
7408
+ enum: ["credential_cannot_be_reissued"],
7409
+ type: "string"
7410
+ }
7411
+ },
7412
+ required: ["type", "message"],
7413
+ type: "object"
7392
7414
  }
7393
7415
  ]
7394
7416
  },
@@ -10234,6 +10256,19 @@ var openapi_default = {
10234
10256
  },
10235
10257
  required: ["message", "warning_code"],
10236
10258
  type: "object"
10259
+ },
10260
+ {
10261
+ description: "An unknown issue occurred while syncing the state of this phone with the provider. This issue may affect the proper functioning of this phone.",
10262
+ properties: {
10263
+ message: { type: "string" },
10264
+ warning_code: {
10265
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
10266
+ enum: ["unknown_issue_with_phone"],
10267
+ type: "string"
10268
+ }
10269
+ },
10270
+ required: ["message", "warning_code"],
10271
+ type: "object"
10237
10272
  }
10238
10273
  ]
10239
10274
  },
@@ -14933,6 +14968,19 @@ var openapi_default = {
14933
14968
  },
14934
14969
  required: ["message", "warning_code"],
14935
14970
  type: "object"
14971
+ },
14972
+ {
14973
+ description: "An unknown issue occurred while syncing the state of this phone with the provider. This issue may affect the proper functioning of this phone.",
14974
+ properties: {
14975
+ message: { type: "string" },
14976
+ warning_code: {
14977
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
14978
+ enum: ["unknown_issue_with_phone"],
14979
+ type: "string"
14980
+ }
14981
+ },
14982
+ required: ["message", "warning_code"],
14983
+ type: "object"
14936
14984
  }
14937
14985
  ]
14938
14986
  },
@@ -16503,6 +16551,19 @@ var openapi_default = {
16503
16551
  },
16504
16552
  required: ["message", "warning_code"],
16505
16553
  type: "object"
16554
+ },
16555
+ {
16556
+ description: "An unknown issue occurred while syncing the state of this phone with the provider. This issue may affect the proper functioning of this phone.",
16557
+ properties: {
16558
+ message: { type: "string" },
16559
+ warning_code: {
16560
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
16561
+ enum: ["unknown_issue_with_phone"],
16562
+ type: "string"
16563
+ }
16564
+ },
16565
+ required: ["message", "warning_code"],
16566
+ type: "object"
16506
16567
  }
16507
16568
  ]
16508
16569
  },