@seamapi/types 1.243.0 → 1.243.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.
@@ -2341,12 +2341,6 @@ export interface Routes {
2341
2341
  created_at: string;
2342
2342
  message: string;
2343
2343
  warning_code: 'being_deleted';
2344
- } | {
2345
- /** Date and time at which Seam created the error. */
2346
- created_at: string;
2347
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2348
- message: string;
2349
- warning_code: 'failed_to_update_on_acs_system';
2350
2344
  } | {
2351
2345
  created_at: string;
2352
2346
  message: string;
@@ -2369,19 +2363,19 @@ export interface Routes {
2369
2363
  created_at: string;
2370
2364
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2371
2365
  message: string;
2372
- warning_code: 'failed_to_create_on_acs_system';
2366
+ error_code: 'failed_to_create_on_acs_system';
2373
2367
  } | {
2374
2368
  /** Date and time at which Seam created the error. */
2375
2369
  created_at: string;
2376
2370
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2377
2371
  message: string;
2378
- warning_code: 'failed_to_update_on_acs_system';
2372
+ error_code: 'failed_to_update_on_acs_system';
2379
2373
  } | {
2380
2374
  /** Date and time at which Seam created the error. */
2381
2375
  created_at: string;
2382
2376
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2383
2377
  message: string;
2384
- warning_code: 'failed_to_delete_on_acs_system';
2378
+ error_code: 'failed_to_delete_on_acs_system';
2385
2379
  }>;
2386
2380
  full_name?: string | undefined;
2387
2381
  /**
@@ -3474,12 +3468,6 @@ export interface Routes {
3474
3468
  created_at: string;
3475
3469
  message: string;
3476
3470
  warning_code: 'being_deleted';
3477
- } | {
3478
- /** Date and time at which Seam created the error. */
3479
- created_at: string;
3480
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3481
- message: string;
3482
- warning_code: 'failed_to_update_on_acs_system';
3483
3471
  } | {
3484
3472
  created_at: string;
3485
3473
  message: string;
@@ -3502,19 +3490,19 @@ export interface Routes {
3502
3490
  created_at: string;
3503
3491
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3504
3492
  message: string;
3505
- warning_code: 'failed_to_create_on_acs_system';
3493
+ error_code: 'failed_to_create_on_acs_system';
3506
3494
  } | {
3507
3495
  /** Date and time at which Seam created the error. */
3508
3496
  created_at: string;
3509
3497
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3510
3498
  message: string;
3511
- warning_code: 'failed_to_update_on_acs_system';
3499
+ error_code: 'failed_to_update_on_acs_system';
3512
3500
  } | {
3513
3501
  /** Date and time at which Seam created the error. */
3514
3502
  created_at: string;
3515
3503
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3516
3504
  message: string;
3517
- warning_code: 'failed_to_delete_on_acs_system';
3505
+ error_code: 'failed_to_delete_on_acs_system';
3518
3506
  }>;
3519
3507
  full_name?: string | undefined;
3520
3508
  /**
@@ -3571,12 +3559,6 @@ export interface Routes {
3571
3559
  created_at: string;
3572
3560
  message: string;
3573
3561
  warning_code: 'being_deleted';
3574
- } | {
3575
- /** Date and time at which Seam created the error. */
3576
- created_at: string;
3577
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3578
- message: string;
3579
- warning_code: 'failed_to_update_on_acs_system';
3580
3562
  } | {
3581
3563
  created_at: string;
3582
3564
  message: string;
@@ -3599,19 +3581,19 @@ export interface Routes {
3599
3581
  created_at: string;
3600
3582
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3601
3583
  message: string;
3602
- warning_code: 'failed_to_create_on_acs_system';
3584
+ error_code: 'failed_to_create_on_acs_system';
3603
3585
  } | {
3604
3586
  /** Date and time at which Seam created the error. */
3605
3587
  created_at: string;
3606
3588
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3607
3589
  message: string;
3608
- warning_code: 'failed_to_update_on_acs_system';
3590
+ error_code: 'failed_to_update_on_acs_system';
3609
3591
  } | {
3610
3592
  /** Date and time at which Seam created the error. */
3611
3593
  created_at: string;
3612
3594
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3613
3595
  message: string;
3614
- warning_code: 'failed_to_delete_on_acs_system';
3596
+ error_code: 'failed_to_delete_on_acs_system';
3615
3597
  }>;
3616
3598
  full_name?: string | undefined;
3617
3599
  /**
@@ -3662,12 +3644,6 @@ export interface Routes {
3662
3644
  created_at: string;
3663
3645
  message: string;
3664
3646
  warning_code: 'being_deleted';
3665
- } | {
3666
- /** Date and time at which Seam created the error. */
3667
- created_at: string;
3668
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3669
- message: string;
3670
- warning_code: 'failed_to_update_on_acs_system';
3671
3647
  } | {
3672
3648
  created_at: string;
3673
3649
  message: string;
@@ -3690,19 +3666,19 @@ export interface Routes {
3690
3666
  created_at: string;
3691
3667
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3692
3668
  message: string;
3693
- warning_code: 'failed_to_create_on_acs_system';
3669
+ error_code: 'failed_to_create_on_acs_system';
3694
3670
  } | {
3695
3671
  /** Date and time at which Seam created the error. */
3696
3672
  created_at: string;
3697
3673
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3698
3674
  message: string;
3699
- warning_code: 'failed_to_update_on_acs_system';
3675
+ error_code: 'failed_to_update_on_acs_system';
3700
3676
  } | {
3701
3677
  /** Date and time at which Seam created the error. */
3702
3678
  created_at: string;
3703
3679
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3704
3680
  message: string;
3705
- warning_code: 'failed_to_delete_on_acs_system';
3681
+ error_code: 'failed_to_delete_on_acs_system';
3706
3682
  }>;
3707
3683
  full_name?: string | undefined;
3708
3684
  /**
@@ -3818,12 +3794,6 @@ export interface Routes {
3818
3794
  created_at: string;
3819
3795
  message: string;
3820
3796
  warning_code: 'being_deleted';
3821
- } | {
3822
- /** Date and time at which Seam created the error. */
3823
- created_at: string;
3824
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3825
- message: string;
3826
- warning_code: 'failed_to_update_on_acs_system';
3827
3797
  } | {
3828
3798
  created_at: string;
3829
3799
  message: string;
@@ -3846,19 +3816,19 @@ export interface Routes {
3846
3816
  created_at: string;
3847
3817
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3848
3818
  message: string;
3849
- warning_code: 'failed_to_create_on_acs_system';
3819
+ error_code: 'failed_to_create_on_acs_system';
3850
3820
  } | {
3851
3821
  /** Date and time at which Seam created the error. */
3852
3822
  created_at: string;
3853
3823
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3854
3824
  message: string;
3855
- warning_code: 'failed_to_update_on_acs_system';
3825
+ error_code: 'failed_to_update_on_acs_system';
3856
3826
  } | {
3857
3827
  /** Date and time at which Seam created the error. */
3858
3828
  created_at: string;
3859
3829
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3860
3830
  message: string;
3861
- warning_code: 'failed_to_delete_on_acs_system';
3831
+ error_code: 'failed_to_delete_on_acs_system';
3862
3832
  }>;
3863
3833
  full_name?: string | undefined;
3864
3834
  /**
@@ -3908,12 +3878,6 @@ export interface Routes {
3908
3878
  created_at: string;
3909
3879
  message: string;
3910
3880
  warning_code: 'being_deleted';
3911
- } | {
3912
- /** Date and time at which Seam created the error. */
3913
- created_at: string;
3914
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3915
- message: string;
3916
- warning_code: 'failed_to_update_on_acs_system';
3917
3881
  } | {
3918
3882
  created_at: string;
3919
3883
  message: string;
@@ -3936,19 +3900,19 @@ export interface Routes {
3936
3900
  created_at: string;
3937
3901
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3938
3902
  message: string;
3939
- warning_code: 'failed_to_create_on_acs_system';
3903
+ error_code: 'failed_to_create_on_acs_system';
3940
3904
  } | {
3941
3905
  /** Date and time at which Seam created the error. */
3942
3906
  created_at: string;
3943
3907
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3944
3908
  message: string;
3945
- warning_code: 'failed_to_update_on_acs_system';
3909
+ error_code: 'failed_to_update_on_acs_system';
3946
3910
  } | {
3947
3911
  /** Date and time at which Seam created the error. */
3948
3912
  created_at: string;
3949
3913
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3950
3914
  message: string;
3951
- warning_code: 'failed_to_delete_on_acs_system';
3915
+ error_code: 'failed_to_delete_on_acs_system';
3952
3916
  }>;
3953
3917
  full_name?: string | undefined;
3954
3918
  /**
@@ -16121,12 +16085,6 @@ export interface Routes {
16121
16085
  created_at: string;
16122
16086
  message: string;
16123
16087
  warning_code: 'being_deleted';
16124
- } | {
16125
- /** Date and time at which Seam created the error. */
16126
- created_at: string;
16127
- /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
16128
- message: string;
16129
- warning_code: 'failed_to_update_on_acs_system';
16130
16088
  } | {
16131
16089
  created_at: string;
16132
16090
  message: string;
@@ -16149,19 +16107,19 @@ export interface Routes {
16149
16107
  created_at: string;
16150
16108
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
16151
16109
  message: string;
16152
- warning_code: 'failed_to_create_on_acs_system';
16110
+ error_code: 'failed_to_create_on_acs_system';
16153
16111
  } | {
16154
16112
  /** Date and time at which Seam created the error. */
16155
16113
  created_at: string;
16156
16114
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
16157
16115
  message: string;
16158
- warning_code: 'failed_to_update_on_acs_system';
16116
+ error_code: 'failed_to_update_on_acs_system';
16159
16117
  } | {
16160
16118
  /** Date and time at which Seam created the error. */
16161
16119
  created_at: string;
16162
16120
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
16163
16121
  message: string;
16164
- warning_code: 'failed_to_delete_on_acs_system';
16122
+ error_code: 'failed_to_delete_on_acs_system';
16165
16123
  }>;
16166
16124
  full_name?: string | undefined;
16167
16125
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.243.0",
3
+ "version": "1.243.1",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -43,7 +43,7 @@ const acs_users_salto_ks_subscription_limit_exceeded = common_acs_user_error
43
43
 
44
44
  const acs_users_failed_to_create_on_acs_system = common_acs_user_error
45
45
  .extend({
46
- warning_code: z.literal('failed_to_create_on_acs_system'),
46
+ error_code: z.literal('failed_to_create_on_acs_system'),
47
47
  })
48
48
  .describe(
49
49
  `Indicates that the user was not created on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.`,
@@ -51,7 +51,7 @@ const acs_users_failed_to_create_on_acs_system = common_acs_user_error
51
51
 
52
52
  const acs_users_failed_to_update_on_acs_system = common_acs_user_error
53
53
  .extend({
54
- warning_code: z.literal('failed_to_update_on_acs_system'),
54
+ error_code: z.literal('failed_to_update_on_acs_system'),
55
55
  })
56
56
  .describe(
57
57
  `Indicates that the user was not updated on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.`,
@@ -59,7 +59,7 @@ const acs_users_failed_to_update_on_acs_system = common_acs_user_error
59
59
 
60
60
  const acs_users_failed_to_delete_on_acs_system = common_acs_user_error
61
61
  .extend({
62
- warning_code: z.literal('failed_to_delete_on_acs_system'),
62
+ error_code: z.literal('failed_to_delete_on_acs_system'),
63
63
  })
64
64
  .describe(
65
65
  `Indicates that the user was not deleted on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.`,
@@ -121,11 +121,7 @@ export const acs_users_warning_map = z.object({
121
121
  })
122
122
 
123
123
  export const acs_users_warnings = z
124
- .union([
125
- acs_users_being_deleted,
126
- acs_users_failed_to_update_on_acs_system,
127
- acs_users_salto_ks_user_not_subscribed,
128
- ])
124
+ .union([acs_users_being_deleted, acs_users_salto_ks_user_not_subscribed])
129
125
  .describe('Warning associated with the `acs_user`.')
130
126
 
131
127
  export type AcsUsersWarningMap = z.infer<typeof acs_users_warning_map>
@@ -801,17 +801,17 @@ export default {
801
801
  format: 'date-time',
802
802
  type: 'string',
803
803
  },
804
+ error_code: {
805
+ enum: ['failed_to_create_on_acs_system'],
806
+ type: 'string',
807
+ },
804
808
  message: {
805
809
  description:
806
810
  'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
807
811
  type: 'string',
808
812
  },
809
- warning_code: {
810
- enum: ['failed_to_create_on_acs_system'],
811
- type: 'string',
812
- },
813
813
  },
814
- required: ['created_at', 'message', 'warning_code'],
814
+ required: ['created_at', 'message', 'error_code'],
815
815
  type: 'object',
816
816
  },
817
817
  {
@@ -824,17 +824,17 @@ export default {
824
824
  format: 'date-time',
825
825
  type: 'string',
826
826
  },
827
+ error_code: {
828
+ enum: ['failed_to_update_on_acs_system'],
829
+ type: 'string',
830
+ },
827
831
  message: {
828
832
  description:
829
833
  'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
830
834
  type: 'string',
831
835
  },
832
- warning_code: {
833
- enum: ['failed_to_update_on_acs_system'],
834
- type: 'string',
835
- },
836
836
  },
837
- required: ['created_at', 'message', 'warning_code'],
837
+ required: ['created_at', 'message', 'error_code'],
838
838
  type: 'object',
839
839
  },
840
840
  {
@@ -847,17 +847,17 @@ export default {
847
847
  format: 'date-time',
848
848
  type: 'string',
849
849
  },
850
+ error_code: {
851
+ enum: ['failed_to_delete_on_acs_system'],
852
+ type: 'string',
853
+ },
850
854
  message: {
851
855
  description:
852
856
  'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
853
857
  type: 'string',
854
858
  },
855
- warning_code: {
856
- enum: ['failed_to_delete_on_acs_system'],
857
- type: 'string',
858
- },
859
859
  },
860
- required: ['created_at', 'message', 'warning_code'],
860
+ required: ['created_at', 'message', 'error_code'],
861
861
  type: 'object',
862
862
  },
