@seamapi/types 1.44.1 → 1.45.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.
@@ -609,6 +609,7 @@ export interface Routes {
609
609
  acs_credential_id: string;
610
610
  acs_user_id?: string | undefined;
611
611
  acs_system_id: string;
612
+ display_name: string;
612
613
  code: string | null;
613
614
  external_type: 'pti_card' | 'brivo_credential';
614
615
  external_type_display_name: string;
@@ -642,6 +643,7 @@ export interface Routes {
642
643
  acs_credential_id: string;
643
644
  acs_user_id?: string | undefined;
644
645
  acs_system_id: string;
646
+ display_name: string;
645
647
  code: string | null;
646
648
  external_type: 'pti_card' | 'brivo_credential';
647
649
  external_type_display_name: string;
@@ -669,6 +671,7 @@ export interface Routes {
669
671
  acs_credential_id: string;
670
672
  acs_user_id?: string | undefined;
671
673
  acs_system_id: string;
674
+ display_name: string;
672
675
  code: string | null;
673
676
  external_type: 'pti_card' | 'brivo_credential';
674
677
  external_type_display_name: string;
@@ -5,6 +5,7 @@ export declare const acs_credential: z.ZodObject<{
5
5
  acs_credential_id: z.ZodString;
6
6
  acs_user_id: z.ZodOptional<z.ZodString>;
7
7
  acs_system_id: z.ZodString;
8
+ display_name: z.ZodString;
8
9
  code: z.ZodNullable<z.ZodString>;
9
10
  external_type: z.ZodEnum<["pti_card", "brivo_credential"]>;
10
11
  external_type_display_name: z.ZodString;
@@ -17,6 +18,7 @@ export declare const acs_credential: z.ZodObject<{
17
18
  acs_system_id: string;
18
19
  external_type: "pti_card" | "brivo_credential";
19
20
  external_type_display_name: string;
21
+ display_name: string;
20
22
  acs_credential_id: string;
21
23
  acs_user_id?: string | undefined;
22
24
  }, {
@@ -26,6 +28,7 @@ export declare const acs_credential: z.ZodObject<{
26
28
  acs_system_id: string;
27
29
  external_type: "pti_card" | "brivo_credential";
28
30
  external_type_display_name: string;
31
+ display_name: string;
29
32
  acs_credential_id: string;
30
33
  acs_user_id?: string | undefined;
31
34
  }>;
@@ -7,10 +7,10 @@ export const acs_credential = z.object({
7
7
  acs_credential_id: z.string().uuid(),
8
8
  acs_user_id: z.string().uuid().optional(),
9
9
  acs_system_id: z.string().uuid(),
10
+ display_name: z.string().nonempty(),
10
11
  code: z.string().nullable(),
11
12
  external_type: acs_credential_external_type,
12
13
  external_type_display_name: z.string(),
13
- // TODO: credential_type: z.enum([...]) we don't know what enum types we want yet
14
14
  created_at: z.string().datetime(),
15
15
  workspace_id: z.string().uuid(),
16
16
  });
@@ -1 +1 @@
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,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,IAAI,CAAC;IACjD,UAAU;IACV,kBAAkB;CACnB,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,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,aAAa,EAAE,4BAA4B;IAC3C,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE;IACtC,iFAAiF;IACjF,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAChC,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,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,IAAI,CAAC;IACjD,UAAU;IACV,kBAAkB;CACnB,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,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;IAC3B,aAAa,EAAE,4BAA4B;IAC3C,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE;IACtC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAChC,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.44.1",
3
+ "version": "1.45.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -3100,6 +3100,7 @@ export default {
3100
3100
  acs_user_id: { format: 'uuid', type: 'string' },
3101
3101
  code: { nullable: true, type: 'string' },
3102
3102
  created_at: { format: 'date-time', type: 'string' },
3103
+ display_name: { minLength: 1, type: 'string' },
3103
3104
  external_type: {
3104
3105
  enum: ['pti_card', 'brivo_credential'],
3105
3106
  type: 'string',
@@ -3110,6 +3111,7 @@ export default {
3110
3111
  required: [
3111
3112
  'acs_credential_id',
3112
3113
  'acs_system_id',
3114
+ 'display_name',
3113
3115
  'code',
3114
3116
  'external_type',
3115
3117
  'external_type_display_name',
@@ -3213,6 +3215,7 @@ export default {
3213
3215
  acs_user_id: { format: 'uuid', type: 'string' },
3214
3216
  code: { nullable: true, type: 'string' },
3215
3217
  created_at: { format: 'date-time', type: 'string' },
3218
+ display_name: { minLength: 1, type: 'string' },
3216
3219
  external_type: {
3217
3220
  enum: ['pti_card', 'brivo_credential'],
3218
3221
  type: 'string',
@@ -3223,6 +3226,7 @@ export default {
3223
3226
  required: [
3224
3227
  'acs_credential_id',
3225
3228
  'acs_system_id',
3229
+ 'display_name',
3226
3230
  'code',
3227
3231
  'external_type',
3228
3232
  'external_type_display_name',
@@ -3303,6 +3307,7 @@ export default {
3303
3307
  acs_user_id: { format: 'uuid', type: 'string' },
3304
3308
  code: { nullable: true, type: 'string' },
3305
3309
  created_at: { format: 'date-time', type: 'string' },
3310
+ display_name: { minLength: 1, type: 'string' },
3306
3311
  external_type: {
3307
3312
  enum: ['pti_card', 'brivo_credential'],
3308
3313
  type: 'string',
@@ -3313,6 +3318,7 @@ export default {
3313
3318
  required: [
3314
3319
  'acs_credential_id',
3315
3320
  'acs_system_id',
3321
+ 'display_name',
3316
3322
  'code',
3317
3323
  'external_type',
3318
3324
  'external_type_display_name',
@@ -637,6 +637,7 @@ export interface Routes {
637
637
  acs_credential_id: string
638
638
  acs_user_id?: string | undefined
639
639
  acs_system_id: string
640
+ display_name: string
640
641
  code: string | null
641
642
  external_type: 'pti_card' | 'brivo_credential'
642
643
  external_type_display_name: string
@@ -670,6 +671,7 @@ export interface Routes {
670
671
  acs_credential_id: string
671
672
  acs_user_id?: string | undefined
672
673
  acs_system_id: string
674
+ display_name: string
673
675
  code: string | null
674
676
  external_type: 'pti_card' | 'brivo_credential'
675
677
  external_type_display_name: string
@@ -700,6 +702,7 @@ export interface Routes {
700
702
  acs_credential_id: string
701
703
  acs_user_id?: string | undefined
702
704
  acs_system_id: string
705
+ display_name: string
703
706
  code: string | null
704
707
  external_type: 'pti_card' | 'brivo_credential'
705
708
  external_type_display_name: string
@@ -13,10 +13,10 @@ export const acs_credential = z.object({
13
13
  acs_credential_id: z.string().uuid(),
14
14
  acs_user_id: z.string().uuid().optional(),
15
15
  acs_system_id: z.string().uuid(),
16
+ display_name: z.string().nonempty(),
16
17
  code: z.string().nullable(),
17
18
  external_type: acs_credential_external_type,
18
19
  external_type_display_name: z.string(),
19
- // TODO: credential_type: z.enum([...]) we don't know what enum types we want yet
20
20
  created_at: z.string().datetime(),
21
21
  workspace_id: z.string().uuid(),
22
22
  })