@seamapi/types 1.241.0 → 1.242.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.
@@ -17,76 +17,78 @@ const common_acs_user_error = z.object({
17
17
  .string()
18
18
  .describe('Detailed description of the error. Provides insights into the issue and potentially how to rectify it.'),
19
19
  });
20
- const acs_users_user_deleted_externally = common_acs_user_error
20
+ const acs_users_deleted_externally = common_acs_user_error
21
21
  .extend({
22
- error_code: z.literal('user_deleted_externally'),
22
+ error_code: z.literal('deleted_externally'),
23
23
  })
24
- .describe(`Indicates that the user was deleted from the ACS system outside of Seam.`);
24
+ .describe(`Indicates that the ACS user was deleted from the ACS system outside of Seam.`);
25
25
  const acs_users_salto_ks_subscription_limit_exceeded = common_acs_user_error
26
26
  .extend({
27
27
  error_code: z.literal('salto_ks_subscription_limit_exceeded'),
28
28
  })
29
29
  .describe(`Indicates that the user could not be subscribed on Salto KS because the subscription limit has been exceeded.`);
30
- const acs_users_salto_site_user_limit_reached = common_acs_user_error.extend({
31
- error_code: z.literal('salto_site_user_limit_reached'),
32
- });
30
+ const acs_users_failed_to_create_on_acs_system = common_acs_user_error
31
+ .extend({
32
+ warning_code: z.literal('failed_to_create_on_acs_system'),
33
+ })
34
+ .describe(`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.`);
35
+ const acs_users_failed_to_update_on_acs_system = common_acs_user_error
36
+ .extend({
37
+ warning_code: z.literal('failed_to_update_on_acs_system'),
38
+ })
39
+ .describe(`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.`);
40
+ const acs_users_failed_to_delete_on_acs_system = common_acs_user_error
41
+ .extend({
42
+ warning_code: z.literal('failed_to_delete_on_acs_system'),
43
+ })
44
+ .describe(`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.`);
33
45
  const acs_user_errors = z
34
46
  .union([
35
- acs_users_user_deleted_externally,
47
+ acs_users_deleted_externally,
36
48
  acs_users_salto_ks_subscription_limit_exceeded,
37
- acs_users_salto_site_user_limit_reached,
49
+ acs_users_failed_to_create_on_acs_system,
50
+ acs_users_failed_to_update_on_acs_system,
51
+ acs_users_failed_to_delete_on_acs_system,
38
52
  ])
39
53
  .describe('Error associated with the `acs_user`.');
40
54
  export const acs_users_error_map = z.object({
41
- user_deleted_externally: acs_users_user_deleted_externally
55
+ deleted_externally: acs_users_deleted_externally.optional().nullable(),
56
+ salto_ks_subscription_limit_exceeded: acs_users_salto_ks_subscription_limit_exceeded.optional().nullable(),
57
+ failed_to_create_on_acs_system: acs_users_failed_to_create_on_acs_system
42
58
  .optional()
43
59
  .nullable(),
44
- salto_ks_subscription_limit_exceeded: acs_users_salto_ks_subscription_limit_exceeded.optional().nullable(),
45
- salto_site_user_limit_reached: acs_users_salto_site_user_limit_reached
60
+ failed_to_update_on_acs_system: acs_users_failed_to_update_on_acs_system
61
+ .optional()
62
+ .nullable(),
63
+ failed_to_delete_on_acs_system: acs_users_failed_to_delete_on_acs_system
46
64
  .optional()
47
65
  .nullable(),
48
66
  });
