@seamapi/types 1.96.1 → 1.97.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.
@@ -805,6 +805,9 @@ export interface Routes {
805
805
  starts_at?: string | undefined;
806
806
  ends_at?: string | undefined;
807
807
  is_multi_phone_sync_credential?: boolean | undefined;
808
+ visionline_metadata?: {
809
+ joiner_acs_credential_ids?: string[] | undefined;
810
+ } | undefined;
808
811
  };
809
812
  };
810
813
  };
@@ -823,6 +826,7 @@ export interface Routes {
823
826
  assa_abloy_credential_service_mobile_endpoint_id?: string | undefined;
824
827
  card_format?: ('TLCode' | 'rfid48') | undefined;
825
828
  is_override_key?: boolean | undefined;
829
+ joiner_acs_credential_ids?: string[] | undefined;
826
830
  } | undefined;
827
831
  starts_at?: string | undefined;
828
832
  ends_at?: string | undefined;
@@ -844,6 +848,9 @@ export interface Routes {
844
848
  starts_at?: string | undefined;
845
849
  ends_at?: string | undefined;
846
850
  is_multi_phone_sync_credential?: boolean | undefined;
851
+ visionline_metadata?: {
852
+ joiner_acs_credential_ids?: string[] | undefined;
853
+ } | undefined;
847
854
  };
848
855
  };
849
856
  };
@@ -883,6 +890,9 @@ export interface Routes {
883
890
  starts_at?: string | undefined;
884
891
  ends_at?: string | undefined;
885
892
  is_multi_phone_sync_credential?: boolean | undefined;
893
+ visionline_metadata?: {
894
+ joiner_acs_credential_ids?: string[] | undefined;
895
+ } | undefined;
886
896
  };
887
897
  };
888
898
  };
@@ -918,6 +928,9 @@ export interface Routes {
918
928
  starts_at?: string | undefined;
919
929
  ends_at?: string | undefined;
920
930
  is_multi_phone_sync_credential?: boolean | undefined;
931
+ visionline_metadata?: {
932
+ joiner_acs_credential_ids?: string[] | undefined;
933
+ } | undefined;
921
934
  }>;
922
935
  };
923
936
  };
@@ -947,6 +960,9 @@ export interface Routes {
947
960
  starts_at?: string | undefined;
948
961
  ends_at?: string | undefined;
949
962
  is_multi_phone_sync_credential?: boolean | undefined;
963
+ visionline_metadata?: {
964
+ joiner_acs_credential_ids?: string[] | undefined;
965
+ } | undefined;
950
966
  };
951
967
  };
952
968
  };
@@ -976,6 +992,9 @@ export interface Routes {
976
992
  starts_at?: string | undefined;
977
993
  ends_at?: string | undefined;
978
994
  is_multi_phone_sync_credential?: boolean | undefined;
995
+ visionline_metadata?: {
996
+ joiner_acs_credential_ids?: string[] | undefined;
997
+ } | undefined;
979
998
  };
980
999
  };
981
1000
  };
@@ -1068,6 +1087,9 @@ export interface Routes {
1068
1087
  starts_at?: string | undefined;
1069
1088
  ends_at?: string | undefined;
1070
1089
  is_multi_phone_sync_credential?: boolean | undefined;
1090
+ visionline_metadata?: {
1091
+ joiner_acs_credential_ids?: string[] | undefined;
1092
+ } | undefined;
1071
1093
  }>;
1072
1094
  };
1073
1095
  };
@@ -2,6 +2,14 @@ import { z } from 'zod';
2
2
  export declare const acs_credential_external_type: z.ZodEnum<["pti_card", "brivo_credential", "hid_credential", "visionline_card"]>;
3
3
  export declare const acs_credential_access_method_type: z.ZodEnum<["code", "card", "mobile_key"]>;
4
4
  export type AcsCredentialExternalType = z.infer<typeof acs_credential_external_type>;