863
863
  ],
@@ -904,29 +904,6 @@ export default {
904
904
  required: ['created_at', 'message', 'warning_code'],
905
905
  type: 'object',
906
906
  },
907
- {
908
- description:
909
- "Indicates that the user was not updated on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
910
- properties: {
911
- created_at: {
912
- description:
913
- 'Date and time at which Seam created the error.',
914
- format: 'date-time',
915
- type: 'string',
916
- },
917
- message: {
918
- description:
919
- 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
920
- type: 'string',
921
- },
922
- warning_code: {
923
- enum: ['failed_to_update_on_acs_system'],
924
- type: 'string',
925
- },
926
- },
927
- required: ['created_at', 'message', 'warning_code'],
928
- type: 'object',
929
- },
930
907
  {
931
908
  description:
932
909
  'Indicates that the user is not subscribed on the Salto KS, so they cannot unlock doors or perform any actions. This occur when the their access schedule hasn’t started yet, or if their access schedule has ended, or if the site has reached its limit for active users (subscription slots), or if they have been manually unsubscribed.',
@@ -8093,20 +8070,20 @@ export default {
8093
8070
  format: 'date-time',
8094
8071
  type: 'string',
8095
8072
  },
8073
+ error_code: {
8074
+ enum: ['failed_to_create_on_acs_system'],
8075
+ type: 'string',
8076
+ },
8096
8077
  message: {
8097
8078
  description:
8098
8079
  'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8099
8080
  type: 'string',
8100
8081
  },
8101
- warning_code: {
8102
- enum: ['failed_to_create_on_acs_system'],
8103
- type: 'string',
8104
- },
8105
8082
  },
