@seamapi/types 1.236.0 → 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
  };
@@ -17372,6 +17465,9 @@ declare const _default: {
17372
17465
  format: string;
17373
17466
  type: string;
17374
17467
  };
17468
+ errors: {
17469
+ $ref: string;
17470
+ };
17375
17471
  external_type: {
17376
17472
  enum: string[];
17377
17473
  type: string;
@@ -17420,21 +17516,23 @@ declare const _default: {
17420
17516
  };
17421
17517
  warnings: {
17422
17518
  items: {
17423
- properties: {
17424
- created_at: {
17425
- format: string;
17426
- type: string;
17427
- };
17428
- message: {
17429
- type: string;
17430
- };
17431
- warning_code: {
17432
- enum: string[];
17433
- 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
+ };
17434
17532
  };
17435
- };
17436
- required: string[];
17437
- type: string;
17533
+ required: string[];
17534
+ type: string;
17535
+ }[];
17438
17536
  };
17439
17537
  type: string;
17440
17538
  };
@@ -17565,6 +17663,9 @@ declare const _default: {
17565
17663
  format: string;
17566
17664
  type: string;
17567
17665
  };
17666
+ errors: {
17667
+ $ref: string;
17668
+ };
17568
17669
  external_type: {
17569
17670
  enum: string[];
17570
17671
  type: string;
@@ -17613,21 +17714,23 @@ declare const _default: {
17613
17714
  };
17614
17715
  warnings: {
17615
17716
  items: {
17616
- properties: {
17617
- created_at: {
17618
- format: string;
17619
- type: string;
17620
- };
17621
- message: {
17622
- type: string;
17623
- };
17624
- warning_code: {
17625
- enum: string[];
17626
- 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
+ };
17627
17730
  };
17628
- };
17629
- required: string[];
17630
- type: string;
17731
+ required: string[];
17732
+ type: string;
17733
+ }[];
17631
17734
  };
17632
17735
  type: string;
17633
17736
  };
@@ -28375,7 +28478,16 @@ interface Routes {
28375
28478
  created_at: string;
28376
28479
  message: string;
28377
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';
28378
28489
  }>;
28490
+ errors?: any;
28379
28491
  full_name?: string | undefined;
28380
28492
  /**
28381
28493
  * @deprecated use email_address. */
@@ -29425,7 +29537,16 @@ interface Routes {
29425
29537
  created_at: string;
29426
29538
  message: string;
29427
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';
29428
29548
  }>;
29549
+ errors?: any;
29429
29550
  full_name?: string | undefined;
29430
29551
  /**
29431
29552
  * @deprecated use email_address. */
@@ -29481,7 +29602,16 @@ interface Routes {
29481
29602
  created_at: string;
29482
29603
  message: string;
29483
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';
29484
29613
  }>;
29614
+ errors?: any;
29485
29615
  full_name?: string | undefined;
29486
29616
  /**
29487
29617
  * @deprecated use email_address. */
@@ -29531,7 +29661,16 @@ interface Routes {
29531
29661
  created_at: string;
29532
29662
  message: string;
29533
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';
29534
29672
  }>;
29673
+ errors?: any;
29535
29674
  full_name?: string | undefined;
29536
29675
  /**
29537
29676
  * @deprecated use email_address. */
@@ -29646,7 +29785,16 @@ interface Routes {
29646
29785
  created_at: string;
29647
29786
  message: string;
29648
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';
29649
29796
  }>;
29797
+ errors?: any;
29650
29798
  full_name?: string | undefined;
29651
29799
  /**
29652
29800
  * @deprecated use email_address. */
@@ -29695,7 +29843,16 @@ interface Routes {
29695
29843
  created_at: string;
29696
29844
  message: string;
29697
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';
29698
29854
  }>;
29855
+ errors?: any;
29699
29856
  full_name?: string | undefined;
29700
29857
  /**
29701
29858
  * @deprecated use email_address. */
@@ -40677,7 +40834,16 @@ interface Routes {
40677
40834
  created_at: string;
40678
40835
  message: string;
40679
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';
40680
40845
  }>;
40846
+ errors?: any;
40681
40847
  full_name?: string | undefined;
40682
40848
  /**
40683
40849
  * @deprecated use email_address. */