5
+ export declare const acs_credential_visionline_metadata: z.ZodObject<{
6
+ joiner_acs_credential_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ joiner_acs_credential_ids?: string[] | undefined;
9
+ }, {
10
+ joiner_acs_credential_ids?: string[] | undefined;
11
+ }>;
12
+ export type AcsCredentialVisionlineMetadata = z.infer<typeof acs_credential_visionline_metadata>;
5
13
  export declare const acs_credential: z.ZodObject<{
6
14
  acs_credential_id: z.ZodString;
7
15
  acs_user_id: z.ZodOptional<z.ZodString>;
@@ -17,6 +25,13 @@ export declare const acs_credential: z.ZodObject<{
17
25
  starts_at: z.ZodOptional<z.ZodString>;
18
26
  ends_at: z.ZodOptional<z.ZodString>;
19
27
  is_multi_phone_sync_credential: z.ZodOptional<z.ZodBoolean>;
28
+ visionline_metadata: z.ZodOptional<z.ZodObject<{
29
+ joiner_acs_credential_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
30
+ }, "strip", z.ZodTypeAny, {
31
+ joiner_acs_credential_ids?: string[] | undefined;
32
+ }, {
33
+ joiner_acs_credential_ids?: string[] | undefined;
34
+ }>>;
20
35
  }, "strip", z.ZodTypeAny, {
21
36
  workspace_id: string;
22
37
  created_at: string;
@@ -32,6 +47,9 @@ export declare const acs_credential: z.ZodObject<{
32
47
  starts_at?: string | undefined;
33
48
  ends_at?: string | undefined;
34
49
  is_multi_phone_sync_credential?: boolean | undefined;
50
+ visionline_metadata?: {
51
+ joiner_acs_credential_ids?: string[] | undefined;
52
+ } | undefined;
35
53
  }, {
36
54
  workspace_id: string;
37
55
  created_at: string;
@@ -47,5 +65,8 @@ export declare const acs_credential: z.ZodObject<{
47
65
  starts_at?: string | undefined;
48
66
  ends_at?: string | undefined;
49
67
  is_multi_phone_sync_credential?: boolean | undefined;
68
+ visionline_metadata?: {
69
+ joiner_acs_credential_ids?: string[] | undefined;
70
+ } | undefined;
50
71
  }>;
51
72
  export type AcsCredential = z.output<typeof acs_credential>;
@@ -11,6 +11,9 @@ export const acs_credential_access_method_type = z.enum([
11
11
  'card',
12
12
  'mobile_key',
13
13
  ]);
14
+ export const acs_credential_visionline_metadata = z.object({
15
+ joiner_acs_credential_ids: z.array(z.string().uuid()).optional(),
16
+ });
14
17
  export const acs_credential = z.object({
15
18
  acs_credential_id: z.string().uuid(),
16
19
  acs_user_id: z.string().uuid().optional(),
@@ -26,5 +29,6 @@ export const acs_credential = z.object({
26
29
  starts_at: z.string().optional(),
27
30
  ends_at: z.string().optional(),
28
31
  is_multi_phone_sync_credential: z.boolean().optional(),
32
+ visionline_metadata: acs_credential_visionline_metadata.optional(),
29
33
  });
30
34
  //# sourceMappingURL=credential.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"credential.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/credential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OAAO,EAAE,CAAC,QAAQ,EAAE;CACvD,CAAC,CAAA"}
1
+ {"version":3,"file":"credential.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,wEAAwE;AACxE,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,IAAI,CAAC;IACjD,UAAU;IACV,kBAAkB;IAClB,gBAAgB;IAChB,iBAAiB;CAClB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,IAAI,CAAC;IACtD,MAAM;IACN,MAAM;IACN,YAAY;CACb,CAAC,CAAA;AAMF,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAAC,CAAC,MAAM,CAAC;IACzD,yBAAyB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE;CACjE,CAAC,CAAA;AAMF,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACpC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IACzC,sBAAsB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IACpD,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACtC,aAAa,EAAE,iCAAiC;IAChD,aAAa,EAAE,4BAA4B,CAAC,QAAQ,EAAE;IACtD,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,8BAA8B,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACtD,mBAAmB,EAAE,kCAAkC,CAAC,QAAQ,EAAE;CACnE,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.96.1",
3
+ "version": "1.97.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -3872,6 +3872,15 @@ export default {
3872
3872
  external_type_display_name: { type: 'string' },
3873
3873
  is_multi_phone_sync_credential: { type: 'boolean' },
3874
3874
  starts_at: { type: 'string' },
3875
+ visionline_metadata: {
3876
+ properties: {
3877
+ joiner_acs_credential_ids: {
3878
+ items: { format: 'uuid', type: 'string' },
3879
+ type: 'array',
3880
+ },
3881
+ },
3882
+ type: 'object',
3883
+ },
3875
3884
  workspace_id: { format: 'uuid', type: 'string' },
3876
3885
  },
3877
3886
  required: [
@@ -3956,6 +3965,15 @@ export default {
3956
3965
  external_type_display_name: { type: 'string' },
3957
3966
  is_multi_phone_sync_credential: { type: 'boolean' },
3958
3967
  starts_at: { type: 'string' },
3968
+ visionline_metadata: {
3969
+ properties: {
3970
+ joiner_acs_credential_ids: {
3971
+ items: { format: 'uuid', type: 'string' },
3972
+ type: 'array',
3973
+ },
3974
+ },
3975
+ type: 'object',
3976
+ },
3959
3977
  workspace_id: { format: 'uuid', type: 'string' },
3960
3978
  },
3961
3979
  required: [
@@ -4028,6 +4046,10 @@ export default {
4028
4046
  type: 'string',
4029
4047
  },
4030
4048
  is_override_key: { type: 'boolean' },
4049
+ joiner_acs_credential_ids: {
4050
+ items: { format: 'uuid', type: 'string' },
4051
+ type: 'array',
4052
+ },
4031
4053
  },
4032
4054
  type: 'object',
4033
4055
  },
@@ -4073,6 +4095,15 @@ export default {
4073
4095
  external_type_display_name: { type: 'string' },
4074
4096
  is_multi_phone_sync_credential: { type: 'boolean' },
4075
4097
  starts_at: { type: 'string' },
4098
+ visionline_metadata: {
4099
+ properties: {
4100
+ joiner_acs_credential_ids: {
4101
+ items: { format: 'uuid', type: 'string' },
4102
+ type: 'array',
4103
+ },
4104
+ },
4105
+ type: 'object',
4106
+ },
4076
4107
  workspace_id: { format: 'uuid', type: 'string' },
4077
4108
  },
4078
4109
  required: [
@@ -4202,6 +4233,15 @@ export default {
4202
4233
  external_type_display_name: { type: 'string' },
4203
4234
  is_multi_phone_sync_credential: { type: 'boolean' },
4204
4235
  starts_at: { type: 'string' },
4236
+ visionline_metadata: {
4237
+ properties: {
4238
+ joiner_acs_credential_ids: {
4239
+ items: { format: 'uuid', type: 'string' },
4240
+ type: 'array',
4241
+ },
4242
+ },
4243
+ type: 'object',
4244
+ },
4205
4245
  workspace_id: { format: 'uuid', type: 'string' },
4206
4246
  },
4207
4247
  required: [
@@ -4315,6 +4355,15 @@ export default {
4315
4355
  external_type_display_name: { type: 'string' },
4316
4356
  is_multi_phone_sync_credential: { type: 'boolean' },
4317
4357
  starts_at: { type: 'string' },
4358
+ visionline_metadata: {
4359
+ properties: {
4360
+ joiner_acs_credential_ids: {
4361
+ items: { format: 'uuid', type: 'string' },
4362
+ type: 'array',
4363
+ },
4364
+ },
4365
+ type: 'object',
4366
+ },
4318
4367
  workspace_id: { format: 'uuid', type: 'string' },
4319
4368
  },
4320
4369
  required: [
@@ -4405,6 +4454,15 @@ export default {
4405
4454
  external_type_display_name: { type: 'string' },
4406
4455
  is_multi_phone_sync_credential: { type: 'boolean' },
4407
4456
  starts_at: { type: 'string' },
4457
+ visionline_metadata: {
4458
+ properties: {
4459
+ joiner_acs_credential_ids: {
4460
+ items: { format: 'uuid', type: 'string' },
4461
+ type: 'array',
4462
+ },
4463
+ },
4464
+ type: 'object',
4465
+ },
4408
4466
  workspace_id: { format: 'uuid', type: 'string' },
4409
4467
  },
4410
4468
  required: [
@@ -4489,6 +4547,15 @@ export default {
4489
4547
  external_type_display_name: { type: 'string' },
4490
4548
  is_multi_phone_sync_credential: { type: 'boolean' },
4491
4549
  starts_at: { type: 'string' },
4550
+ visionline_metadata: {
4551
+ properties: {
4552
+ joiner_acs_credential_ids: {
4553
+ items: { format: 'uuid', type: 'string' },
4554
+ type: 'array',
4555
+ },
4556
+ },
4557
+ type: 'object',
4558
+ },
4492
4559
  workspace_id: { format: 'uuid', type: 'string' },
4493
4560
  },
4494
4561
  required: [
@@ -4576,6 +4643,15 @@ export default {
4576
4643
  external_type_display_name: { type: 'string' },
4577
4644
  is_multi_phone_sync_credential: { type: 'boolean' },
4578
4645
  starts_at: { type: 'string' },
4646
+ visionline_metadata: {
4647
+ properties: {
4648
+ joiner_acs_credential_ids: {
4649
+ items: { format: 'uuid', type: 'string' },
4650
+ type: 'array',
4651
+ },
4652
+ },
4653
+ type: 'object',
4654
+ },
4579
4655
  workspace_id: { format: 'uuid', type: 'string' },
4580
4656
  },
4581
4657
  required: [
@@ -4660,6 +4736,15 @@ export default {
4660
4736
  external_type_display_name: { type: 'string' },
4661
4737
  is_multi_phone_sync_credential: { type: 'boolean' },
4662
4738
  starts_at: { type: 'string' },
4739
+ visionline_metadata: {
4740
+ properties: {
4741
+ joiner_acs_credential_ids: {
4742
+ items: { format: 'uuid', type: 'string' },
4743
+ type: 'array',
4744
+ },
4745
+ },
4746
+ type: 'object',
4747
+ },
4663
4748
  workspace_id: { format: 'uuid', type: 'string' },
4664
4749
  },
4665
4750
  required: [
@@ -4980,6 +5065,15 @@ export default {
4980
5065
  external_type_display_name: { type: 'string' },
4981
5066
  is_multi_phone_sync_credential: { type: 'boolean' },
4982
5067
  starts_at: { type: 'string' },
5068
+ visionline_metadata: {
5069
+ properties: {
5070
+ joiner_acs_credential_ids: {
5071
+ items: { format: 'uuid', type: 'string' },
5072
+ type: 'array',
5073
+ },
5074
+ },
5075
+ type: 'object',
5076
+ },
4983
5077
  workspace_id: { format: 'uuid', type: 'string' },
4984
5078
  },
4985
5079
  required: [
@@ -849,6 +849,11 @@ export interface Routes {
849
849
  starts_at?: string | undefined
850
850
  ends_at?: string | undefined
851
851
  is_multi_phone_sync_credential?: boolean | undefined
852
+ visionline_metadata?:
853
+ | {
854
+ joiner_acs_credential_ids?: string[] | undefined
855
+ }
856
+ | undefined
852
857
  }
853
858
  }
854
859
  }
@@ -877,6 +882,7 @@ export interface Routes {
877
882
  | undefined
878
883
  card_format?: ('TLCode' | 'rfid48') | undefined
879
884
  is_override_key?: boolean | undefined
885
+ joiner_acs_credential_ids?: string[] | undefined
880
886
  }
881
887
  | undefined
882
888
  starts_at?: string | undefined
@@ -906,6 +912,11 @@ export interface Routes {
906
912
  starts_at?: string | undefined
907
913
  ends_at?: string | undefined
908
914
  is_multi_phone_sync_credential?: boolean | undefined
915
+ visionline_metadata?:
916
+ | {
917
+ joiner_acs_credential_ids?: string[] | undefined
918
+ }
919
+ | undefined
909
920
  }
910
921
  }
911
922
  }
@@ -952,6 +963,11 @@ export interface Routes {
952
963
  starts_at?: string | undefined
953
964
  ends_at?: string | undefined
954
965
  is_multi_phone_sync_credential?: boolean | undefined
966
+ visionline_metadata?:
967
+ | {
968
+ joiner_acs_credential_ids?: string[] | undefined
969
+ }
970
+ | undefined
955
971
  }
956
972
  }
957
973
  }
@@ -998,6 +1014,11 @@ export interface Routes {
998
1014
  starts_at?: string | undefined
999
1015
  ends_at?: string | undefined
1000
1016
  is_multi_phone_sync_credential?: boolean | undefined
1017
+ visionline_metadata?:
1018
+ | {
1019
+ joiner_acs_credential_ids?: string[] | undefined
1020
+ }
1021
+ | undefined
1001
1022
  }>
1002
1023
  }
1003
1024
  }
@@ -1034,6 +1055,11 @@ export interface Routes {
1034
1055
  starts_at?: string | undefined
1035
1056
  ends_at?: string | undefined
1036
1057
  is_multi_phone_sync_credential?: boolean | undefined
1058
+ visionline_metadata?:
1059
+ | {
1060
+ joiner_acs_credential_ids?: string[] | undefined
1061
+ }
1062
+ | undefined
1037
1063
  }
1038
1064
  }
1039
1065
  }
@@ -1070,6 +1096,11 @@ export interface Routes {
1070
1096
  starts_at?: string | undefined
1071
1097
  ends_at?: string | undefined
1072
1098
  is_multi_phone_sync_credential?: boolean | undefined
1099
+ visionline_metadata?:
1100
+ | {
1101
+ joiner_acs_credential_ids?: string[] | undefined
1102
+ }
1103
+ | undefined
1073
1104
  }
1074
1105
  }
1075
1106
  }
@@ -1173,6 +1204,11 @@ export interface Routes {
1173
1204
  starts_at?: string | undefined
1174
1205
  ends_at?: string | undefined
1175
1206
  is_multi_phone_sync_credential?: boolean | undefined
1207
+ visionline_metadata?:
1208
+ | {
1209
+ joiner_acs_credential_ids?: string[] | undefined
1210
+ }
1211
+ | undefined
1176
1212
  }>
1177
1213
  }
1178
1214
  }
@@ -18,6 +18,14 @@ export type AcsCredentialExternalType = z.infer<
18
18
  typeof acs_credential_external_type
19
19
  >
20
20
 
21
+ export const acs_credential_visionline_metadata = z.object({
22
+ joiner_acs_credential_ids: z.array(z.string().uuid()).optional(),
23
+ })
24
+
25
+ export type AcsCredentialVisionlineMetadata = z.infer<
26
+ typeof acs_credential_visionline_metadata
27
+ >
28
+
21
29
  export const acs_credential = z.object({
22
30
  acs_credential_id: z.string().uuid(),
23
31
  acs_user_id: z.string().uuid().optional(),
@@ -33,6 +41,7 @@ export const acs_credential = z.object({
33
41
  starts_at: z.string().optional(),
34
42
  ends_at: z.string().optional(),
35
43
  is_multi_phone_sync_credential: z.boolean().optional(),
44
+ visionline_metadata: acs_credential_visionline_metadata.optional(),
36
45
  })
37
46
 
38
47
  export type AcsCredential = z.output<typeof acs_credential>