8106
8083
  required: [
8107
8084
  'created_at',
8108
8085
  'message',
8109
- 'warning_code',
8086
+ 'error_code',
8110
8087
  ],
8111
8088
  type: 'object',
8112
8089
  },
@@ -8120,20 +8097,20 @@ export default {
8120
8097
  format: 'date-time',
8121
8098
  type: 'string',
8122
8099
  },
8100
+ error_code: {
8101
+ enum: ['failed_to_update_on_acs_system'],
8102
+ type: 'string',
8103
+ },
8123
8104
  message: {
8124
8105
  description:
8125
8106
  'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8126
8107
  type: 'string',
8127
8108
  },
8128
- warning_code: {
8129
- enum: ['failed_to_update_on_acs_system'],
8130
- type: 'string',
8131
- },
8132
8109
  },
8133
8110
  required: [
8134
8111
  'created_at',
8135
8112
  'message',
8136
- 'warning_code',
8113
+ 'error_code',
8137
8114
  ],
8138
8115
  type: 'object',
8139
8116
  },
@@ -8147,20 +8124,20 @@ export default {
8147
8124
  format: 'date-time',
8148
8125
  type: 'string',
8149
8126
  },
8127
+ error_code: {
8128
+ enum: ['failed_to_delete_on_acs_system'],
8129
+ type: 'string',
8130
+ },
8150
8131
  message: {
8151
8132
  description:
8152
8133
  'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8153
8134
  type: 'string',
8154
8135
  },
