@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.
@@ -717,7 +717,7 @@ declare const _default: {
717
717
  errors: {
718
718
  items: {
719
719
  description: string;
720
- oneOf: ({
720
+ oneOf: {
721
721
  description: string;
722
722
  properties: {
723
723
  created_at: {
@@ -733,31 +733,10 @@ declare const _default: {
733
733
  description: string;
734
734
  type: string;
735
735
  };
736
- warning_code?: never;
737
- };
738
- required: string[];
739
- type: string;
740
- } | {
741
- description: string;
742
- properties: {
743
- created_at: {
744
- description: string;
745
- format: string;
746
- type: string;
747
- };
748
- message: {
749
- description: string;
750
- type: string;
751
- };
752
- warning_code: {
753
- enum: string[];
754
- type: string;
755
- };
756
- error_code?: never;
757
736
  };
758
737
  required: string[];
759
738
  type: string;
760
- })[];
739
+ }[];
761
740
  };
762
741
  type: string;
763
742
  };
@@ -810,35 +789,14 @@ declare const _default: {
810
789
  warnings: {
811
790
  items: {
812
791
  description: string;
813
- oneOf: ({
814
- description: string;
815
- properties: {
816
- created_at: {
817
- format: string;
818
- type: string;
819
- description?: never;
820
- };
821
- message: {
822
- type: string;
823
- description?: never;
824
- };
825
- warning_code: {
826
- enum: string[];
827
- type: string;
828
- };
829
- };
830
- required: string[];
831
- type: string;
832
- } | {
792
+ oneOf: {
833
793
  description: string;
834
794
  properties: {
835
795
  created_at: {
836
- description: string;
837
796
  format: string;
838
797
  type: string;
839
798
  };
840
799
  message: {
841
- description: string;
842
800
  type: string;
843
801
  };
844
802
  warning_code: {
@@ -848,7 +806,7 @@ declare const _default: {
848
806
  };
849
807
  required: string[];
850
808
  type: string;
851
- })[];
809
+ }[];
852
810
  };
853
811
  type: string;
854
812
  };
@@ -9042,7 +9000,7 @@ declare const _default: {
9042
9000
  errors: {
9043
9001
  items: {
9044
9002
  description: string;
9045
- oneOf: ({
9003
+ oneOf: {
9046
9004
  description: string;
9047
9005
  properties: {
9048
9006
  created_at: {
@@ -9058,31 +9016,10 @@ declare const _default: {
9058
9016
  description: string;
9059
9017
  type: string;
9060
9018
  };
9061
- warning_code?: never;
9062
- };
9063
- required: string[];
9064
- type: string;
9065
- } | {
9066
- description: string;
9067
- properties: {
9068
- created_at: {
9069
- description: string;
9070
- format: string;
9071
- type: string;
9072
- };
9073
- message: {
9074
- description: string;
9075
- type: string;
9076
- };
9077
- warning_code: {
9078
- enum: string[];
9079
- type: string;
9080
- };
9081
- error_code?: never;
9082
9019
  };
9083
9020
  required: string[];
9084
9021
  type: string;
9085
- })[];
9022
+ }[];
9086
9023
  };
9087
9024
  type: string;
9088
9025
  };
@@ -9135,35 +9072,14 @@ declare const _default: {
9135
9072
  warnings: {
9136
9073
  items: {
9137
9074
  description: string;
9138
- oneOf: ({
9139
- description: string;
9140
- properties: {
9141
- created_at: {
9142
- format: string;
9143
- type: string;
9144
- description?: never;
9145
- };
9146
- message: {
9147
- type: string;
9148
- description?: never;
9149
- };
9150
- warning_code: {
9151
- enum: string[];
9152
- type: string;
9153
- };
9154
- };
9155
- required: string[];
9156
- type: string;
9157
- } | {
9075
+ oneOf: {
9158
9076
  description: string;
9159
9077
  properties: {
9160
9078
  created_at: {
9161
- description: string;
9162
9079
  format: string;
9163
9080
  type: string;
9164
9081
  };
9165
9082
  message: {
9166
- description: string;
9167
9083
  type: string;
9168
9084
  };
9169
9085
  warning_code: {
@@ -9173,7 +9089,7 @@ declare const _default: {
9173
9089
  };
9174
9090
  required: string[];
9175
9091
  type: string;
9176
- })[];
9092
+ }[];
9177
9093
  };
9178
9094
  type: string;
9179
9095
  };
@@ -9296,7 +9212,7 @@ declare const _default: {
9296
9212
  errors: {
9297
9213
  items: {
9298
9214
  description: string;
9299
- oneOf: ({
9215
+ oneOf: {
9300
9216
  description: string;
9301
9217
  properties: {
9302
9218
  created_at: {
@@ -9312,31 +9228,10 @@ declare const _default: {
9312
9228
  description: string;
9313
9229
  type: string;
9314
9230
  };
9315
- warning_code?: never;
9316
9231
  };
9317
9232
  required: string[];
9318
9233
  type: string;
9319
- } | {
9320
- description: string;
9321
- properties: {
9322
- created_at: {
9323
- description: string;
9324
- format: string;
9325
- type: string;
9326
- };
9327
- message: {
9328
- description: string;
9329
- type: string;
9330
- };
9331
- warning_code: {
9332
- enum: string[];
9333
- type: string;
9334
- };
9335
- error_code?: never;
9336
- };
9337
- required: string[];
9338
- type: string;
9339
- })[];
9234
+ }[];
9340
9235
  };
9341
9236
  type: string;
9342
9237
  };
@@ -9389,36 +9284,15 @@ declare const _default: {
9389
9284
  warnings: {
9390
9285
  items: {
9391
9286
  description: string;
9392
- oneOf: ({
9287
+ oneOf: {
9393
9288
  description: string;
9394
9289
  properties: {
9395
9290
  created_at: {
9396
9291
  format: string;
9397
9292
  type: string;
9398
- description?: never;
9399
9293
  };
9400
9294
  message: {
9401
9295
  type: string;
9402
- description?: never;
9403
- };
9404
- warning_code: {
9405
- enum: string[];
9406
- type: string;
9407
- };
9408
- };
9409
- required: string[];
9410
- type: string;
9411
- } | {
9412
- description: string;
9413
- properties: {
9414
- created_at: {
9415
- description: string;
9416
- format: string;
9417
- type: string;
9418
- };
9419
- message: {
9420
- description: string;
9421
- type: string;
9422
9296
  };
9423
9297
  warning_code: {
9424
9298
  enum: string[];
@@ -9427,7 +9301,7 @@ declare const _default: {
9427
9301
  };
9428
9302
  required: string[];
9429
9303
  type: string;
9430
- })[];
9304
+ }[];
9431
9305
  };
9432
9306
  type: string;
9433
9307
  };
@@ -747,16 +747,16 @@ export default {
747
747
  format: 'date-time',
748
748
  type: 'string',
749
749
  },
750
- message: {
751
- description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
750
+ error_code: {
751
+ enum: ['failed_to_create_on_acs_system'],
752
752
  type: 'string',
753
753
  },
754
- warning_code: {
755
- enum: ['failed_to_create_on_acs_system'],
754
+ message: {
755
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
756
756
  type: 'string',
757
757
  },
758
758
  },
759
- required: ['created_at', 'message', 'warning_code'],
759
+ required: ['created_at', 'message', 'error_code'],
760
760
  type: 'object',
761
761
  },
762
762
  {
@@ -767,16 +767,16 @@ export default {
767
767
  format: 'date-time',
768
768
  type: 'string',
769
769
  },
770
- message: {
771
- description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
770
+ error_code: {
771
+ enum: ['failed_to_update_on_acs_system'],
772
772
  type: 'string',
773
773
  },
774
- warning_code: {
775
- enum: ['failed_to_update_on_acs_system'],
774
+ message: {
775
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
776
776
  type: 'string',
777
777
  },
778
778
  },
779
- required: ['created_at', 'message', 'warning_code'],
779
+ required: ['created_at', 'message', 'error_code'],
780
780
  type: 'object',
781
781
  },
782
782
  {
@@ -787,16 +787,16 @@ export default {
787
787
  format: 'date-time',
788
788
  type: 'string',
789
789
  },
790
- message: {
791
- description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
790
+ error_code: {
791
+ enum: ['failed_to_delete_on_acs_system'],
792
792
  type: 'string',
793
793
  },
794
- warning_code: {
795
- enum: ['failed_to_delete_on_acs_system'],
794
+ message: {
795
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
796
796
  type: 'string',
797
797
  },
798
798
  },
799
- required: ['created_at', 'message', 'warning_code'],
799
+ required: ['created_at', 'message', 'error_code'],
800
800
  type: 'object',
801
801
  },
802
802
  ],
@@ -842,26 +842,6 @@ export default {
842
842
  required: ['created_at', 'message', 'warning_code'],
843
843
  type: 'object',
844
844
  },
845
- {
846
- description: "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.",
847
- properties: {
848
- created_at: {
849
- description: 'Date and time at which Seam created the error.',
850
- format: 'date-time',
851
- type: 'string',
852
- },
853
- message: {
854
- description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
855
- type: 'string',
856
- },
857
- warning_code: {
858
- enum: ['failed_to_update_on_acs_system'],
859
- type: 'string',
860
- },
861
- },
862
- required: ['created_at', 'message', 'warning_code'],
863
- type: 'object',
864
- },
865
845
  {
866
846
  description: '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.',
867
847
  properties: {
@@ -7948,19 +7928,19 @@ export default {
7948
7928
  format: 'date-time',
7949
7929
  type: 'string',
7950
7930
  },
7951
- message: {
7952
- description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
7931
+ error_code: {
7932
+ enum: ['failed_to_create_on_acs_system'],
7953
7933
  type: 'string',
7954
7934
  },
7955
- warning_code: {
7956
- enum: ['failed_to_create_on_acs_system'],
7935
+ message: {
7936
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
7957
7937
  type: 'string',
7958
7938
  },
7959
7939
  },
7960
7940
  required: [
7961
7941
  'created_at',
7962
7942
  'message',
7963
- 'warning_code',
7943
+ 'error_code',
7964
7944
  ],
7965
7945
  type: 'object',
7966
7946
  },
@@ -7972,19 +7952,19 @@ export default {
7972
7952
  format: 'date-time',
7973
7953
  type: 'string',
7974
7954
  },
7975
- message: {
7976
- description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
7955
+ error_code: {
7956
+ enum: ['failed_to_update_on_acs_system'],
7977
7957
  type: 'string',
7978
7958
  },
7979
- warning_code: {
7980
- enum: ['failed_to_update_on_acs_system'],
7959
+ message: {
7960
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
7981
7961
  type: 'string',
7982
7962
  },
7983
7963
  },
7984
7964
  required: [
7985
7965
  'created_at',
7986
7966
  'message',
7987
- 'warning_code',
7967
+ 'error_code',
7988
7968
  ],
7989
7969
  type: 'object',
7990
7970
  },
@@ -7996,19 +7976,19 @@ export default {
7996
7976
  format: 'date-time',
7997
7977
  type: 'string',
7998
7978
  },
7999
- message: {
8000
- description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
7979
+ error_code: {
7980
+ enum: ['failed_to_delete_on_acs_system'],
8001
7981
  type: 'string',
8002
7982
  },
8003
- warning_code: {
8004
- enum: ['failed_to_delete_on_acs_system'],
7983
+ message: {
7984
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8005
7985
  type: 'string',
8006
7986
  },
8007
7987
  },
8008
7988
  required: [
8009
7989
  'created_at',
8010
7990
  'message',
8011
- 'warning_code',
7991
+ 'error_code',
8012
7992
  ],
8013
7993
  type: 'object',
8014
7994
  },
@@ -8076,30 +8056,6 @@ export default {
8076
8056
  ],
8077
8057
  type: 'object',
8078
8058
  },
8079
- {
8080
- description: "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.",
8081
- properties: {
8082
- created_at: {
8083
- description: 'Date and time at which Seam created the error.',
8084
- format: 'date-time',
8085
- type: 'string',
8086
- },
8087
- message: {
8088
- description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8089
- type: 'string',
8090
- },
8091
- warning_code: {
8092
- enum: ['failed_to_update_on_acs_system'],
8093
- type: 'string',
8094
- },
8095
- },
8096
- required: [
8097
- 'created_at',
8098
- 'message',
8099
- 'warning_code',
8100
- ],
8101
- type: 'object',
8102
- },
8103
8059
  {
8104
8060
  description: '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.',
8105
8061
  properties: {
@@ -8267,19 +8223,19 @@ export default {
8267
8223
  format: 'date-time',
8268
8224
  type: 'string',
8269
8225
  },
8270
- message: {
8271
- description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8226
+ error_code: {
8227
+ enum: ['failed_to_create_on_acs_system'],
8272
8228
  type: 'string',
8273
8229
  },
8274
- warning_code: {
8275
- enum: ['failed_to_create_on_acs_system'],
8230
+ message: {
8231
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8276
8232
  type: 'string',
8277
8233
  },
8278
8234
  },
8279
8235
  required: [
8280
8236
  'created_at',
8281
8237
  'message',
8282
- 'warning_code',
8238
+ 'error_code',
8283
8239
  ],
8284
8240
  type: 'object',
8285
8241
  },
@@ -8291,19 +8247,19 @@ export default {
8291
8247
  format: 'date-time',
8292
8248
  type: 'string',
8293
8249
  },
8294
- message: {
8295
- description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8250
+ error_code: {
8251
+ enum: ['failed_to_update_on_acs_system'],
8296
8252
  type: 'string',
8297
8253
  },
8298
- warning_code: {
8299
- enum: ['failed_to_update_on_acs_system'],
8254
+ message: {
8255
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8300
8256
  type: 'string',
8301
8257
  },
8302
8258
  },
8303
8259
  required: [
8304
8260
  'created_at',
8305
8261
  'message',
8306
- 'warning_code',
8262
+ 'error_code',
8307
8263
  ],
8308
8264
  type: 'object',
8309
8265
  },
@@ -8315,19 +8271,19 @@ export default {
8315
8271
  format: 'date-time',
8316
8272
  type: 'string',
8317
8273
  },
8318
- message: {
8319
- description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8274
+ error_code: {
8275
+ enum: ['failed_to_delete_on_acs_system'],
8320
8276
  type: 'string',
8321
8277
  },
8322
- warning_code: {
8323
- enum: ['failed_to_delete_on_acs_system'],
8278
+ message: {
8279
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8324
8280
  type: 'string',
8325
8281
  },
8326
8282
  },
8327
8283
  required: [
8328
8284
  'created_at',
8329
8285
  'message',
8330
- 'warning_code',
8286
+ 'error_code',
8331
8287
  ],
8332
8288
  type: 'object',
8333
8289
  },
@@ -8395,30 +8351,6 @@ export default {
8395
8351
  ],
8396
8352
  type: 'object',
8397
8353
  },
8398
- {
8399
- description: "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.",
8400
- properties: {
8401
- created_at: {
8402
- description: 'Date and time at which Seam created the error.',
8403
- format: 'date-time',
8404
- type: 'string',
8405
- },
8406
- message: {
8407
- description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
8408
- type: 'string',
8409
- },
8410
- warning_code: {
8411
- enum: ['failed_to_update_on_acs_system'],
8412
- type: 'string',
8413
- },
8414
- },
8415
- required: [
8416
- 'created_at',
8417
- 'message',
8418
- 'warning_code',
8419
- ],
8420
- type: 'object',
8421
- },
8422
8354
  {
8423
8355
  description: '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.',
8424
8356
  properties: {