49
- const common_acs_users_warning = z.object({
67
+ const common_acs_user_warning = z.object({
50
68
  created_at: z.string().datetime(),
51
69
  message: z.string(),
52
70
  });
53
- const acs_users_being_deleted = common_acs_users_warning
71
+ const acs_users_being_deleted = common_acs_user_warning
54
72
  .extend({
55
73
  warning_code: z.literal('being_deleted'),
56
74
  })
57
75
  .describe(`Indicates that the user is being deleted from the ACS system. This is a temporary state, and the user will be deleted shortly.`);
58
- const acs_users_salto_ks_user_not_subscribed = common_acs_users_warning
76
+ const acs_users_salto_ks_user_not_subscribed = common_acs_user_warning
59
77
  .extend({
60
78
  warning_code: z.literal('salto_ks_user_not_subscribed'),
61
79
  })
62
80
  .describe(`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.`);
63
- const acs_users_failed_to_update_on_acs_system = common_acs_users_warning
64
- .extend({
65
- warning_code: z.literal('failed_to_update_on_acs_system'),
66
- })
67
- .describe(`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.`);
68
- // TODO: Some acs_users already have this warning, so we need to keep it here until we migrate
69
- const acs_users_salto_site_user_suspended = common_acs_users_warning.extend({
70
- warning_code: z.literal('salto_site_user_suspended'),
71
- });
72
81
  export const acs_users_warning_map = z.object({
73
82
  being_deleted: acs_users_being_deleted.optional().nullable(),
74
- failed_to_update_on_acs_system: acs_users_failed_to_update_on_acs_system
75
- .optional()
76
- .nullable(),
77
83
  salto_ks_user_not_subscribed: acs_users_salto_ks_user_not_subscribed
78
84
  .optional()
79
85
  .nullable(),
80
- salto_site_user_suspended: acs_users_salto_site_user_suspended
81
- .optional()
82
- .nullable(),
83
86
  });
84
87
  export const acs_users_warnings = z
85
88
  .union([
86
89
  acs_users_being_deleted,
87
90
  acs_users_failed_to_update_on_acs_system,
88
91
  acs_users_salto_ks_user_not_subscribed,
89
- acs_users_salto_site_user_suspended,
90
92
  ])
91
93
  .describe('Warning associated with the `acs_user`.');
92
94
  const user_fields = z.object({
@@ -1 +1 @@
1
- {"version":3,"file":"acs-user.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC3C,UAAU;IACV,YAAY;IACZ,6BAA6B;IAC7B,iBAAiB;IACjB,YAAY;CACb,CAAC,CAAA;AAIF,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,UAAU,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;IACrC,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC;CACjC,CAAC;KACD,KAAK,CAAC,WAAW,CAAC,CAAA;AAErB,MAAM,CAAC,MAAM,QAAQ,GAAG,eAAe,CAAC,KAAK,CAC3C,CAAC,CAAC,MAAM,CAAC;IACP,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;CAC5B,CAAC,CACH,CAAA;AAED,MAAM,CAAC,MAAM,kBAAkB,GAAG,eAAe,CAAC,KAAK,CACrD,CAAC,CAAC,MAAM,CAAC;IACP,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;CAC7B,CAAC,CACH,CAAA"}
@@ -733,28 +733,30 @@ declare const _default: {
733
733
  description: string;
734
734
  type: string;
735
735
  };
736
+ warning_code?: never;
736
737
  };
737
738
  required: string[];
738
739
  type: string;
739
740
  } | {
741
+ description: string;
740
742
  properties: {
741
743
  created_at: {
742
744
  description: string;
743
745
  format: string;
744
746
  type: string;
745
747
  };
746
- error_code: {
747
- enum: string[];
748
- type: string;
749
- };
750
748
  message: {
751
749
  description: string;
752
750
  type: string;
753
751
  };
752
+ warning_code: {
753
+ enum: string[];
754
+ type: string;
755
+ };
756
+ error_code?: never;
754
757
  };
755
758
  required: string[];
756
759
  type: string;
757
- description?: never;
758
760
  })[];
759
761
  };
760
762
  type: string;
@@ -814,9 +816,11 @@ declare const _default: {
814
816
  created_at: {
815
817
  format: string;
816
818
  type: string;
819
+ description?: never;
817
820
  };
818
821
  message: {
819
822
  type: string;
823
+ description?: never;
820
824
  };
821
825
  warning_code: {
822
826
  enum: string[];
@@ -826,12 +830,15 @@ declare const _default: {
826
830
  required: string[];
827
831
  type: string;
828
832
  } | {
833
+ description: string;
829
834
  properties: {
830
835
  created_at: {
836
+ description: string;
831
837
  format: string;
832
838
  type: string;
833
839
  };
834
840
  message: {
841
+ description: string;
835
842
  type: string;
836
843
  };
837
844
  warning_code: {
@@ -841,7 +848,6 @@ declare const _default: {
841
848
  };
842
849
  required: string[];
843
850
  type: string;
844
- description?: never;
845
851
  })[];
846
852
  };
847
853
  type: string;
@@ -9009,28 +9015,30 @@ declare const _default: {
9009
9015
  description: string;
9010
9016
  type: string;
9011
9017
  };
9018
+ warning_code?: never;
9012
9019
  };
9013
9020
  required: string[];
9014
9021
  type: string;
9015
9022
  } | {
9023
+ description: string;
9016
9024
  properties: {
9017
9025
  created_at: {
9018
9026
  description: string;
9019
9027
  format: string;
9020
9028
  type: string;
9021
9029
  };
9022
- error_code: {
9023
- enum: string[];
9024
- type: string;
9025
- };
9026
9030
  message: {
9027
9031
  description: string;
9028
9032
  type: string;
9029
9033
  };
9034
+ warning_code: {
9035
+ enum: string[];
9036
+ type: string;
9037
+ };
9038
+ error_code?: never;
9030
9039
  };
9031
9040
  required: string[];
9032
9041
  type: string;
9033
- description?: never;
9034
9042
  })[];
