@seamapi/types 1.235.1 → 1.237.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.
@@ -963,7 +963,7 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
963
963
  user_identity_phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
964
964
  latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodString>;
965
965
  is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodBoolean>;
966
- warnings: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
966
+ warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
967
967
  created_at: z.ZodString;
968
968
  message: z.ZodString;
969
969
  }, {
@@ -976,7 +976,34 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
976
976
  message: string;
977
977
  warning_code: "being_deleted";
978
978
  created_at: string;
979
- }>, "many">;
979
+ }>, z.ZodObject<z.objectUtil.extendShape<{
980
+ created_at: z.ZodString;
981
+ message: z.ZodString;
982
+ }, {
983
+ warning_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
984
+ }>, "strip", z.ZodTypeAny, {
985
+ message: string;
986
+ warning_code: "salto_ks_user_not_subscribed";
987
+ created_at: string;
988
+ }, {
989
+ message: string;
990
+ warning_code: "salto_ks_user_not_subscribed";
991
+ created_at: string;
992
+ }>, z.ZodObject<z.objectUtil.extendShape<{
993
+ created_at: z.ZodString;
994
+ message: z.ZodString;
995
+ }, {
996
+ warning_code: z.ZodLiteral<"salto_site_user_suspended">;
997
+ }>, "strip", z.ZodTypeAny, {
998
+ message: string;
999
+ warning_code: "salto_site_user_suspended";
1000
+ created_at: string;
1001
+ }, {
1002
+ message: string;
1003
+ warning_code: "salto_site_user_suspended";
1004
+ created_at: string;
1005
+ }>]>, "many">;
1006
+ errors: z.ZodAny;
980
1007
  }, {
981
1008
  full_name: z.ZodOptional<z.ZodString>;
982
1009
  email: z.ZodOptional<z.ZodString>;
@@ -986,11 +1013,19 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
986
1013
  is_managed: z.ZodLiteral<true>;
987
1014
  }>, "strip", z.ZodTypeAny, {
988
1015
  created_at: string;
989
- warnings: {
1016
+ warnings: ({
990
1017
  message: string;
991
1018
  warning_code: "being_deleted";
992
1019
  created_at: string;
993
- }[];
1020
+ } | {
1021
+ message: string;
1022
+ warning_code: "salto_ks_user_not_subscribed";
1023
+ created_at: string;
1024
+ } | {
1025
+ message: string;
1026
+ warning_code: "salto_site_user_suspended";
1027
+ created_at: string;
1028
+ })[];
994
1029
  display_name: string;
995
1030
  workspace_id: string;
996
1031
  is_managed: true;
@@ -998,6 +1033,7 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
998
1033
  acs_user_id: string;
999
1034
  is_suspended: boolean;
1000
1035
  email?: string | undefined;
1036
+ errors?: any;
1001
1037
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | undefined;
1002
1038
  external_type_display_name?: string | undefined;
1003
1039
  is_latest_desired_state_synced_with_provider?: boolean | undefined;
@@ -1016,11 +1052,19 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
1016
1052
  user_identity_phone_number?: string | null | undefined;
1017
1053
  }, {
1018
1054
  created_at: string;
1019
- warnings: {
1055
+ warnings: ({
1020
1056
  message: string;
1021
1057
  warning_code: "being_deleted";
1022
1058
  created_at: string;
1023
- }[];
1059
+ } | {
1060
+ message: string;
1061
+ warning_code: "salto_ks_user_not_subscribed";
1062
+ created_at: string;
1063
+ } | {
1064
+ message: string;
1065
+ warning_code: "salto_site_user_suspended";
1066
+ created_at: string;
1067
+ })[];
1024
1068
  display_name: string;
1025
1069
  workspace_id: string;
1026
1070
  is_managed: true;
@@ -1028,6 +1072,7 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
1028
1072
  acs_user_id: string;
1029
1073
  is_suspended: boolean;
1030
1074
  email?: string | undefined;
1075
+ errors?: any;
1031
1076
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | undefined;
1032
1077
  external_type_display_name?: string | undefined;
1033
1078
  is_latest_desired_state_synced_with_provider?: boolean | undefined;
@@ -1071,7 +1116,7 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
1071
1116
  user_identity_phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1072
1117
  latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodString>;
1073
1118
  is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodBoolean>;
1074
- warnings: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1119
+ warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1075
1120
  created_at: z.ZodString;
1076
1121
  message: z.ZodString;
1077
1122
  }, {
@@ -1084,7 +1129,34 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
1084
1129
  message: string;
1085
1130
  warning_code: "being_deleted";
1086
1131
  created_at: string;
1087
- }>, "many">;
1132
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1133
+ created_at: z.ZodString;
1134
+ message: z.ZodString;
1135
+ }, {
1136
+ warning_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
1137
+ }>, "strip", z.ZodTypeAny, {
1138
+ message: string;
1139
+ warning_code: "salto_ks_user_not_subscribed";
1140
+ created_at: string;
1141
+ }, {
1142
+ message: string;
1143
+ warning_code: "salto_ks_user_not_subscribed";
1144
+ created_at: string;
1145
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1146
+ created_at: z.ZodString;
1147
+ message: z.ZodString;
1148
+ }, {
1149
+ warning_code: z.ZodLiteral<"salto_site_user_suspended">;
1150
+ }>, "strip", z.ZodTypeAny, {
1151
+ message: string;
1152
+ warning_code: "salto_site_user_suspended";
1153
+ created_at: string;
1154
+ }, {
1155
+ message: string;
1156
+ warning_code: "salto_site_user_suspended";
1157
+ created_at: string;
1158
+ }>]>, "many">;
1159
+ errors: z.ZodAny;
1088
1160
  }, {
1089
1161
  full_name: z.ZodOptional<z.ZodString>;
1090
1162
  email: z.ZodOptional<z.ZodString>;
@@ -1094,11 +1166,19 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
1094
1166
  is_managed: z.ZodLiteral<false>;
1095
1167
  }>, "strip", z.ZodTypeAny, {
1096
1168
  created_at: string;
1097
- warnings: {
1169
+ warnings: ({
1098
1170
  message: string;
1099
1171
  warning_code: "being_deleted";
1100
1172
  created_at: string;
1101
- }[];
1173
+ } | {
1174
+ message: string;
1175
+ warning_code: "salto_ks_user_not_subscribed";
1176
+ created_at: string;
1177
+ } | {
1178
+ message: string;
1179
+ warning_code: "salto_site_user_suspended";
1180
+ created_at: string;
1181
+ })[];
1102
1182
  display_name: string;
1103
1183
  workspace_id: string;
1104
1184
  is_managed: false;
@@ -1106,6 +1186,7 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
1106
1186
  acs_user_id: string;
1107
1187
  is_suspended: boolean;
1108
1188
  email?: string | undefined;
1189
+ errors?: any;
1109
1190
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | undefined;
1110
1191
  external_type_display_name?: string | undefined;
1111
1192
  is_latest_desired_state_synced_with_provider?: boolean | undefined;
@@ -1124,11 +1205,19 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
1124
1205
  user_identity_phone_number?: string | null | undefined;
1125
1206
  }, {
1126
1207
  created_at: string;
1127
- warnings: {
1208
+ warnings: ({
1128
1209
  message: string;
1129
1210
  warning_code: "being_deleted";
1130
1211
  created_at: string;
1131
- }[];
1212
+ } | {
1213
+ message: string;
1214
+ warning_code: "salto_ks_user_not_subscribed";
1215
+ created_at: string;
1216
+ } | {
1217
+ message: string;
1218
+ warning_code: "salto_site_user_suspended";
1219
+ created_at: string;
1220
+ })[];
1132
1221
  display_name: string;
1133
1222
  workspace_id: string;
1134
1223
  is_managed: false;
@@ -1136,6 +1225,7 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
1136
1225
  acs_user_id: string;
1137
1226
  is_suspended: boolean;
1138
1227
  email?: string | undefined;
1228
+ errors?: any;
1139
1229
  external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | undefined;
1140
1230
  external_type_display_name?: string | undefined;
1141
1231
  is_latest_desired_state_synced_with_provider?: boolean | undefined;
@@ -9217,6 +9307,7 @@ declare const _default: {
9217
9307
  format: string;
9218
9308
  type: string;
9219
9309
  };
9310
+ errors: {};
9220
9311
  external_type: {
9221
9312
  enum: string[];
9222
9313
  type: string;
@@ -9265,21 +9356,23 @@ declare const _default: {
9265
9356
  };
9266
9357
  warnings: {
9267
9358
  items: {
9268
- properties: {
9269
- created_at: {
9270
- format: string;
9271
- type: string;
9272
- };
9273
- message: {
9274
- type: string;
9275
- };
9276
- warning_code: {
9277
- enum: string[];
9278
- type: string;
9359
+ oneOf: {
9360
+ properties: {
9361
+ created_at: {
9362
+ format: string;
9363
+ type: string;
9364
+ };
9365
+ message: {
9366
+ type: string;
9367
+ };
9368
+ warning_code: {
9369
+ enum: string[];
9370
+ type: string;
9371
+ };
9279
9372
  };
9280
- };
9281
- required: string[];
9282
- type: string;
9373
+ required: string[];
9374
+ type: string;
9375
+ }[];
9283
9376
  };
9284
9377
  type: string;
9285
9378
  };
@@ -12077,6 +12170,10 @@ declare const _default: {
12077
12170
  prefer_native_scheduling: {
12078
12171
  type: string;
12079
12172
  };
12173
+ preferred_code_length: {
12174
+ format: string;
12175
+ type: string;
12176
+ };
12080
12177
  starts_at: {
12081
12178
  type: string;
12082
12179
  };
@@ -13513,6 +13610,10 @@ declare const _default: {
13513
13610
  prefer_native_scheduling: {
13514
13611
  type: string;
13515
13612
  };
13613
+ preferred_code_length: {
13614
+ format: string;
13615
+ type: string;
13616
+ };
13516
13617
  starts_at: {
13517
13618
  type: string;
13518
13619
  };
@@ -13643,6 +13744,10 @@ declare const _default: {
13643
13744
  prefer_native_scheduling: {
13644
13745
  type: string;
13645
13746
  };
13747
+ preferred_code_length: {
13748
+ format: string;
13749
+ type: string;
13750
+ };
13646
13751
  starts_at: {
13647
13752
  type: string;
13648
13753
  };
@@ -13774,6 +13879,10 @@ declare const _default: {
13774
13879
  prefer_native_scheduling: {
13775
13880
  type: string;
13776
13881
  };
13882
+ preferred_code_length: {
13883
+ format: string;
13884
+ type: string;
13885
+ };
13777
13886
  starts_at: {
13778
13887
  type: string;
13779
13888
  };
@@ -17356,6 +17465,9 @@ declare const _default: {
17356
17465
  format: string;
17357
17466
  type: string;
17358
17467
  };
17468
+ errors: {
17469
+ $ref: string;
17470
+ };
17359
17471
  external_type: {
17360
17472
  enum: string[];
17361
17473
  type: string;
@@ -17404,21 +17516,23 @@ declare const _default: {
17404
17516
  };
17405
17517
  warnings: {
17406
17518
  items: {
17407
- properties: {
17408
- created_at: {
17409
- format: string;
17410
- type: string;
17411
- };
17412
- message: {
17413
- type: string;
17414
- };
17415
- warning_code: {
17416
- enum: string[];
17417
- type: string;
17519
+ oneOf: {
17520
+ properties: {
17521
+ created_at: {
17522
+ format: string;
17523
+ type: string;
17524
+ };
17525
+ message: {
17526
+ type: string;
17527
+ };
17528
+ warning_code: {
17529
+ enum: string[];
17530
+ type: string;
17531
+ };
17418
17532
  };
17419
- };
17420
- required: string[];
17421
- type: string;
17533
+ required: string[];
17534
+ type: string;
17535
+ }[];
17422
17536
  };
17423
17537
  type: string;
17424
17538
  };
@@ -17549,6 +17663,9 @@ declare const _default: {
17549
17663
  format: string;
17550
17664
  type: string;
17551
17665
  };
17666
+ errors: {
17667
+ $ref: string;
17668
+ };
17552
17669
  external_type: {
17553
17670
  enum: string[];
17554
17671
  type: string;
@@ -17597,21 +17714,23 @@ declare const _default: {
17597
17714
  };
17598
17715
  warnings: {
17599
17716
  items: {
17600
- properties: {
17601
- created_at: {
17602
- format: string;
17603
- type: string;
17717
+ oneOf: {
17718
+ properties: {
17719
+ created_at: {
17720
+ format: string;
17721
+ type: string;
17722
+ };
17723
+ message: {
17724
+ type: string;
17725
+ };
17726
+ warning_code: {
17727
+ enum: string[];
17728
+ type: string;
17729
+ };
17604
17730
  };
17605
- message: {
17606
- type: string;
17607
- };
17608
- warning_code: {
17609
- enum: string[];
17610
- type: string;
17611
- };
17612
- };
17613
- required: string[];
17614
- type: string;
17731
+ required: string[];
17732
+ type: string;
17733
+ }[];
17615
17734
  };
17616
17735
  type: string;
17617
17736
  };
@@ -26130,6 +26249,7 @@ interface Routes {
26130
26249
  use_backup_access_code_pool?: boolean | undefined;
26131
26250
  allow_external_modification?: boolean | undefined;
26132
26251
  is_external_modification_allowed?: boolean | undefined;
26252
+ preferred_code_length?: number | undefined;
26133
26253
  use_offline_access_code?: boolean | undefined;
26134
26254
  is_offline_access_code?: boolean | undefined;
26135
26255
  is_one_time_use?: boolean | undefined;
@@ -27841,6 +27961,7 @@ interface Routes {
27841
27961
  use_backup_access_code_pool?: boolean | undefined;
27842
27962
  allow_external_modification?: boolean | undefined;
27843
27963
  is_external_modification_allowed?: boolean | undefined;
27964
+ preferred_code_length?: number | undefined;
27844
27965
  use_offline_access_code?: boolean | undefined;
27845
27966
  is_offline_access_code?: boolean | undefined;
27846
27967
  is_one_time_use?: boolean | undefined;
@@ -28357,7 +28478,16 @@ interface Routes {
28357
28478
  created_at: string;
28358
28479
  message: string;
28359
28480
  warning_code: 'being_deleted';
28481
+ } | {
28482
+ created_at: string;
28483
+ message: string;
28484
+ warning_code: 'salto_ks_user_not_subscribed';
28485
+ } | {
28486
+ created_at: string;
28487
+ message: string;
28488
+ warning_code: 'salto_site_user_suspended';
28360
28489
  }>;
28490
+ errors?: any;
28361
28491
  full_name?: string | undefined;
28362
28492
  /**
28363
28493
  * @deprecated use email_address. */
@@ -29407,7 +29537,16 @@ interface Routes {
29407
29537
  created_at: string;
29408
29538
  message: string;
29409
29539
  warning_code: 'being_deleted';
29540
+ } | {
29541
+ created_at: string;
29542
+ message: string;
29543
+ warning_code: 'salto_ks_user_not_subscribed';
29544
+ } | {
29545
+ created_at: string;
29546
+ message: string;
29547
+ warning_code: 'salto_site_user_suspended';
29410
29548
  }>;
29549
+ errors?: any;
29411
29550
  full_name?: string | undefined;
29412
29551
  /**
29413
29552
  * @deprecated use email_address. */
@@ -29463,7 +29602,16 @@ interface Routes {
29463
29602
  created_at: string;
29464
29603
  message: string;
29465
29604
  warning_code: 'being_deleted';
29605
+ } | {
29606
+ created_at: string;
29607
+ message: string;
29608
+ warning_code: 'salto_ks_user_not_subscribed';
29609
+ } | {
29610
+ created_at: string;
29611
+ message: string;
29612
+ warning_code: 'salto_site_user_suspended';
29466
29613
  }>;
29614
+ errors?: any;
29467
29615
  full_name?: string | undefined;
29468
29616
  /**
29469
29617
  * @deprecated use email_address. */
@@ -29513,7 +29661,16 @@ interface Routes {
29513
29661
  created_at: string;
29514
29662
  message: string;
29515
29663
  warning_code: 'being_deleted';
29664
+ } | {
29665
+ created_at: string;
29666
+ message: string;
29667
+ warning_code: 'salto_ks_user_not_subscribed';
29668
+ } | {
29669
+ created_at: string;
29670
+ message: string;
29671
+ warning_code: 'salto_site_user_suspended';
29516
29672
  }>;
29673
+ errors?: any;
29517
29674
  full_name?: string | undefined;
29518
29675
  /**
29519
29676
  * @deprecated use email_address. */
@@ -29628,7 +29785,16 @@ interface Routes {
29628
29785
  created_at: string;
29629
29786
  message: string;
29630
29787
  warning_code: 'being_deleted';
29788
+ } | {
29789
+ created_at: string;
29790
+ message: string;
29791
+ warning_code: 'salto_ks_user_not_subscribed';
29792
+ } | {
29793
+ created_at: string;
29794
+ message: string;
29795
+ warning_code: 'salto_site_user_suspended';
29631
29796
  }>;
29797
+ errors?: any;
29632
29798
  full_name?: string | undefined;
29633
29799
  /**
29634
29800
  * @deprecated use email_address. */
@@ -29677,7 +29843,16 @@ interface Routes {
29677
29843
  created_at: string;
29678
29844
  message: string;
29679
29845
  warning_code: 'being_deleted';
29846
+ } | {
29847
+ created_at: string;
29848
+ message: string;
29849
+ warning_code: 'salto_ks_user_not_subscribed';
29850
+ } | {
29851
+ created_at: string;
29852
+ message: string;
29853
+ warning_code: 'salto_site_user_suspended';
29680
29854
  }>;
29855
+ errors?: any;
29681
29856
  full_name?: string | undefined;
29682
29857
  /**
29683
29858
  * @deprecated use email_address. */
@@ -40659,7 +40834,16 @@ interface Routes {
40659
40834
  created_at: string;
40660
40835
  message: string;
40661
40836
  warning_code: 'being_deleted';
40837
+ } | {
40838
+ created_at: string;
40839
+ message: string;
40840
+ warning_code: 'salto_ks_user_not_subscribed';
40841
+ } | {
40842
+ created_at: string;
40843
+ message: string;
40844
+ warning_code: 'salto_site_user_suspended';
40662
40845
  }>;
40846
+ errors?: any;
40663
40847
  full_name?: string | undefined;
40664
40848
  /**
40665
40849
  * @deprecated use email_address. */