8155
- warning_code: {
8156
- enum: ['failed_to_delete_on_acs_system'],
8157
- type: 'string',
8158
- },
8159
8136
  },
8160
8137
  required: [
8161
8138
  'created_at',
8162
8139
  'message',
8163
- 'warning_code',
8140
+ 'error_code',
8164
8141
  ],
8165
8142
  type: 'object',
8166
8143
  },
@@ -8230,33 +8207,6 @@ export default {
8230
8207
  ],
8231
8208
  type: 'object',
8232
8209
  },
8233
- {
8234
- description:
8235
- "Indicates that the user was not updated on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
8236
- properties: {
8237
- created_at: {
8238
- description:
8239
- 'Date and time at which Seam created the error.',
8240
- format: 'date-time',
8241
- type: 'string',
8242
- },
8243
- message: {
8244
- description:
8245
- 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8246
- type: 'string',
8247
- },
8248
- warning_code: {
8249
- enum: ['failed_to_update_on_acs_system'],
8250
- type: 'string',
8251
- },
8252
- },
8253
- required: [
8254
- 'created_at',
8255
- 'message',
8256
- 'warning_code',
8257
- ],
8258
- type: 'object',
8259
- },
8260
8210
  {
8261
8211
  description:
8262
8212
  'Indicates that the user is not subscribed on the Salto KS, so they cannot unlock doors or perform any actions. This occur when the their access schedule hasn’t started yet, or if their access schedule has ended, or if the site has reached its limit for active users (subscription slots), or if they have been manually unsubscribed.',
@@ -8434,20 +8384,20 @@ export default {
8434
8384
  format: 'date-time',
8435
8385
  type: 'string',
8436
8386
  },
8387
+ error_code: {
8388
+ enum: ['failed_to_create_on_acs_system'],
8389
+ type: 'string',
8390
+ },
8437
8391
  message: {
8438
8392
  description:
8439
8393
  'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8440
8394
  type: 'string',
8441
8395
  },
8442
- warning_code: {
8443
- enum: ['failed_to_create_on_acs_system'],
8444
- type: 'string',
8445
- },
8446
8396
  },
