@seamapi/types 1.162.0 → 1.163.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.
@@ -292,6 +292,10 @@ declare const _default: {
292
292
  };
293
293
  visionline_metadata: {
294
294
  properties: {
295
+ card_function_type: {
296
+ enum: string[];
297
+ type: string;
298
+ };
295
299
  common_acs_entrance_ids: {
296
300
  items: {
297
301
  format: string;
@@ -314,6 +318,7 @@ declare const _default: {
314
318
  type: string;
315
319
  };
316
320
  };
321
+ required: string[];
317
322
  type: string;
318
323
  };
319
324
  warnings: {
@@ -5845,7 +5850,13 @@ declare const _default: {
5845
5850
  enum: string[];
5846
5851
  type: string;
5847
5852
  };
5853
+ card_function_type: {
5854
+ default: string;
5855
+ enum: string[];
5856
+ type: string;
5857
+ };
5848
5858
  is_override_key: {
5859
+ description: string;
5849
5860
  type: string;
5850
5861
  };
5851
5862
  joiner_acs_credential_ids: {
@@ -5855,6 +5866,9 @@ declare const _default: {
5855
5866
  };
5856
5867
  type: string;
5857
5868
  };
5869
+ override: {
5870
+ type: string;
5871
+ };
5858
5872
  };
5859
5873
  type: string;
5860
5874
  };
@@ -16599,6 +16613,7 @@ interface Routes {
16599
16613
  }>;
16600
16614
  is_multi_phone_sync_credential?: boolean | undefined;
16601
16615
  visionline_metadata?: {
16616
+ card_function_type: 'guest' | 'staff';
16602
16617
  joiner_acs_credential_ids?: string[] | undefined;
16603
16618
  guest_acs_entrance_ids?: string[] | undefined;
16604
16619
  common_acs_entrance_ids?: string[] | undefined;
@@ -16621,7 +16636,14 @@ interface Routes {
16621
16636
  visionline_metadata?: {
16622
16637
  assa_abloy_credential_service_mobile_endpoint_id?: string | undefined;
16623
16638
  card_format?: ('TLCode' | 'rfid48') | undefined;
16639
+ card_function_type?: 'guest' | 'staff';
16640
+ /**
16641
+ ---
16642
+ deprecated: use override.
16643
+ ---
16644
+ */
16624
16645
  is_override_key?: boolean | undefined;
16646
+ override?: boolean | undefined;
16625
16647
  joiner_acs_credential_ids?: string[] | undefined;
16626
16648
  } | undefined;
16627
16649
  starts_at?: string | undefined;
@@ -16654,6 +16676,7 @@ interface Routes {
16654
16676
  }>;
16655
16677
  is_multi_phone_sync_credential?: boolean | undefined;
16656
16678
  visionline_metadata?: {
16679
+ card_function_type: 'guest' | 'staff';
16657
16680
  joiner_acs_credential_ids?: string[] | undefined;
16658
16681
  guest_acs_entrance_ids?: string[] | undefined;
16659
16682
  common_acs_entrance_ids?: string[] | undefined;
@@ -16707,6 +16730,7 @@ interface Routes {
16707
16730
  }>;
16708
16731
  is_multi_phone_sync_credential?: boolean | undefined;
16709
16732
  visionline_metadata?: {
16733
+ card_function_type: 'guest' | 'staff';
16710
16734
  joiner_acs_credential_ids?: string[] | undefined;
16711
16735
  guest_acs_entrance_ids?: string[] | undefined;
16712
16736
  common_acs_entrance_ids?: string[] | undefined;
@@ -16758,6 +16782,7 @@ interface Routes {
16758
16782
  }>;
16759
16783
  is_multi_phone_sync_credential?: boolean | undefined;
16760
16784
  visionline_metadata?: {
16785
+ card_function_type: 'guest' | 'staff';
16761
16786
  joiner_acs_credential_ids?: string[] | undefined;
16762
16787
  guest_acs_entrance_ids?: string[] | undefined;
16763
16788
  common_acs_entrance_ids?: string[] | undefined;
@@ -16801,6 +16826,7 @@ interface Routes {
16801
16826
  }>;
16802
16827
  is_multi_phone_sync_credential?: boolean | undefined;
16803
16828
  visionline_metadata?: {
16829
+ card_function_type: 'guest' | 'staff';
16804
16830
  joiner_acs_credential_ids?: string[] | undefined;
16805
16831
  guest_acs_entrance_ids?: string[] | undefined;
16806
16832
  common_acs_entrance_ids?: string[] | undefined;
@@ -16844,6 +16870,7 @@ interface Routes {
16844
16870
  }>;
16845
16871
  is_multi_phone_sync_credential?: boolean | undefined;
16846
16872
  visionline_metadata?: {
16873
+ card_function_type: 'guest' | 'staff';
16847
16874
  joiner_acs_credential_ids?: string[] | undefined;
16848
16875
  guest_acs_entrance_ids?: string[] | undefined;
16849
16876
  common_acs_entrance_ids?: string[] | undefined;
@@ -16964,6 +16991,7 @@ interface Routes {
16964
16991
  }>;
16965
16992
  is_multi_phone_sync_credential?: boolean | undefined;
16966
16993
  visionline_metadata?: {
16994
+ card_function_type: 'guest' | 'staff';
16967
16995
  joiner_acs_credential_ids?: string[] | undefined;
16968
16996
  guest_acs_entrance_ids?: string[] | undefined;
16969
16997
  common_acs_entrance_ids?: string[] | undefined;
@@ -3,14 +3,17 @@ export declare const acs_credential_external_type: z.ZodEnum<["pti_card", "brivo
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
5
  export declare const acs_credential_visionline_metadata: z.ZodObject<{
6
+ card_function_type: z.ZodEnum<["guest", "staff"]>;
6
7
  joiner_acs_credential_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7
8
  guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8
9
  common_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
9
10
  }, "strip", z.ZodTypeAny, {
11
+ card_function_type: "guest" | "staff";
10
12
  joiner_acs_credential_ids?: string[] | undefined;
11
13
  guest_acs_entrance_ids?: string[] | undefined;
12
14
  common_acs_entrance_ids?: string[] | undefined;
13
15
  }, {
16
+ card_function_type: "guest" | "staff";
14
17
  joiner_acs_credential_ids?: string[] | undefined;
15
18
  guest_acs_entrance_ids?: string[] | undefined;
16
19
  common_acs_entrance_ids?: string[] | undefined;
@@ -53,14 +56,17 @@ export declare const acs_credential: z.ZodObject<{
53
56
  }>, "many">;
54
57
  is_multi_phone_sync_credential: z.ZodOptional<z.ZodBoolean>;
55
58
  visionline_metadata: z.ZodOptional<z.ZodObject<{
59
+ card_function_type: z.ZodEnum<["guest", "staff"]>;
56
60
  joiner_acs_credential_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
57
61
  guest_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
58
62
  common_acs_entrance_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
59
63
  }, "strip", z.ZodTypeAny, {
64
+ card_function_type: "guest" | "staff";
60
65
  joiner_acs_credential_ids?: string[] | undefined;
61
66
  guest_acs_entrance_ids?: string[] | undefined;
62
67
  common_acs_entrance_ids?: string[] | undefined;
63
68
  }, {
69
+ card_function_type: "guest" | "staff";
64
70
  joiner_acs_credential_ids?: string[] | undefined;
65
71
  guest_acs_entrance_ids?: string[] | undefined;
66
72
  common_acs_entrance_ids?: string[] | undefined;
@@ -90,6 +96,7 @@ export declare const acs_credential: z.ZodObject<{
90
96
  ends_at?: string | undefined;
91
97
  is_multi_phone_sync_credential?: boolean | undefined;
92
98
  visionline_metadata?: {
99
+ card_function_type: "guest" | "staff";
93
100
  joiner_acs_credential_ids?: string[] | undefined;
94
101
  guest_acs_entrance_ids?: string[] | undefined;
95
102
  common_acs_entrance_ids?: string[] | undefined;
@@ -119,6 +126,7 @@ export declare const acs_credential: z.ZodObject<{
119
126
  ends_at?: string | undefined;
120
127
  is_multi_phone_sync_credential?: boolean | undefined;
121
128
  visionline_metadata?: {
129
+ card_function_type: "guest" | "staff";
122
130
  joiner_acs_credential_ids?: string[] | undefined;
123
131
  guest_acs_entrance_ids?: string[] | undefined;
124
132
  common_acs_entrance_ids?: string[] | undefined;
@@ -12,6 +12,7 @@ export const acs_credential_access_method_type = z.enum([
12
12
  'mobile_key',
13
13
  ]);
14
14
  export const acs_credential_visionline_metadata = z.object({
15
+ card_function_type: z.enum(['guest', 'staff']),
15
16
  joiner_acs_credential_ids: z.array(z.string().uuid()).optional(),
16
17
  guest_acs_entrance_ids: z.array(z.string().uuid()).optional(),
17
18
  common_acs_entrance_ids: z.array(z.string().uuid()).optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"credential.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/credential.ts"],"names":[],"mappings":"AAAA,OAAO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D,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,MAAM,EAAE,CAAC,CAAC,KAAK,CACb,CAAC,CAAC,MAAM,CAAC;QACP,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;QACtB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;KACpB,CAAC,CACH;IACD,QAAQ,EAAE,CAAC,CAAC,KAAK,CACf,CAAC,CAAC,MAAM,CAAC;QACP,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;QACxB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;KACpB,CAAC,CACH;IACD,8BAA8B,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACtD,mBAAmB,EAAE,kCAAkC,CAAC,QAAQ,EAAE;CACnE,CAAC,CAAA"}
@@ -51,14 +51,14 @@ export declare const acs_entrance: z.ZodObject<{
51
51
  }>, "many">>;
52
52
  }, "strip", z.ZodTypeAny, {
53
53
  door_name: string;
54
- door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
54
+ door_category: "guest" | "entrance" | "elevator reader" | "common" | "common (PMS)";
55
55
  profiles?: {
56
56
  visionline_door_profile_id: string;
57
57
  visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
58
58
  }[] | undefined;
59
59
  }, {
60
60
  door_name: string;
61
- door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
61
+ door_category: "guest" | "entrance" | "elevator reader" | "common" | "common (PMS)";
62
62
  profiles?: {
63
63
  visionline_door_profile_id: string;
64
64
  visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
@@ -70,7 +70,7 @@ export declare const acs_entrance: z.ZodObject<{
70
70
  display_name: string;
71
71
  visionline_metadata: {
72
72
  door_name: string;
73
- door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
73
+ door_category: "guest" | "entrance" | "elevator reader" | "common" | "common (PMS)";
74
74
  profiles?: {
75
75
  visionline_door_profile_id: string;
76
76
  visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
@@ -89,7 +89,7 @@ export declare const acs_entrance: z.ZodObject<{
89
89
  display_name: string;
90
90
  visionline_metadata: {
91
91
  door_name: string;
92
- door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
92
+ door_category: "guest" | "entrance" | "elevator reader" | "common" | "common (PMS)";
93
93
  profiles?: {
94
94
  visionline_door_profile_id: string;
95
95
  visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
@@ -218,6 +218,10 @@ declare const _default: {
218
218
  };
219
219
  visionline_metadata: {
220
220
  properties: {
221
+ card_function_type: {
222
+ enum: string[];
223
+ type: string;
224
+ };
221
225
  common_acs_entrance_ids: {
222
226
  items: {
223
227
  format: string;
@@ -240,6 +244,7 @@ declare const _default: {
240
244
  type: string;
241
245
  };
242
246
  };
247
+ required: string[];
243
248
  type: string;
244
249
  };
245
250
  warnings: {
@@ -5771,7 +5776,13 @@ declare const _default: {
5771
5776
  enum: string[];
5772
5777
  type: string;
5773
5778
  };
5779
+ card_function_type: {
5780
+ default: string;
5781
+ enum: string[];
5782
+ type: string;
5783
+ };
5774
5784
  is_override_key: {
5785
+ description: string;
5775
5786
  type: string;
5776
5787
  };
5777
5788
  joiner_acs_credential_ids: {
@@ -5781,6 +5792,9 @@ declare const _default: {
5781
5792
  };
5782
5793
  type: string;
5783
5794
  };
5795
+ override: {
5796
+ type: string;
5797
+ };
5784
5798
  };
5785
5799
  type: string;
5786
5800
  };
@@ -205,6 +205,7 @@ export default {
205
205
  starts_at: { type: 'string' },
206
206
  visionline_metadata: {
207
207
  properties: {
208
+ card_function_type: { enum: ['guest', 'staff'], type: 'string' },
208
209
  common_acs_entrance_ids: {
209
210
  items: { format: 'uuid', type: 'string' },
210
211
  type: 'array',
@@ -218,6 +219,7 @@ export default {
218
219
  type: 'array',
219
220
  },
220
221
  },
222
+ required: ['card_function_type'],
221
223
  type: 'object',
222
224
  },
223
225
  warnings: {
@@ -4278,11 +4280,20 @@ export default {
4278
4280
  enum: ['TLCode', 'rfid48'],
4279
4281
  type: 'string',
4280
4282
  },
4281
- is_override_key: { type: 'boolean' },
4283
+ card_function_type: {
4284
+ default: 'guest',
4285
+ enum: ['guest', 'staff'],
4286
+ type: 'string',
4287
+ },
4288
+ is_override_key: {
4289
+ description: '\n ---\n deprecated: use override.\n ---\n ',
4290
+ type: 'boolean',
4291
+ },
4282
4292
  joiner_acs_credential_ids: {
4283
4293
  items: { format: 'uuid', type: 'string' },
4284
4294
  type: 'array',
4285
4295
  },
4296
+ override: { type: 'boolean' },
4286
4297
  },
4287
4298
  type: 'object',
4288
4299
  },