@seamapi/types 1.695.0 → 1.697.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
@@ -2391,6 +2391,16 @@ var requested_access_method = zod.z.object({
2391
2391
  });
2392
2392
 
2393
2393
  // src/lib/seam/connect/models/access-grants/access-grant.ts
2394
+ var common_access_grant_error = zod.z.object({
2395
+ created_at: zod.z.string().datetime().describe("Date and time at which Seam created the error."),
2396
+ message: zod.z.string().describe(
2397
+ "Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
2398
+ )
2399
+ });
2400
+ var error_code_description4 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
2401
+ var cannot_create_requested_access_methods_error = common_access_grant_error.extend({
2402
+ error_code: zod.z.literal("cannot_create_requested_access_methods").describe(error_code_description4)
2403
+ });
2394
2404
  var common_access_grant_warning = zod.z.object({
2395
2405
  created_at: zod.z.string().datetime().describe("Date and time at which Seam created the warning."),
2396
2406
  message: zod.z.string().describe(
@@ -2398,6 +2408,12 @@ var common_access_grant_warning = zod.z.object({
2398
2408
  )
2399
2409
  });
2400
2410
  var warning_code_description4 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
2411
+ var access_grant_error = zod.z.discriminatedUnion("error_code", [
2412
+ cannot_create_requested_access_methods_error
2413
+ ]);
2414
+ zod.z.object({
2415
+ cannot_create_requested_access_methods: cannot_create_requested_access_methods_error.optional().nullable()
2416
+ });
2401
2417
  var being_deleted = common_access_grant_warning.extend({
2402
2418
  warning_code: zod.z.literal("being_deleted").describe(warning_code_description4)
2403
2419
  }).describe(
@@ -2439,6 +2455,9 @@ var access_grant = zod.z.object({
2439
2455
  warnings: zod.z.array(access_grant_warning).describe(
2440
2456
  "Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants)."
2441
2457
  ),
2458
+ errors: zod.z.array(access_grant_error).describe(
2459
+ "Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants)."
2460
+ ),
2442
2461
  customization_profile_id: zod.z.string().uuid().optional().describe(
2443
2462
  "ID of the customization profile associated with the Access Grant."
2444
2463
  )
@@ -2958,9 +2977,9 @@ var common_acs_encoder_error = zod.z.object({
2958
2977
  "Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
2959
2978
  )
2960
2979
  });
2961
- var error_code_description4 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
2980
+ var error_code_description5 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
2962
2981
  var acs_encoder_removed = common_acs_encoder_error.extend({
2963
- error_code: zod.z.literal("acs_encoder_removed").describe(error_code_description4)
2982
+ error_code: zod.z.literal("acs_encoder_removed").describe(error_code_description5)
2964
2983
  });
2965
2984
  var acs_encoder_error = (
2966
2985
  // z.union([
@@ -3119,40 +3138,40 @@ var common_acs_system_error = zod.z.object({
3119
3138
  "Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
3120
3139
  )
3121
3140
  });
3122
- var error_code_description5 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
3141
+ var error_code_description6 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
3123
3142
  var warning_code_description8 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
3124
3143
  var seam_bridge_disconnected = common_acs_system_error.extend({
3125
- error_code: zod.z.literal("seam_bridge_disconnected").describe(error_code_description5)
3144
+ error_code: zod.z.literal("seam_bridge_disconnected").describe(error_code_description6)
3126
3145
  }).describe(`Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge), for example, if Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline.
3127
3146
  This error might also occur if Seam Bridge is connected to the wrong [workspace](https://docs.seam.co/latest/core-concepts/workspaces).
3128
3147
  See also [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).`);
3129
3148
  var bridge_disconnected2 = common_acs_system_error.extend({
3130
- error_code: zod.z.literal("bridge_disconnected").describe(error_code_description5),
3149
+ error_code: zod.z.literal("bridge_disconnected").describe(error_code_description6),
3131
3150
  is_bridge_error: zod.z.boolean().optional()
3132
3151
  }).describe(`Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge), for example, if Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline.
3133
3152
  See also [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).`);
3134
3153
  var visionline_instance_unreachable = common_acs_system_error.extend({
3135
- error_code: zod.z.literal("visionline_instance_unreachable").describe(error_code_description5)
3154
+ error_code: zod.z.literal("visionline_instance_unreachable").describe(error_code_description6)
3136
3155
  }).describe(`Indicates that [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge) is functioning correctly and the Seam API can communicate with Seam Bridge, but the Seam API cannot connect to the on-premises [Visionline access control system](https://docs.seam.co/latest/device-and-system-integration-guides/assa-abloy-visionline-access-control-system).
3137
3156
  For example, the IP address of the on-premises access control system may be set incorrectly within the Seam [workspace](https://docs.seam.co/latest/core-concepts/workspaces).
3138
3157
  See also [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.visionline_instance_unreachable).`);
3139
3158
  var salto_ks_subscription_limit_exceeded3 = common_acs_system_error.extend({
3140
- error_code: zod.z.literal("salto_ks_subscription_limit_exceeded").describe(error_code_description5)
3159
+ error_code: zod.z.literal("salto_ks_subscription_limit_exceeded").describe(error_code_description6)
3141
3160
  }).describe(
3142
3161
  "Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit."
3143
3162
  );
3144
3163
  var acs_system_disconnected = common_acs_system_error.extend({
3145
- error_code: zod.z.literal("acs_system_disconnected").describe(error_code_description5)
3164
+ error_code: zod.z.literal("acs_system_disconnected").describe(error_code_description6)
3146
3165
  }).describe(
3147
3166
  "Indicates that the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) has been disconnected. See [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system) to resolve the issue."
3148
3167
  );
3149
3168
  var account_disconnected3 = common_acs_system_error.extend({
3150
- error_code: zod.z.literal("account_disconnected").describe(error_code_description5)
3169
+ error_code: zod.z.literal("account_disconnected").describe(error_code_description6)
3151
3170
  }).describe(
3152
3171
  "Indicates that the login credentials are invalid. Reconnect the account using a [Connect Webview](https://docs.seam.co/latest/ui-components/connect-webviews) to restore access."
3153
3172
  );
3154
3173
  var salto_ks_certification_expired = common_acs_system_error.extend({
3155
- error_code: zod.z.literal("salto_ks_certification_expired").describe(error_code_description5)
3174
+ error_code: zod.z.literal("salto_ks_certification_expired").describe(error_code_description6)
3156
3175
  }).describe(
3157
3176
  "Indicates that the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) has lost its Salto KS certification. Contact [support](mailto:support@seam.co) to regain access."
3158
3177
  );
@@ -5431,7 +5450,37 @@ var space_device_membership_changed_event = space_event.extend({
5431
5450
  ---
5432
5451
  A device was added or removed from a space.
5433
5452
  `);
5434
- var space_events = [space_device_membership_changed_event];
5453
+ var space_created_event = space_event.extend({
5454
+ event_type: zod.z.literal("space.created").describe("Type of the event."),
5455
+ space_key: zod.z.string().optional().describe("Unique key for the space within the workspace."),
5456
+ device_ids: zod.z.array(zod.z.string().uuid()).describe("IDs of all devices attached to the space when it was created."),
5457
+ acs_entrance_ids: zod.z.array(zod.z.string().uuid()).describe(
5458
+ "IDs of all ACS entrances attached to the space when it was created."
5459
+ )
5460
+ }).describe(`
5461
+ ---
5462
+ route_path: /spaces
5463
+ ---
5464
+ A space was created.
5465
+ `);
5466
+ var space_deleted_event = space_event.extend({
5467
+ event_type: zod.z.literal("space.deleted").describe("Type of the event."),
5468
+ space_key: zod.z.string().optional().describe("Unique key for the space within the workspace."),
5469
+ device_ids: zod.z.array(zod.z.string().uuid()).describe("IDs of all devices attached to the space when it was deleted."),
5470
+ acs_entrance_ids: zod.z.array(zod.z.string().uuid()).describe(
5471
+ "IDs of all ACS entrances currently attached to the space when it was deleted."
5472
+ )
5473
+ }).describe(`
5474
+ ---
5475
+ route_path: /spaces
5476
+ ---
5477
+ A space was deleted.
5478
+ `);
5479
+ var space_events = [
5480
+ space_device_membership_changed_event,
5481
+ space_created_event,
5482
+ space_deleted_event
5483
+ ];
5435
5484
 
5436
5485
  // src/lib/seam/connect/models/events/seam-event.ts
5437
5486
  var seam_event = zod.z.discriminatedUnion("event_type", [
@@ -5735,9 +5784,9 @@ var common_bridge_client_session_error = zod.z.object({
5735
5784
  ),
5736
5785
  created_at: zod.z.string().datetime().describe("Date and time at which Seam created the error.")
5737
5786
  });
5738
- var error_code_description6 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
5787
+ var error_code_description7 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
5739
5788
  var bridge_lan_unreachable = common_bridge_client_session_error.extend({
5740
- error_code: zod.z.literal("bridge_lan_unreachable").describe(error_code_description6),
5789
+ error_code: zod.z.literal("bridge_lan_unreachable").describe(error_code_description7),
5741
5790
  is_tailscale_proxy_reachable: zod.z.boolean().nullable().describe("Indicates whether Seam can reach the Tailscale proxy."),
5742
5791
  is_tailscale_proxy_socks_server_healthy: zod.z.boolean().nullable().describe(
5743
5792
  "Indicates whether the Tailscale proxy's SOCKS server is healthy."
@@ -5749,7 +5798,7 @@ var bridge_lan_unreachable = common_bridge_client_session_error.extend({
5749
5798
  is_bridge_socks_server_healthy: zod.z.boolean().nullable().describe("Indicates whether Seam Bridge's SOCKS server is healthy.")
5750
5799
  }).describe("Indicates that Seam cannot reach Seam Bridge's LAN.");
5751
5800
  var no_communication_from_bridge = common_bridge_client_session_error.extend({
5752
- error_code: zod.z.literal("no_communication_from_bridge").describe(error_code_description6)
5801
+ error_code: zod.z.literal("no_communication_from_bridge").describe(error_code_description7)
5753
5802
  }).describe("Indicates that Seam Bridge has stopped communicating with Seam.");
5754
5803
  var bridge_client_session_error = zod.z.discriminatedUnion("error_code", [
5755
5804
  bridge_lan_unreachable,
@@ -7560,6 +7609,35 @@ var openapi_default = {
7560
7609
  nullable: true,
7561
7610
  type: "string"
7562
7611
  },
7612
+ errors: {
7613
+ description: "Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants).",
7614
+ items: {
7615
+ discriminator: { propertyName: "error_code" },
7616
+ oneOf: [
7617
+ {
7618
+ properties: {
7619
+ created_at: {
7620
+ description: "Date and time at which Seam created the error.",
7621
+ format: "date-time",
7622
+ type: "string"
7623
+ },
7624
+ error_code: {
7625
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
7626
+ enum: ["cannot_create_requested_access_methods"],
7627
+ type: "string"
7628
+ },
7629
+ message: {
7630
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
7631
+ type: "string"
7632
+ }
7633
+ },
7634
+ required: ["created_at", "message", "error_code"],
7635
+ type: "object"
7636
+ }
7637
+ ]
7638
+ },
7639
+ type: "array"
7640
+ },
7563
7641
  instant_key_url: {
7564
7642
  description: "Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. ",
7565
7643
  format: "uri",
@@ -7686,7 +7764,8 @@ var openapi_default = {
7686
7764
  "created_at",
7687
7765
  "starts_at",
7688
7766
  "ends_at",
7689
- "warnings"
7767
+ "warnings",
7768
+ "errors"
7690
7769
  ],
7691
7770
  type: "object",
7692
7771
  "x-draft": "Early access.",
@@ -23858,6 +23937,128 @@ var openapi_default = {
23858
23937
  ],
23859
23938
  type: "object",
23860
23939
  "x-route-path": "/spaces"
23940
+ },
23941
+ {
23942
+ description: "A space was created.",
23943
+ properties: {
23944
+ acs_entrance_ids: {
23945
+ description: "IDs of all ACS entrances attached to the space when it was created.",
23946
+ items: { format: "uuid", type: "string" },
23947
+ type: "array"
23948
+ },
23949
+ created_at: {
23950
+ description: "Date and time at which the event was created.",
23951
+ format: "date-time",
23952
+ type: "string"
23953
+ },
23954
+ device_ids: {
23955
+ description: "IDs of all devices attached to the space when it was created.",
23956
+ items: { format: "uuid", type: "string" },
23957
+ type: "array"
23958
+ },
23959
+ event_id: {
23960
+ description: "ID of the event.",
23961
+ format: "uuid",
23962
+ type: "string"
23963
+ },
23964
+ event_type: {
23965
+ description: "Type of the event.",
23966
+ enum: ["space.created"],
23967
+ type: "string"
23968
+ },
23969
+ occurred_at: {
23970
+ description: "Date and time at which the event occurred.",
23971
+ format: "date-time",
23972
+ type: "string"
23973
+ },
23974
+ space_id: {
23975
+ description: "ID of the affected space.",
23976
+ format: "uuid",
23977
+ type: "string"
23978
+ },
23979
+ space_key: {
23980
+ description: "Unique key for the space within the workspace.",
23981
+ type: "string"
23982
+ },
23983
+ workspace_id: {
23984
+ description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event.",
23985
+ format: "uuid",
23986
+ type: "string"
23987
+ }
23988
+ },
23989
+ required: [
23990
+ "event_id",
23991
+ "workspace_id",
23992
+ "created_at",
23993
+ "occurred_at",
23994
+ "space_id",
23995
+ "event_type",
23996
+ "device_ids",
23997
+ "acs_entrance_ids"
23998
+ ],
23999
+ type: "object",
24000
+ "x-route-path": "/spaces"
24001
+ },
24002
+ {
24003
+ description: "A space was deleted.",
24004
+ properties: {
24005
+ acs_entrance_ids: {
24006
+ description: "IDs of all ACS entrances currently attached to the space when it was deleted.",
24007
+ items: { format: "uuid", type: "string" },
24008
+ type: "array"
24009
+ },
24010
+ created_at: {
24011
+ description: "Date and time at which the event was created.",
24012
+ format: "date-time",
24013
+ type: "string"
24014
+ },
24015
+ device_ids: {
24016
+ description: "IDs of all devices attached to the space when it was deleted.",
24017
+ items: { format: "uuid", type: "string" },
24018
+ type: "array"
24019
+ },
24020
+ event_id: {
24021
+ description: "ID of the event.",
24022
+ format: "uuid",
24023
+ type: "string"
24024
+ },
24025
+ event_type: {
24026
+ description: "Type of the event.",
24027
+ enum: ["space.deleted"],
24028
+ type: "string"
24029
+ },
24030
+ occurred_at: {
24031
+ description: "Date and time at which the event occurred.",
24032
+ format: "date-time",
24033
+ type: "string"
24034
+ },
24035
+ space_id: {
24036
+ description: "ID of the affected space.",
24037
+ format: "uuid",
24038
+ type: "string"
24039
+ },
24040
+ space_key: {
24041
+ description: "Unique key for the space within the workspace.",
24042
+ type: "string"
24043
+ },
24044
+ workspace_id: {
24045
+ description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event.",
24046
+ format: "uuid",
24047
+ type: "string"
24048
+ }
24049
+ },
24050
+ required: [
24051
+ "event_id",
24052
+ "workspace_id",
24053
+ "created_at",
24054
+ "occurred_at",
24055
+ "space_id",
24056
+ "event_type",
24057
+ "device_ids",
24058
+ "acs_entrance_ids"
24059
+ ],
24060
+ type: "object",
24061
+ "x-route-path": "/spaces"
23861
24062
  }
23862
24063
  ],
23863
24064
  "x-route-path": "/events"
@@ -33068,6 +33269,41 @@ var openapi_default = {
33068
33269
  nullable: true,
33069
33270
  type: "string"
33070
33271
  },
33272
+ errors: {
33273
+ description: "Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants).",
33274
+ items: {
33275
+ discriminator: { propertyName: "error_code" },
33276
+ oneOf: [
33277
+ {
33278
+ properties: {
33279
+ created_at: {
33280
+ description: "Date and time at which Seam created the error.",
33281
+ format: "date-time",
33282
+ type: "string"
33283
+ },
33284
+ error_code: {
33285
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
33286
+ enum: [
33287
+ "cannot_create_requested_access_methods"
33288
+ ],
33289
+ type: "string"
33290
+ },
33291
+ message: {
33292
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
33293
+ type: "string"
33294
+ }
33295
+ },
33296
+ required: [
33297
+ "created_at",
33298
+ "message",
33299
+ "error_code"
33300
+ ],
33301
+ type: "object"
33302
+ }
33303
+ ]
33304
+ },
33305
+ type: "array"
33306
+ },
33071
33307
  location_ids: {
33072
33308
  deprecated: true,
33073
33309
  items: { format: "uuid", type: "string" },
@@ -33192,7 +33428,8 @@ var openapi_default = {
33192
33428
  "created_at",
33193
33429
  "starts_at",
33194
33430
  "ends_at",
33195
- "warnings"
33431
+ "warnings",
33432
+ "errors"
33196
33433
  ],
33197
33434
  type: "object",
33198
33435
  "x-draft": "Early access.",
@@ -33279,6 +33516,41 @@ var openapi_default = {
33279
33516
  nullable: true,
33280
33517
  type: "string"
33281
33518
  },
33519
+ errors: {
33520
+ description: "Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants).",
33521
+ items: {
33522
+ discriminator: { propertyName: "error_code" },
33523
+ oneOf: [
33524
+ {
33525
+ properties: {
33526
+ created_at: {
33527
+ description: "Date and time at which Seam created the error.",
33528
+ format: "date-time",
33529
+ type: "string"
33530
+ },
33531
+ error_code: {
33532
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
33533
+ enum: [
33534
+ "cannot_create_requested_access_methods"
33535
+ ],
33536
+ type: "string"
33537
+ },
33538
+ message: {
33539
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
33540
+ type: "string"
33541
+ }
33542
+ },
33543
+ required: [
33544
+ "created_at",
33545
+ "message",
33546
+ "error_code"
33547
+ ],
33548
+ type: "object"
33549
+ }
33550
+ ]
33551
+ },
33552
+ type: "array"
33553
+ },
33282
33554
  location_ids: {
33283
33555
  deprecated: true,
33284
33556
  items: { format: "uuid", type: "string" },
@@ -33403,7 +33675,8 @@ var openapi_default = {
33403
33675
  "created_at",
33404
33676
  "starts_at",
33405
33677
  "ends_at",
33406
- "warnings"
33678
+ "warnings",
33679
+ "errors"
33407
33680
  ],
33408
33681
  type: "object",
33409
33682
  "x-draft": "Early access.",
@@ -33513,6 +33786,41 @@ var openapi_default = {
33513
33786
  nullable: true,
33514
33787
  type: "string"
33515
33788
  },
33789
+ errors: {
33790
+ description: "Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants).",
33791
+ items: {
33792
+ discriminator: { propertyName: "error_code" },
33793
+ oneOf: [
33794
+ {
33795
+ properties: {
33796
+ created_at: {
33797
+ description: "Date and time at which Seam created the error.",
33798
+ format: "date-time",
33799
+ type: "string"
33800
+ },
33801
+ error_code: {
33802
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
33803
+ enum: [
33804
+ "cannot_create_requested_access_methods"
33805
+ ],
33806
+ type: "string"
33807
+ },
33808
+ message: {
33809
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
33810
+ type: "string"
33811
+ }
33812
+ },
33813
+ required: [
33814
+ "created_at",
33815
+ "message",
33816
+ "error_code"
33817
+ ],
33818
+ type: "object"
33819
+ }
33820
+ ]
33821
+ },
33822
+ type: "array"
33823
+ },
33516
33824
  location_ids: {
33517
33825
  deprecated: true,
33518
33826
  items: { format: "uuid", type: "string" },
@@ -33637,7 +33945,8 @@ var openapi_default = {
33637
33945
  "created_at",
33638
33946
  "starts_at",
33639
33947
  "ends_at",
33640
- "warnings"
33948
+ "warnings",
33949
+ "errors"
33641
33950
  ],
33642
33951
  type: "object",
33643
33952
  "x-draft": "Early access.",
@@ -33740,6 +34049,41 @@ var openapi_default = {
33740
34049
  nullable: true,
33741
34050
  type: "string"
33742
34051
  },
34052
+ errors: {
34053
+ description: "Errors associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants).",
34054
+ items: {
34055
+ discriminator: { propertyName: "error_code" },
34056
+ oneOf: [
34057
+ {
34058
+ properties: {
34059
+ created_at: {
34060
+ description: "Date and time at which Seam created the error.",
34061
+ format: "date-time",
34062
+ type: "string"
34063
+ },
34064
+ error_code: {
34065
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
34066
+ enum: [
34067
+ "cannot_create_requested_access_methods"
34068
+ ],
34069
+ type: "string"
34070
+ },
34071
+ message: {
34072
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
34073
+ type: "string"
34074
+ }
34075
+ },
34076
+ required: [
34077
+ "created_at",
34078
+ "message",
34079
+ "error_code"
34080
+ ],
34081
+ type: "object"
34082
+ }
34083
+ ]
34084
+ },
34085
+ type: "array"
34086
+ },
33743
34087
  location_ids: {
33744
34088
  deprecated: true,
33745
34089
  items: { format: "uuid", type: "string" },
@@ -33864,7 +34208,8 @@ var openapi_default = {
33864
34208
  "created_at",
33865
34209
  "starts_at",
33866
34210
  "ends_at",
33867
- "warnings"
34211
+ "warnings",
34212
+ "errors"
33868
34213
  ],
33869
34214
  type: "object",
33870
34215
  "x-draft": "Early access.",
@@ -49494,7 +49839,9 @@ var openapi_default = {
49494
49839
  "device.name_changed",
49495
49840
  "enrollment_automation.deleted",
49496
49841
  "phone.deactivated",
49497
- "space.device_membership_changed"
49842
+ "space.device_membership_changed",
49843
+ "space.created",
49844
+ "space.deleted"
49498
49845
  ],
49499
49846
  type: "string"
49500
49847
  }
@@ -49598,7 +49945,9 @@ var openapi_default = {
49598
49945
  "device.name_changed",
49599
49946
  "enrollment_automation.deleted",
49600
49947
  "phone.deactivated",
49601
- "space.device_membership_changed"
49948
+ "space.device_membership_changed",
49949
+ "space.created",
49950
+ "space.deleted"
49602
49951
  ],
49603
49952
  type: "string"
49604
49953
  },
@@ -49881,7 +50230,9 @@ var openapi_default = {
49881
50230
  "device.name_changed",
49882
50231
  "enrollment_automation.deleted",
49883
50232
  "phone.deactivated",
49884
- "space.device_membership_changed"
50233
+ "space.device_membership_changed",
50234
+ "space.created",
50235
+ "space.deleted"
49885
50236
  ],
49886
50237
  type: "string"
49887
50238
  },
@@ -49981,7 +50332,9 @@ var openapi_default = {
49981
50332
  "device.name_changed",
49982
50333
  "enrollment_automation.deleted",
49983
50334
  "phone.deactivated",
49984
- "space.device_membership_changed"
50335
+ "space.device_membership_changed",
50336
+ "space.created",
50337
+ "space.deleted"
49985
50338
  ],
49986
50339
  type: "string"
49987
50340
  },
@@ -56761,7 +57114,9 @@ var openapi_default = {
56761
57114
  "device.name_changed",
56762
57115
  "enrollment_automation.deleted",
56763
57116
  "phone.deactivated",
56764
- "space.device_membership_changed"
57117
+ "space.device_membership_changed",
57118
+ "space.created",
57119
+ "space.deleted"
56765
57120
  ],
56766
57121
  type: "string"
56767
57122
  }
@@ -56866,7 +57221,9 @@ var openapi_default = {
56866
57221
  "device.name_changed",
56867
57222
  "enrollment_automation.deleted",
56868
57223
  "phone.deactivated",
56869
- "space.device_membership_changed"
57224
+ "space.device_membership_changed",
57225
+ "space.created",
57226
+ "space.deleted"
56870
57227
  ],
56871
57228
  type: "string"
56872
57229
  },
@@ -57032,7 +57389,9 @@ var openapi_default = {
57032
57389
  "device.name_changed",
57033
57390
  "enrollment_automation.deleted",
57034
57391
  "phone.deactivated",
57035
- "space.device_membership_changed"
57392
+ "space.device_membership_changed",
57393
+ "space.created",
57394
+ "space.deleted"
57036
57395
  ],
57037
57396
  type: "string"
57038
57397
  },
@@ -57132,7 +57491,9 @@ var openapi_default = {
57132
57491
  "device.name_changed",
57133
57492
  "enrollment_automation.deleted",
57134
57493
  "phone.deactivated",
57135
- "space.device_membership_changed"
57494
+ "space.device_membership_changed",
57495
+ "space.created",
57496
+ "space.deleted"
57136
57497
  ],
57137
57498
  type: "string"
57138
57499
  },