8447
8397
  required: [
8448
8398
  'created_at',
8449
8399
  'message',
8450
- 'warning_code',
8400
+ 'error_code',
8451
8401
  ],
8452
8402
  type: 'object',
8453
8403
  },
@@ -8461,20 +8411,20 @@ export default {
8461
8411
  format: 'date-time',
8462
8412
  type: 'string',
8463
8413
  },
8414
+ error_code: {
8415
+ enum: ['failed_to_update_on_acs_system'],
8416
+ type: 'string',
8417
+ },
8464
8418
  message: {
8465
8419
  description:
8466
8420
  'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8467
8421
  type: 'string',
8468
8422
  },
8469
- warning_code: {
8470
- enum: ['failed_to_update_on_acs_system'],
8471
- type: 'string',
8472
- },
8473
8423
  },
8474
8424
  required: [
8475
8425
  'created_at',
8476
8426
  'message',
8477
- 'warning_code',
8427
+ 'error_code',
8478
8428
  ],
8479
8429
  type: 'object',
8480
8430
  },
@@ -8488,20 +8438,20 @@ export default {
8488
8438
  format: 'date-time',
8489
8439
  type: 'string',
8490
8440
  },
8441
+ error_code: {
8442
+ enum: ['failed_to_delete_on_acs_system'],
8443
+ type: 'string',
8444
+ },
8491
8445
  message: {
8492
8446
  description:
8493
8447
  'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8494
8448
  type: 'string',
8495
8449
  },
8496
- warning_code: {
8497
- enum: ['failed_to_delete_on_acs_system'],
8498
- type: 'string',
8499
- },
8500
8450
  },
8501
8451
  required: [
8502
8452
  'created_at',
8503
8453
  'message',
8504
- 'warning_code',
8454
+ 'error_code',
8505
8455
  ],
8506
8456
  type: 'object',
8507
8457
  },
@@ -8571,33 +8521,6 @@ export default {
8571
8521
  ],
8572
8522
  type: 'object',
8573
8523
  },
8574
- {
8575
- description:
8576
- "Indicates that the user was not updated on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
8577
- properties: {
8578
- created_at: {
8579
- description:
8580
- 'Date and time at which Seam created the error.',
8581
- format: 'date-time',
8582
- type: 'string',
8583
- },
8584
- message: {
8585
- description:
8586
- 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8587
- type: 'string',
8588
- },
8589
- warning_code: {
8590
- enum: ['failed_to_update_on_acs_system'],
8591
- type: 'string',
8592
- },
8593
- },
8594
- required: [
8595
- 'created_at',
8596
- 'message',
8597
- 'warning_code',
8598
- ],
8599
- type: 'object',
8600
- },
8601
8524
  {
8602
8525
  description:
8603
8526
  'Indicates that the user is not subscribed on the Salto KS, so they cannot unlock doors or perform any actions. This occur when the their access schedule hasn’t started yet, or if their access schedule has ended, or if the site has reached its limit for active users (subscription slots), or if they have been manually unsubscribed.',