9035
9043
  };
9036
9044
  type: string;
@@ -9090,9 +9098,11 @@ declare const _default: {
9090
9098
  created_at: {
9091
9099
  format: string;
9092
9100
  type: string;
9101
+ description?: never;
9093
9102
  };
9094
9103
  message: {
9095
9104
  type: string;
9105
+ description?: never;
9096
9106
  };
9097
9107
  warning_code: {
9098
9108
  enum: string[];
@@ -9102,12 +9112,15 @@ declare const _default: {
9102
9112
  required: string[];
9103
9113
  type: string;
9104
9114
  } | {
9115
+ description: string;
9105
9116
  properties: {
9106
9117
  created_at: {
9118
+ description: string;
9107
9119
  format: string;
9108
9120
  type: string;
9109
9121
  };
9110
9122
  message: {
9123
+ description: string;
9111
9124
  type: string;
9112
9125
  };
9113
9126
  warning_code: {
@@ -9117,7 +9130,6 @@ declare const _default: {
9117
9130
  };
9118
9131
  required: string[];
9119
9132
  type: string;
9120
- description?: never;
9121
9133
  })[];
9122
9134
  };
9123
9135
  type: string;
@@ -9257,28 +9269,30 @@ declare const _default: {
9257
9269
  description: string;
9258
9270
  type: string;
9259
9271
  };
9272
+ warning_code?: never;
9260
9273
  };
9261
9274
  required: string[];
9262
9275
  type: string;
9263
9276
  } | {
9277
+ description: string;
9264
9278
  properties: {
9265
9279
  created_at: {
9266
9280
  description: string;
9267
9281
  format: string;
9268
9282
  type: string;
9269
9283
  };
9270
- error_code: {
9271
- enum: string[];
9272
- type: string;
9273
- };
9274
9284
  message: {
9275
9285
  description: string;
9276
9286
  type: string;
9277
9287
  };
9288
+ warning_code: {
9289
+ enum: string[];
9290
+ type: string;
9291
+ };
9292
+ error_code?: never;
9278
9293
  };
9279
9294
  required: string[];
9280
9295
  type: string;
9281
- description?: never;
9282
9296
  })[];
9283
9297
  };
9284
9298
  type: string;
@@ -9338,9 +9352,11 @@ declare const _default: {
9338
9352
  created_at: {
9339
9353
  format: string;
9340
9354
  type: string;
9355
+ description?: never;
9341
9356
  };
9342
9357
  message: {
9343
9358
  type: string;
9359
+ description?: never;
9344
9360
  };
9345
9361
  warning_code: {
9346
9362
  enum: string[];
@@ -9350,12 +9366,15 @@ declare const _default: {
9350
9366
  required: string[];
9351
9367
  type: string;
9352
9368
  } | {
9369
+ description: string;
9353
9370
  properties: {
9354
9371
  created_at: {
9372
+ description: string;
9355
9373
  format: string;
9356
9374
  type: string;
9357
9375
  };
9358
9376
  message: {
9377
+ description: string;
9359
9378
  type: string;
9360
9379
  };
9361
9380
  warning_code: {
@@ -9365,7 +9384,6 @@ declare const _default: {
9365
9384
  };
9366
9385
  required: string[];
9367
9386
  type: string;
9368
- description?: never;
9369
9387
  })[];
9370
9388
  };
9371
9389
  type: string;